278 |
|
|
279 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
280 |
# if CDPATH is set. |
# if CDPATH is set. |
281 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi |
282 |
|
|
283 |
if test -z "$ECHO"; then |
if test -z "$ECHO"; then |
284 |
if test "X${echo_test_string+set}" != Xset; then |
if test "X${echo_test_string+set}" != Xset; then |
463 |
# include <unistd.h> |
# include <unistd.h> |
464 |
#endif" |
#endif" |
465 |
|
|
466 |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE F77 FFLAGS ac_ct_F77 FLIBS CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP LIBTOOL HAS_DOXYFILE ROOT_INCLUDES ROOT_LDFLAGS ROOTCINT LOG4CXX_INCLUDES LOG4CXX_LDFLAGS LOG4CXX_LIBRARY LIBOBJS LTLIBOBJS' |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE F77 FFLAGS ac_ct_F77 FLIBS CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP LIBTOOL HAS_DOXYFILE ROOT_INCLUDES ROOT_LDFLAGS ROOTCINT LOG4CXX_INCLUDES LOG4CXX_LDFLAGS LOG4CXX_LIBRARY LIBOBJS LTLIBOBJS' |
467 |
ac_subst_files='' |
ac_subst_files='' |
468 |
|
|
469 |
# Initialize some variables set by options. |
# Initialize some variables set by options. |
1023 |
Optional Features: |
Optional Features: |
1024 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1025 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1026 |
--disable-dependency-tracking Speeds up one-time builds |
--disable-dependency-tracking speeds up one-time build |
1027 |
--enable-dependency-tracking Do not reject slow dependency extractors |
--enable-dependency-tracking do not reject slow dependency extractors |
1028 |
--enable-shared[=PKGS] |
--enable-shared[=PKGS] |
1029 |
build shared libraries [default=yes] |
build shared libraries [default=yes] |
1030 |
--enable-static[=PKGS] |
--enable-static[=PKGS] |
1498 |
|
|
1499 |
|
|
1500 |
|
|
1501 |
am__api_version="1.7" |
am__api_version="1.8" |
1502 |
ac_aux_dir= |
ac_aux_dir= |
1503 |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1504 |
if test -f $ac_dir/install-sh; then |
if test -f $ac_dir/install-sh; then |
1661 |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
1662 |
rm conftest.sed |
rm conftest.sed |
1663 |
|
|
|
|
|
1664 |
# expand $ac_aux_dir to an absolute path |
# expand $ac_aux_dir to an absolute path |
1665 |
am_aux_dir=`cd $ac_aux_dir && pwd` |
am_aux_dir=`cd $ac_aux_dir && pwd` |
1666 |
|
|
1674 |
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
1675 |
fi |
fi |
1676 |
|
|
1677 |
|
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
1678 |
|
# Keeping the `.' argument allows $(mkdir_p) to be used without |
1679 |
|
# argument. Indeed, we sometimes output rules like |
1680 |
|
# $(mkdir_p) $(somedir) |
1681 |
|
# where $(somedir) is conditionally defined. |
1682 |
|
# (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more |
1683 |
|
# expensive solution, as it forces Make to start a sub-shell.) |
1684 |
|
mkdir_p='mkdir -p -- .' |
1685 |
|
else |
1686 |
|
# On NextStep and OpenStep, the `mkdir' command does not |
1687 |
|
# recognize any option. It will interpret all options as |
1688 |
|
# directories to create, and then abort because `.' already |
1689 |
|
# exists. |
1690 |
|
for d in ./-p ./--version; |
1691 |
|
do |
1692 |
|
test -d $d && rmdir $d |
1693 |
|
done |
1694 |
|
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. |
1695 |
|
if test -f "$ac_aux_dir/mkinstalldirs"; then |
1696 |
|
mkdir_p='$(mkinstalldirs)' |
1697 |
|
else |
1698 |
|
mkdir_p='$(install_sh) -d' |
1699 |
|
fi |
1700 |
|
fi |
1701 |
|
|
1702 |
for ac_prog in gawk mawk nawk awk |
for ac_prog in gawk mawk nawk awk |
1703 |
do |
do |
1704 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1777 |
fi |
fi |
1778 |
rmdir .tst 2>/dev/null |
rmdir .tst 2>/dev/null |
1779 |
|
|
1780 |
# test to see if srcdir already configured |
# test to see if srcdir already configured |
1781 |
if test "`cd $srcdir && pwd`" != "`pwd`" && |
if test "`cd $srcdir && pwd`" != "`pwd`" && |
1782 |
test -f $srcdir/config.status; then |
test -f $srcdir/config.status; then |
1783 |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
3021 |
: > sub/conftest.c |
: > sub/conftest.c |
3022 |
for i in 1 2 3 4 5 6; do |
for i in 1 2 3 4 5 6; do |
3023 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
3024 |
: > sub/conftst$i.h |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
3025 |
|
# Solaris 8's {/usr,}/bin/sh. |
3026 |
|
touch sub/conftst$i.h |
3027 |
done |
done |
3028 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
3029 |
|
|
3051 |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
3052 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
3053 |
# icc doesn't choke on unknown options, it will just issue warnings |
# icc doesn't choke on unknown options, it will just issue warnings |
3054 |
# (even with -Werror). So we grep stderr for any message |
# or remarks (even with -Werror). So we grep stderr for any message |
3055 |
# that says an option was ignored. |
# that says an option was ignored or not supported. |
3056 |
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
3057 |
|
# icc: Command line warning: ignoring option '-M'; no argument required |
3058 |
|
# The diagnosis changed in icc 8.0: |
3059 |
|
# icc: Command line remark: option '-MP' not supported |
3060 |
|
if (grep 'ignoring option' conftest.err || |
3061 |
|
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
3062 |
am_cv_CC_dependencies_compiler_type=$depmode |
am_cv_CC_dependencies_compiler_type=$depmode |
3063 |
break |
break |
3064 |
fi |
fi |
3182 |
|
|
3183 |
|
|
3184 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
3185 |
echo "$as_me:3154:" \ |
echo "$as_me:3185:" \ |
3186 |
"checking for Fortran 77 compiler version" >&5 |
"checking for Fortran 77 compiler version" >&5 |
3187 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
3188 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
3379 |
# flags. |
# flags. |
3380 |
ac_save_FFLAGS=$FFLAGS |
ac_save_FFLAGS=$FFLAGS |
3381 |
FFLAGS="$FFLAGS $ac_verb" |
FFLAGS="$FFLAGS $ac_verb" |
3382 |
(eval echo $as_me:3351: \"$ac_link\") >&5 |
(eval echo $as_me:3382: \"$ac_link\") >&5 |
3383 |
ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
3384 |
echo "$ac_f77_v_output" >&5 |
echo "$ac_f77_v_output" >&5 |
3385 |
FFLAGS=$ac_save_FFLAGS |
FFLAGS=$ac_save_FFLAGS |
3457 |
# flags. |
# flags. |
3458 |
ac_save_FFLAGS=$FFLAGS |
ac_save_FFLAGS=$FFLAGS |
3459 |
FFLAGS="$FFLAGS $ac_cv_prog_f77_v" |
FFLAGS="$FFLAGS $ac_cv_prog_f77_v" |
3460 |
(eval echo $as_me:3429: \"$ac_link\") >&5 |
(eval echo $as_me:3460: \"$ac_link\") >&5 |
3461 |
ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
3462 |
echo "$ac_f77_v_output" >&5 |
echo "$ac_f77_v_output" >&5 |
3463 |
FFLAGS=$ac_save_FFLAGS |
FFLAGS=$ac_save_FFLAGS |
4027 |
: > sub/conftest.c |
: > sub/conftest.c |
4028 |
for i in 1 2 3 4 5 6; do |
for i in 1 2 3 4 5 6; do |
4029 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4030 |
: > sub/conftst$i.h |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
4031 |
|
# Solaris 8's {/usr,}/bin/sh. |
4032 |
|
touch sub/conftst$i.h |
4033 |
done |
done |
4034 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4035 |
|
|
4057 |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
4058 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
4059 |
# icc doesn't choke on unknown options, it will just issue warnings |
# icc doesn't choke on unknown options, it will just issue warnings |
4060 |
# (even with -Werror). So we grep stderr for any message |
# or remarks (even with -Werror). So we grep stderr for any message |
4061 |
# that says an option was ignored. |
# that says an option was ignored or not supported. |
4062 |
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
4063 |
|
# icc: Command line warning: ignoring option '-M'; no argument required |
4064 |
|
# The diagnosis changed in icc 8.0: |
4065 |
|
# icc: Command line remark: option '-MP' not supported |
4066 |
|
if (grep 'ignoring option' conftest.err || |
4067 |
|
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
4068 |
am_cv_CXX_dependencies_compiler_type=$depmode |
am_cv_CXX_dependencies_compiler_type=$depmode |
4069 |
break |
break |
4070 |
fi |
fi |
4192 |
# Add /usr/xpg4/bin/sed as it is typically found on Solaris |
# Add /usr/xpg4/bin/sed as it is typically found on Solaris |
4193 |
# along with /bin/sed that truncates output. |
# along with /bin/sed that truncates output. |
4194 |
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do |
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do |
4195 |
test ! -f $lt_ac_sed && continue |
test ! -f $lt_ac_sed && break |
4196 |
cat /dev/null > conftest.in |
cat /dev/null > conftest.in |
4197 |
lt_ac_count=0 |
lt_ac_count=0 |
4198 |
echo $ECHO_N "0123456789$ECHO_C" >conftest.in |
echo $ECHO_N "0123456789$ECHO_C" >conftest.in |
4217 |
fi |
fi |
4218 |
done |
done |
4219 |
done |
done |
4220 |
|
SED=$lt_cv_path_SED |
4221 |
|
|
4222 |
fi |
fi |
4223 |
|
|
|
SED=$lt_cv_path_SED |
|
4224 |
echo "$as_me:$LINENO: result: $SED" >&5 |
echo "$as_me:$LINENO: result: $SED" >&5 |
4225 |
echo "${ECHO_T}$SED" >&6 |
echo "${ECHO_T}$SED" >&6 |
4226 |
|
|
4361 |
*) reload_flag=" $reload_flag" ;; |
*) reload_flag=" $reload_flag" ;; |
4362 |
esac |
esac |
4363 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
case $host_os in |
|
|
darwin*) |
|
|
if test "$GCC" = yes; then |
|
|
reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs' |
|
|
else |
|
|
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
|
fi |
|
|
;; |
|
|
esac |
|
4364 |
|
|
4365 |
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
4366 |
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 |
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 |
4447 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
4448 |
;; |
;; |
4449 |
|
|
4450 |
bsdi[45]*) |
bsdi4*) |
4451 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
4452 |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
4453 |
lt_cv_file_magic_test_file=/shlib/libc.so |
lt_cv_file_magic_test_file=/shlib/libc.so |
4470 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
4471 |
;; |
;; |
4472 |
|
|
4473 |
freebsd* | kfreebsd*-gnu | dragonfly*) |
freebsd* | kfreebsd*-gnu) |
4474 |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
4475 |
case $host_cpu in |
case $host_cpu in |
4476 |
i*86 ) |
i*86 ) |
4477 |
# Not sure whether the presence of OpenBSD here was a mistake. |
# Not sure whether the presence of OpenBSD here was a mistake. |
4478 |
# Let's accept both of them until this is cleared up. |
# Let's accept both of them until this is cleared up. |
4479 |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' |
4480 |
lt_cv_file_magic_cmd=/usr/bin/file |
lt_cv_file_magic_cmd=/usr/bin/file |
4481 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
4482 |
;; |
;; |
4520 |
|
|
4521 |
# This must be Linux ELF. |
# This must be Linux ELF. |
4522 |
linux*) |
linux*) |
4523 |
|
case $host_cpu in |
4524 |
|
alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*) |
4525 |
|
lt_cv_deplibs_check_method=pass_all ;; |
4526 |
|
*) |
4527 |
|
# glibc up to 2.1.1 does not perform some relocations on ARM |
4528 |
|
# this will be overridden with pass_all, but let us keep it just in case |
4529 |
|
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; |
4530 |
|
esac |
4531 |
|
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` |
4532 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
4533 |
;; |
;; |
4534 |
|
|
4551 |
;; |
;; |
4552 |
|
|
4553 |
openbsd*) |
openbsd*) |
4554 |
|
lt_cv_file_magic_cmd=/usr/bin/file |
4555 |
|
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
4556 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
4557 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' |
4558 |
else |
else |
4559 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' |
4560 |
fi |
fi |
4561 |
;; |
;; |
4562 |
|
|
4649 |
;; |
;; |
4650 |
*-*-irix6*) |
*-*-irix6*) |
4651 |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
4652 |
echo '#line 4612 "configure"' > conftest.$ac_ext |
echo '#line 4652 "configure"' > conftest.$ac_ext |
4653 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4654 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
4655 |
ac_status=$? |
ac_status=$? |
4687 |
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) |
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) |
4688 |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
4689 |
echo 'int i;' > conftest.$ac_ext |
echo 'int i;' > conftest.$ac_ext |
4690 |
|
lt_cv_cc_lib64_suffix=no |
4691 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4692 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
4693 |
ac_status=$? |
ac_status=$? |
4694 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4695 |
(exit $ac_status); }; then |
(exit $ac_status); }; then |
4696 |
case "`/usr/bin/file conftest.o`" in |
case "`/usr/bin/file conftest.$ac_objext`" in |
4697 |
*32-bit*) |
*32-bit*) |
4698 |
case $host in |
case $host in |
4699 |
x86_64-*linux*) |
x86_64-*linux*) |
4714 |
case $host in |
case $host in |
4715 |
x86_64-*linux*) |
x86_64-*linux*) |
4716 |
LD="${LD-ld} -m elf_x86_64" |
LD="${LD-ld} -m elf_x86_64" |
4717 |
|
lt_cv_cc_lib64_suffix=yes |
4718 |
;; |
;; |
4719 |
ppc*-*linux*|powerpc*-*linux*) |
ppc*-*linux*|powerpc*-*linux*) |
4720 |
LD="${LD-ld} -m elf64ppc" |
LD="${LD-ld} -m elf64ppc" |
4721 |
|
lt_cv_cc_lib64_suffix=yes |
4722 |
;; |
;; |
4723 |
s390*-*linux*) |
s390*-*linux*) |
4724 |
LD="${LD-ld} -m elf64_s390" |
LD="${LD-ld} -m elf64_s390" |
4725 |
|
lt_cv_cc_lib64_suffix=yes |
4726 |
;; |
;; |
4727 |
sparc*-*linux*) |
sparc*-*linux*) |
4728 |
LD="${LD-ld} -m elf64_sparc" |
LD="${LD-ld} -m elf64_sparc" |
4729 |
|
lt_cv_cc_lib64_suffix=yes |
4730 |
;; |
;; |
4731 |
esac |
esac |
4732 |
;; |
;; |
5439 |
|
|
5440 |
done |
done |
5441 |
|
|
5442 |
|
ac_ext=cc |
|
|
|
|
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
|
|
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
|
|
(test "X$CXX" != "Xg++"))) ; then |
|
|
ac_ext=cc |
|
5443 |
ac_cpp='$CXXCPP $CPPFLAGS' |
ac_cpp='$CXXCPP $CPPFLAGS' |
5444 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5445 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5669 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5670 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5671 |
|
|
|
fi |
|
|
|
|
5672 |
|
|
5673 |
|
|
5674 |
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! |
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! |
5715 |
lt_cv_sys_max_cmd_len=8192; |
lt_cv_sys_max_cmd_len=8192; |
5716 |
;; |
;; |
5717 |
|
|
5718 |
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
*) |
|
# This has been around since 386BSD, at least. Likely further. |
|
|
if test -x /sbin/sysctl; then |
|
|
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
|
|
elif test -x /usr/sbin/sysctl; then |
|
|
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
|
|
else |
|
|
lt_cv_sys_max_cmd_len=65536 # usable default for *BSD |
|
|
fi |
|
|
# And add a safety zone |
|
|
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
|
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
|
;; |
|
|
osf*) |
|
|
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
|
|
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
|
|
# nice to cause kernel panics so lets avoid the loop below. |
|
|
# First set a reasonable default. |
|
|
lt_cv_sys_max_cmd_len=16384 |
|
|
# |
|
|
if test -x /sbin/sysconfig; then |
|
|
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
|
|
*1*) lt_cv_sys_max_cmd_len=-1 ;; |
|
|
esac |
|
|
fi |
|
|
;; |
|
|
*) |
|
5719 |
# If test is not a shell built-in, we'll probably end up computing a |
# If test is not a shell built-in, we'll probably end up computing a |
5720 |
# maximum length that is only half of the actual maximum length, but |
# maximum length that is only half of the actual maximum length, but |
5721 |
# we can't tell. |
# we can't tell. |
5722 |
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ |
|
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ |
|
5723 |
= "XX$teststring") >/dev/null 2>&1 && |
= "XX$teststring") >/dev/null 2>&1 && |
5724 |
new_result=`expr "X$teststring" : ".*" 2>&1` && |
new_result=`expr "X$teststring" : ".*" 2>&1` && |
5725 |
lt_cv_sys_max_cmd_len=$new_result && |
lt_cv_sys_max_cmd_len=$new_result && |
5765 |
# Regexp to match symbols that can be accessed directly from C. |
# Regexp to match symbols that can be accessed directly from C. |
5766 |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
5767 |
|
|
5768 |
|
# Transform the above into a raw symbol and a C symbol. |
5769 |
|
symxfrm='\1 \2\3 \3' |
5770 |
|
|
5771 |
# Transform an extracted symbol line into a proper C declaration |
# Transform an extracted symbol line into a proper C declaration |
5772 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" |
5773 |
|
|
5789 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
5790 |
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'" |
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'" |
5791 |
;; |
;; |
|
linux*) |
|
|
if test "$host_cpu" = ia64; then |
|
|
symcode='[ABCDGIRSTW]' |
|
|
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
|
|
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'" |
|
|
fi |
|
|
;; |
|
5792 |
irix* | nonstopux*) |
irix* | nonstopux*) |
5793 |
symcode='[BCDEGRST]' |
symcode='[BCDEGRST]' |
5794 |
;; |
;; |
5820 |
# Try without a prefix undercore, then with it. |
# Try without a prefix undercore, then with it. |
5821 |
for ac_symprfx in "" "_"; do |
for ac_symprfx in "" "_"; do |
5822 |
|
|
|
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
|
|
symxfrm="\\1 $ac_symprfx\\2 \\2" |
|
|
|
|
5823 |
# Write the raw and C identifiers. |
# Write the raw and C identifiers. |
5824 |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" |
5825 |
|
|
5826 |
# Check to see that the pipe works correctly. |
# Check to see that the pipe works correctly. |
5827 |
pipe_works=no |
pipe_works=no |
5983 |
|
|
5984 |
# Sed substitution that helps us do robust quoting. It backslashifies |
# Sed substitution that helps us do robust quoting. It backslashifies |
5985 |
# metacharacters that are still active within double-quoted strings. |
# metacharacters that are still active within double-quoted strings. |
5986 |
Xsed='sed -e 1s/^X//' |
Xsed='sed -e s/^X//' |
5987 |
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' |
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' |
5988 |
|
|
5989 |
# Same as above, but do not quote variable references. |
# Same as above, but do not quote variable references. |
6288 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
6289 |
fi |
fi |
6290 |
|
|
|
for cc_temp in $compiler""; do |
|
|
case $cc_temp in |
|
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
|
\-*) ;; |
|
|
*) break;; |
|
|
esac |
|
|
done |
|
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
|
|
|
|
|
|
6291 |
# Only perform the check for file, if the check method requires it |
# Only perform the check for file, if the check method requires it |
6292 |
case $deplibs_check_method in |
case $deplibs_check_method in |
6293 |
file_magic*) |
file_magic*) |
6474 |
compiler=$CC |
compiler=$CC |
6475 |
|
|
6476 |
|
|
|
# save warnings/boilerplate of simple test code |
|
|
ac_outfile=conftest.$ac_objext |
|
|
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
|
|
_lt_compiler_boilerplate=`cat conftest.err` |
|
|
$rm conftest* |
|
|
|
|
|
ac_outfile=conftest.$ac_objext |
|
|
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
|
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
|
|
_lt_linker_boilerplate=`cat conftest.err` |
|
|
$rm conftest* |
|
|
|
|
|
|
|
6477 |
# |
# |
6478 |
# Check for any special shared library compilation flags. |
# Check for any special shared library compilation flags. |
6479 |
# |
# |
6515 |
if test -s conftest.err; then |
if test -s conftest.err; then |
6516 |
# Append any errors to the config.log. |
# Append any errors to the config.log. |
6517 |
cat conftest.err 1>&5 |
cat conftest.err 1>&5 |
|
$echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp |
|
|
$SED '/^$/d' conftest.err >conftest.er2 |
|
|
if diff conftest.exp conftest.er2 >/dev/null; then |
|
|
lt_prog_compiler_static_works=yes |
|
|
fi |
|
6518 |
else |
else |
6519 |
lt_prog_compiler_static_works=yes |
lt_prog_compiler_static_works=yes |
6520 |
fi |
fi |
6559 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6560 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6561 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
6562 |
(eval echo "\"\$as_me:6588: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6562: $lt_compile\"" >&5) |
6563 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
6564 |
ac_status=$? |
ac_status=$? |
6565 |
cat conftest.err >&5 |
cat conftest.err >&5 |
6566 |
echo "$as_me:6592: \$? = $ac_status" >&5 |
echo "$as_me:6566: \$? = $ac_status" >&5 |
6567 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
6568 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
6569 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings |
6570 |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
if test ! -s conftest.err; then |
|
$SED '/^$/d' conftest.err >conftest.er2 |
|
|
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
|
6571 |
lt_cv_prog_compiler_rtti_exceptions=yes |
lt_cv_prog_compiler_rtti_exceptions=yes |
6572 |
fi |
fi |
6573 |
fi |
fi |
6670 |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
6671 |
fi |
fi |
6672 |
;; |
;; |
|
darwin*) |
|
|
# PIC is the default on this platform |
|
|
# Common symbols not allowed in MH_DYLIB files |
|
|
case $cc_basename in |
|
|
xlc*) |
|
|
lt_prog_compiler_pic='-qnocommon' |
|
|
lt_prog_compiler_wl='-Wl,' |
|
|
;; |
|
|
esac |
|
|
;; |
|
6673 |
|
|
6674 |
mingw* | pw32* | os2*) |
mingw* | pw32* | os2*) |
6675 |
# This hack is so that the source file can tell whether it is being |
# This hack is so that the source file can tell whether it is being |
6705 |
;; |
;; |
6706 |
|
|
6707 |
linux*) |
linux*) |
6708 |
case $cc_basename in |
case $CC in |
6709 |
icc* | ecc*) |
icc* | ecc*) |
6710 |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
6711 |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_pic='-KPIC' |
6712 |
lt_prog_compiler_static='-static' |
lt_prog_compiler_static='-static' |
6713 |
;; |
;; |
|
pgcc* | pgf77* | pgf90*) |
|
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
|
|
# which looks to be a dead project) |
|
|
lt_prog_compiler_wl='-Wl,' |
|
|
lt_prog_compiler_pic='-fpic' |
|
|
lt_prog_compiler_static='-static' |
|
|
;; |
|
6714 |
ccc*) |
ccc*) |
6715 |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
6716 |
# All Alpha code is PIC. |
# All Alpha code is PIC. |
6731 |
;; |
;; |
6732 |
|
|
6733 |
solaris*) |
solaris*) |
6734 |
|
lt_prog_compiler_wl='-Wl,' |
6735 |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_pic='-KPIC' |
6736 |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_static='-Bstatic' |
|
case $cc_basename in |
|
|
f77* | f90* | f95*) |
|
|
lt_prog_compiler_wl='-Qoption ld ';; |
|
|
*) |
|
|
lt_prog_compiler_wl='-Wl,';; |
|
|
esac |
|
6737 |
;; |
;; |
6738 |
|
|
6739 |
sunos4*) |
sunos4*) |
6755 |
fi |
fi |
6756 |
;; |
;; |
6757 |
|
|
|
unicos*) |
|
|
lt_prog_compiler_wl='-Wl,' |
|
|
lt_prog_compiler_can_build_shared=no |
|
|
;; |
|
|
|
|
6758 |
uts4*) |
uts4*) |
6759 |
lt_prog_compiler_pic='-pic' |
lt_prog_compiler_pic='-pic' |
6760 |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_static='-Bstatic' |
6792 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6793 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6794 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
6795 |
(eval echo "\"\$as_me:6850: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6795: $lt_compile\"" >&5) |
6796 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
6797 |
ac_status=$? |
ac_status=$? |
6798 |
cat conftest.err >&5 |
cat conftest.err >&5 |
6799 |
echo "$as_me:6854: \$? = $ac_status" >&5 |
echo "$as_me:6799: \$? = $ac_status" >&5 |
6800 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
6801 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
6802 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings |
6803 |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
if test ! -s conftest.err; then |
|
$SED '/^$/d' conftest.err >conftest.er2 |
|
|
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
|
6804 |
lt_prog_compiler_pic_works=yes |
lt_prog_compiler_pic_works=yes |
6805 |
fi |
fi |
6806 |
fi |
fi |
6852 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6853 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6854 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
6855 |
(eval echo "\"\$as_me:6912: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6855: $lt_compile\"" >&5) |
6856 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
6857 |
ac_status=$? |
ac_status=$? |
6858 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
6859 |
echo "$as_me:6916: \$? = $ac_status" >&5 |
echo "$as_me:6859: \$? = $ac_status" >&5 |
6860 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
6861 |
then |
then |
6862 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
6863 |
# So say no if there are warnings |
# So say no if there are warnings |
6864 |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
if test ! -s out/conftest.err; then |
|
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
|
|
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
6865 |
lt_cv_prog_compiler_c_o=yes |
lt_cv_prog_compiler_c_o=yes |
6866 |
fi |
fi |
6867 |
fi |
fi |
6941 |
# rely on this symbol name, it's probably fine to never include it in |
# rely on this symbol name, it's probably fine to never include it in |
6942 |
# preloaded symbol tables. |
# preloaded symbol tables. |
6943 |
extract_expsyms_cmds= |
extract_expsyms_cmds= |
|
# Just being paranoid about ensuring that cc_basename is set. |
|
|
for cc_temp in $compiler""; do |
|
|
case $cc_temp in |
|
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
|
\-*) ;; |
|
|
*) break;; |
|
|
esac |
|
|
done |
|
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
6944 |
|
|
6945 |
case $host_os in |
case $host_os in |
6946 |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
6961 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
# If archive_cmds runs LD, not CC, wlarc should be empty |
6962 |
wlarc='${wl}' |
wlarc='${wl}' |
6963 |
|
|
|
# Set some defaults for GNU ld with shared library support. These |
|
|
# are reset later if shared libraries are not supported. Putting them |
|
|
# here allows them to be overridden if necessary. |
|
|
runpath_var=LD_RUN_PATH |
|
|
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' |
|
|
export_dynamic_flag_spec='${wl}--export-dynamic' |
|
|
# ancient GNU ld didn't support --whole-archive et. al. |
|
|
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
|
|
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
|
else |
|
|
whole_archive_flag_spec= |
|
|
fi |
|
|
supports_anon_versioning=no |
|
|
case `$LD -v 2>/dev/null` in |
|
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
|
*\ 2.11.*) ;; # other 2.11 versions |
|
|
*) supports_anon_versioning=yes ;; |
|
|
esac |
|
|
|
|
6964 |
# See if GNU ld supports shared libraries. |
# See if GNU ld supports shared libraries. |
6965 |
case $host_os in |
case $host_os in |
6966 |
aix3* | aix4* | aix5*) |
aix3* | aix4* | aix5*) |
7011 |
allow_undefined_flag=unsupported |
allow_undefined_flag=unsupported |
7012 |
always_export_symbols=no |
always_export_symbols=no |
7013 |
enable_shared_with_static_runtimes=yes |
enable_shared_with_static_runtimes=yes |
7014 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
7015 |
|
|
7016 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
7017 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
7029 |
fi |
fi |
7030 |
;; |
;; |
7031 |
|
|
|
linux*) |
|
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
|
tmp_addflag= |
|
|
case $cc_basename,$host_cpu in |
|
|
pgcc*) # Portland Group C compiler |
|
|
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' |
|
|
tmp_addflag=' $pic_flag' |
|
|
;; |
|
|
pgf77* | pgf90* ) # Portland Group f77 and f90 compilers |
|
|
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' |
|
|
tmp_addflag=' $pic_flag -Mnomain' ;; |
|
|
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
|
|
tmp_addflag=' -i_dynamic' ;; |
|
|
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
|
tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
|
ifc* | ifort*) # Intel Fortran compiler |
|
|
tmp_addflag=' -nofor_main' ;; |
|
|
esac |
|
|
archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
|
|
|
if test $supports_anon_versioning = yes; then |
|
|
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ |
|
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
|
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
|
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
|
fi |
|
|
else |
|
|
ld_shlibs=no |
|
|
fi |
|
|
;; |
|
|
|
|
7032 |
netbsd*) |
netbsd*) |
7033 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
7034 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
7067 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
7068 |
;; |
;; |
7069 |
|
|
7070 |
|
linux*) |
7071 |
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
7072 |
|
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
7073 |
|
archive_cmds="$tmp_archive_cmds" |
7074 |
|
supports_anon_versioning=no |
7075 |
|
case `$LD -v 2>/dev/null` in |
7076 |
|
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
7077 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
7078 |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
7079 |
|
*\ 2.11.*) ;; # other 2.11 versions |
7080 |
|
*) supports_anon_versioning=yes ;; |
7081 |
|
esac |
7082 |
|
if test $supports_anon_versioning = yes; then |
7083 |
|
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ |
7084 |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
7085 |
|
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
7086 |
|
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
7087 |
|
else |
7088 |
|
archive_expsym_cmds="$tmp_archive_cmds" |
7089 |
|
fi |
7090 |
|
else |
7091 |
|
ld_shlibs=no |
7092 |
|
fi |
7093 |
|
;; |
7094 |
|
|
7095 |
*) |
*) |
7096 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
7097 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
7102 |
;; |
;; |
7103 |
esac |
esac |
7104 |
|
|
7105 |
if test "$ld_shlibs" = no; then |
if test "$ld_shlibs" = yes; then |
7106 |
runpath_var= |
runpath_var=LD_RUN_PATH |
7107 |
hardcode_libdir_flag_spec= |
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' |
7108 |
export_dynamic_flag_spec= |
export_dynamic_flag_spec='${wl}--export-dynamic' |
7109 |
whole_archive_flag_spec= |
# ancient GNU ld didn't support --whole-archive et. al. |
7110 |
|
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
7111 |
|
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
7112 |
|
else |
7113 |
|
whole_archive_flag_spec= |
7114 |
|
fi |
7115 |
fi |
fi |
7116 |
else |
else |
7117 |
# PORTME fill in a description of your system's linker (not GNU ld) |
# PORTME fill in a description of your system's linker (not GNU ld) |
7175 |
link_all_deplibs=yes |
link_all_deplibs=yes |
7176 |
|
|
7177 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
7178 |
case $host_os in aix4.[012]|aix4.[012].*) |
case $host_os in aix4.012|aix4.012.*) |
7179 |
# We only want to do this on AIX 4.2 and lower, the check |
# We only want to do this on AIX 4.2 and lower, the check |
7180 |
# below for broken collect2 doesn't work under 4.3+ |
# below for broken collect2 doesn't work under 4.3+ |
7181 |
collect2name=`${CC} -print-prog-name=collect2` |
collect2name=`${CC} -print-prog-name=collect2` |
7196 |
fi |
fi |
7197 |
esac |
esac |
7198 |
shared_flag='-shared' |
shared_flag='-shared' |
|
if test "$aix_use_runtimelinking" = yes; then |
|
|
shared_flag="$shared_flag "'${wl}-G' |
|
|
fi |
|
7199 |
else |
else |
7200 |
# not using gcc |
# not using gcc |
7201 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
7356 |
ld_shlibs=no |
ld_shlibs=no |
7357 |
;; |
;; |
7358 |
|
|
7359 |
bsdi[45]*) |
bsdi4*) |
7360 |
export_dynamic_flag_spec=-rdynamic |
export_dynamic_flag_spec=-rdynamic |
7361 |
;; |
;; |
7362 |
|
|
7382 |
;; |
;; |
7383 |
|
|
7384 |
darwin* | rhapsody*) |
darwin* | rhapsody*) |
7385 |
|
if test "$GXX" = yes ; then |
7386 |
|
archive_cmds_need_lc=no |
7387 |
case "$host_os" in |
case "$host_os" in |
7388 |
rhapsody* | darwin1.[012]) |
rhapsody* | darwin1.[012]) |
7389 |
allow_undefined_flag='${wl}-undefined ${wl}suppress' |
allow_undefined_flag='-undefined suppress' |
7390 |
;; |
;; |
7391 |
*) # Darwin 1.3 on |
*) # Darwin 1.3 on |
7392 |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
7393 |
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
allow_undefined_flag='-flat_namespace -undefined suppress' |
7394 |
else |
else |
7395 |
case ${MACOSX_DEPLOYMENT_TARGET} in |
case ${MACOSX_DEPLOYMENT_TARGET} in |
7396 |
10.[012]) |
10.[012]) |
7397 |
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
allow_undefined_flag='-flat_namespace -undefined suppress' |
7398 |
;; |
;; |
7399 |
10.*) |
10.*) |
7400 |
allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' |
allow_undefined_flag='-undefined dynamic_lookup' |
7401 |
;; |
;; |
7402 |
esac |
esac |
7403 |
fi |
fi |
7404 |
;; |
;; |
7405 |
esac |
esac |
7406 |
archive_cmds_need_lc=no |
lt_int_apple_cc_single_mod=no |
7407 |
|
output_verbose_link_cmd='echo' |
7408 |
|
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then |
7409 |
|
lt_int_apple_cc_single_mod=yes |
7410 |
|
fi |
7411 |
|
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
7412 |
|
archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
7413 |
|
else |
7414 |
|
archive_cmds='$CC -r ${wl}-bind_at_load -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' |
7415 |
|
fi |
7416 |
|
module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
7417 |
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
7418 |
|
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
7419 |
|
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
7420 |
|
else |
7421 |
|
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
7422 |
|
fi |
7423 |
|
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}' |
7424 |
hardcode_direct=no |
hardcode_direct=no |
7425 |
hardcode_automatic=yes |
hardcode_automatic=yes |
7426 |
hardcode_shlibpath_var=unsupported |
hardcode_shlibpath_var=unsupported |
7427 |
whole_archive_flag_spec='' |
whole_archive_flag_spec='-all_load $convenience' |
7428 |
link_all_deplibs=yes |
link_all_deplibs=yes |
|
if test "$GCC" = yes ; then |
|
|
output_verbose_link_cmd='echo' |
|
|
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
|
|
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
|
|
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
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}' |
|
7429 |
else |
else |
7430 |
case $cc_basename in |
ld_shlibs=no |
|
xlc*) |
|
|
output_verbose_link_cmd='echo' |
|
|
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
|
|
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
|
|
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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
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}' |
|
|
;; |
|
|
*) |
|
|
ld_shlibs=no |
|
|
;; |
|
|
esac |
|
7431 |
fi |
fi |
7432 |
;; |
;; |
7433 |
|
|
7461 |
;; |
;; |
7462 |
|
|
7463 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
7464 |
freebsd* | kfreebsd*-gnu | dragonfly*) |
freebsd* | kfreebsd*-gnu) |
7465 |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
7466 |
hardcode_libdir_flag_spec='-R$libdir' |
hardcode_libdir_flag_spec='-R$libdir' |
7467 |
hardcode_direct=yes |
hardcode_direct=yes |
7572 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
7573 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
7574 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
|
7575 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
7576 |
export_dynamic_flag_spec='${wl}-E' |
export_dynamic_flag_spec='${wl}-E' |
7577 |
else |
else |
7617 |
allow_undefined_flag=' -expect_unresolved \*' |
allow_undefined_flag=' -expect_unresolved \*' |
7618 |
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' |
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' |
7619 |
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
7620 |
$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' |
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' |
7621 |
|
|
7622 |
# Both c and cxx compiler support -rpath directly |
# Both c and cxx compiler support -rpath directly |
7623 |
hardcode_libdir_flag_spec='-rpath $libdir' |
hardcode_libdir_flag_spec='-rpath $libdir' |
7636 |
solaris*) |
solaris*) |
7637 |
no_undefined_flag=' -z text' |
no_undefined_flag=' -z text' |
7638 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
|
wlarc='${wl}' |
|
7639 |
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
7640 |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
7641 |
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
7642 |
else |
else |
|
wlarc='' |
|
7643 |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
7644 |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
7645 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
7648 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
7649 |
case $host_os in |
case $host_os in |
7650 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
7651 |
*) |
*) # Supported since Solaris 2.6 (maybe 2.5.1?) |
7652 |
# The compiler driver will combine linker options so we |
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; |
|
# cannot just pass the convience library names through |
|
|
# without $wl, iff we do not link with $LD. |
|
|
# Luckily, gcc supports the same syntax we need for Sun Studio. |
|
|
# Supported since Solaris 2.6 (maybe 2.5.1?) |
|
|
case $wlarc in |
|
|
'') |
|
|
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; |
|
|
*) |
|
|
whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; |
|
|
esac ;; |
|
7653 |
esac |
esac |
7654 |
link_all_deplibs=yes |
link_all_deplibs=yes |
7655 |
;; |
;; |
7923 |
shlibpath_var=LIBRARY_PATH |
shlibpath_var=LIBRARY_PATH |
7924 |
;; |
;; |
7925 |
|
|
7926 |
bsdi[45]*) |
bsdi4*) |
7927 |
version_type=linux |
version_type=linux |
7928 |
need_version=no |
need_version=no |
7929 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
7981 |
;; |
;; |
7982 |
pw32*) |
pw32*) |
7983 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
7984 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' |
7985 |
;; |
;; |
7986 |
esac |
esac |
7987 |
;; |
;; |
8039 |
dynamic_linker='GNU ld.so' |
dynamic_linker='GNU ld.so' |
8040 |
;; |
;; |
8041 |
|
|
8042 |
freebsd* | dragonfly*) |
freebsd*) |
|
# DragonFly does not have aout. When/if they implement a new |
|
|
# versioning mechanism, adjust this. |
|
8043 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
8044 |
version_type=freebsd-$objformat |
version_type=freebsd-$objformat |
8045 |
case $version_type in |
case $version_type in |
8058 |
freebsd2*) |
freebsd2*) |
8059 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
8060 |
;; |
;; |
8061 |
freebsd3.[01]* | freebsdelf3.[01]*) |
freebsd3.01* | freebsdelf3.01*) |
8062 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
8063 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
8064 |
;; |
;; |
8182 |
# before this can be enabled. |
# before this can be enabled. |
8183 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
8184 |
|
|
|
# find out which ABI we are using |
|
8185 |
libsuff= |
libsuff= |
8186 |
case "$host_cpu" in |
if test "$lt_cv_cc_lib64_suffix" = "yes"; then |
8187 |
x86_64*|s390x*|powerpc64*) |
libsuff=64 |
8188 |
echo '#line 8298 "configure"' > conftest.$ac_ext |
fi |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; then |
|
|
case `/usr/bin/file conftest.$ac_objext` in |
|
|
*64-bit*) |
|
|
libsuff=64 |
|
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
rm -rf conftest* |
|
|
;; |
|
|
esac |
|
8189 |
|
|
8190 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
8191 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
8192 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` |
8193 |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/X11R6/lib${libsuff} $lt_ld_extra" |
8194 |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/X11R6/lib${libsuff} /usr/local/lib${libsuff} $lt_ld_extra" |
8195 |
fi |
fi |
8196 |
|
|
8197 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
8253 |
openbsd*) |
openbsd*) |
8254 |
version_type=sunos |
version_type=sunos |
8255 |
need_lib_prefix=no |
need_lib_prefix=no |
8256 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
need_version=yes |
|
case $host_os in |
|
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
|
*) need_version=no ;; |
|
|
esac |
|
8257 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
8258 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
8259 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
8375 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
8376 |
hardcode_action= |
hardcode_action= |
8377 |
if test -n "$hardcode_libdir_flag_spec" || \ |
if test -n "$hardcode_libdir_flag_spec" || \ |
8378 |
test -n "$runpath_var" || \ |
test -n "$runpath_var " || \ |
8379 |
test "X$hardcode_automatic" = "Xyes" ; then |
test "X$hardcode_automatic"="Xyes" ; then |
8380 |
|
|
8381 |
# We can hardcode non-existant directories. |
# We can hardcode non-existant directories. |
8382 |
if test "$hardcode_direct" != no && |
if test "$hardcode_direct" != no && |
9042 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
9043 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
9044 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
9045 |
#line 9173 "configure" |
#line 9045 "configure" |
9046 |
#include "confdefs.h" |
#include "confdefs.h" |
9047 |
|
|
9048 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
9140 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
9141 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
9142 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
9143 |
#line 9271 "configure" |
#line 9143 "configure" |
9144 |
#include "confdefs.h" |
#include "confdefs.h" |
9145 |
|
|
9146 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
9269 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
9270 |
test "$enable_shared" = yes && enable_static=no |
test "$enable_shared" = yes && enable_static=no |
9271 |
fi |
fi |
9272 |
|
;; |
9273 |
|
darwin* | rhapsody*) |
9274 |
|
if test "$GCC" = yes; then |
9275 |
|
archive_cmds_need_lc=no |
9276 |
|
case "$host_os" in |
9277 |
|
rhapsody* | darwin1.[012]) |
9278 |
|
allow_undefined_flag='-undefined suppress' |
9279 |
|
;; |
9280 |
|
*) # Darwin 1.3 on |
9281 |
|
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
9282 |
|
allow_undefined_flag='-flat_namespace -undefined suppress' |
9283 |
|
else |
9284 |
|
case ${MACOSX_DEPLOYMENT_TARGET} in |
9285 |
|
10.[012]) |
9286 |
|
allow_undefined_flag='-flat_namespace -undefined suppress' |
9287 |
|
;; |
9288 |
|
10.*) |
9289 |
|
allow_undefined_flag='-undefined dynamic_lookup' |
9290 |
|
;; |
9291 |
|
esac |
9292 |
|
fi |
9293 |
|
;; |
9294 |
|
esac |
9295 |
|
output_verbose_link_cmd='echo' |
9296 |
|
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' |
9297 |
|
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
9298 |
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
9299 |
|
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
9300 |
|
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}' |
9301 |
|
hardcode_direct=no |
9302 |
|
hardcode_automatic=yes |
9303 |
|
hardcode_shlibpath_var=unsupported |
9304 |
|
whole_archive_flag_spec='-all_load $convenience' |
9305 |
|
link_all_deplibs=yes |
9306 |
|
else |
9307 |
|
ld_shlibs=no |
9308 |
|
fi |
9309 |
;; |
;; |
9310 |
esac |
esac |
9311 |
echo "$as_me:$LINENO: result: $enable_shared" >&5 |
echo "$as_me:$LINENO: result: $enable_shared" >&5 |
9435 |
# |
# |
9436 |
# You should have received a copy of the GNU General Public License |
# You should have received a copy of the GNU General Public License |
9437 |
# along with this program; if not, write to the Free Software |
# along with this program; if not, write to the Free Software |
9438 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
9439 |
# |
# |
9440 |
# As a special exception to the GNU General Public License, if you |
# As a special exception to the GNU General Public License, if you |
9441 |
# distribute this file as part of a program that contains a |
# distribute this file as part of a program that contains a |
9446 |
SED=$lt_SED |
SED=$lt_SED |
9447 |
|
|
9448 |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
9449 |
Xsed="$SED -e 1s/^X//" |
Xsed="$SED -e s/^X//" |
9450 |
|
|
9451 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
9452 |
# if CDPATH is set. |
# if CDPATH is set. |
9453 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi |
9454 |
|
|
9455 |
# The names of the tagged configurations supported by this script. |
# The names of the tagged configurations supported by this script. |
9456 |
available_tags= |
available_tags= |
9480 |
# The host system. |
# The host system. |
9481 |
host_alias=$host_alias |
host_alias=$host_alias |
9482 |
host=$host |
host=$host |
|
host_os=$host_os |
|
|
|
|
|
# The build system. |
|
|
build_alias=$build_alias |
|
|
build=$build |
|
|
build_os=$build_os |
|
9483 |
|
|
9484 |
# An echo program that does not interpret backslashes. |
# An echo program that does not interpret backslashes. |
9485 |
echo=$lt_echo |
echo=$lt_echo |
9556 |
# Does compiler simultaneously support -c and -o options? |
# Does compiler simultaneously support -c and -o options? |
9557 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
9558 |
|
|
9559 |
# Must we lock files when doing compilation? |
# Must we lock files when doing compilation ? |
9560 |
need_locks=$lt_need_locks |
need_locks=$lt_need_locks |
9561 |
|
|
9562 |
# Do we need the lib prefix for modules? |
# Do we need the lib prefix for modules? |
9851 |
|
|
9852 |
case $tagname in |
case $tagname in |
9853 |
CXX) |
CXX) |
9854 |
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
if test -n "$CXX" && test "X$CXX" != "Xno"; then |
|
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
|
|
(test "X$CXX" != "Xg++"))) ; then |
|
9855 |
ac_ext=cc |
ac_ext=cc |
9856 |
ac_cpp='$CXXCPP $CPPFLAGS' |
ac_cpp='$CXXCPP $CPPFLAGS' |
9857 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
9909 |
compiler=$CC |
compiler=$CC |
9910 |
|
|
9911 |
|
|
|
# save warnings/boilerplate of simple test code |
|
|
ac_outfile=conftest.$ac_objext |
|
|
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
|
|
_lt_compiler_boilerplate=`cat conftest.err` |
|
|
$rm conftest* |
|
|
|
|
|
ac_outfile=conftest.$ac_objext |
|
|
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
|
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
|
|
_lt_linker_boilerplate=`cat conftest.err` |
|
|
$rm conftest* |
|
|
|
|
|
|
|
9912 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
9913 |
lt_save_CC=$CC |
lt_save_CC=$CC |
9914 |
lt_save_LD=$LD |
lt_save_LD=$LD |
9930 |
CC=${CXX-"c++"} |
CC=${CXX-"c++"} |
9931 |
compiler=$CC |
compiler=$CC |
9932 |
compiler_CXX=$CC |
compiler_CXX=$CC |
9933 |
for cc_temp in $compiler""; do |
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` |
|
case $cc_temp in |
|
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
|
\-*) ;; |
|
|
*) break;; |
|
|
esac |
|
|
done |
|
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
|
|
|
9934 |
|
|
9935 |
# We don't want -fno-exception wen compiling C++ code, so set the |
# We don't want -fno-exception wen compiling C++ code, so set the |
9936 |
# no_builtin_flag separately |
# no_builtin_flag separately |
10144 |
link_all_deplibs_CXX=yes |
link_all_deplibs_CXX=yes |
10145 |
|
|
10146 |
if test "$GXX" = yes; then |
if test "$GXX" = yes; then |
10147 |
case $host_os in aix4.[012]|aix4.[012].*) |
case $host_os in aix4.012|aix4.012.*) |
10148 |
# We only want to do this on AIX 4.2 and lower, the check |
# We only want to do this on AIX 4.2 and lower, the check |
10149 |
# below for broken collect2 doesn't work under 4.3+ |
# below for broken collect2 doesn't work under 4.3+ |
10150 |
collect2name=`${CC} -print-prog-name=collect2` |
collect2name=`${CC} -print-prog-name=collect2` |
10165 |
fi |
fi |
10166 |
esac |
esac |
10167 |
shared_flag='-shared' |
shared_flag='-shared' |
|
if test "$aix_use_runtimelinking" = yes; then |
|
|
shared_flag="$shared_flag "'${wl}-G' |
|
|
fi |
|
10168 |
else |
else |
10169 |
# not using gcc |
# not using gcc |
10170 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
10326 |
esac |
esac |
10327 |
;; |
;; |
10328 |
|
|
|
|
|
10329 |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
10330 |
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, |
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, |
10331 |
# as there is no search path for DLLs. |
# as there is no search path for DLLs. |
10349 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10350 |
fi |
fi |
10351 |
;; |
;; |
|
darwin* | rhapsody*) |
|
|
case "$host_os" in |
|
|
rhapsody* | darwin1.[012]) |
|
|
allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' |
|
|
;; |
|
|
*) # Darwin 1.3 on |
|
|
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
|
|
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
|
|
else |
|
|
case ${MACOSX_DEPLOYMENT_TARGET} in |
|
|
10.[012]) |
|
|
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
|
|
;; |
|
|
10.*) |
|
|
allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
;; |
|
|
esac |
|
|
archive_cmds_need_lc_CXX=no |
|
|
hardcode_direct_CXX=no |
|
|
hardcode_automatic_CXX=yes |
|
|
hardcode_shlibpath_var_CXX=unsupported |
|
|
whole_archive_flag_spec_CXX='' |
|
|
link_all_deplibs_CXX=yes |
|
10352 |
|
|
10353 |
if test "$GXX" = yes ; then |
darwin* | rhapsody*) |
10354 |
lt_int_apple_cc_single_mod=no |
if test "$GXX" = yes; then |
10355 |
output_verbose_link_cmd='echo' |
archive_cmds_need_lc_CXX=no |
10356 |
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then |
case "$host_os" in |
10357 |
lt_int_apple_cc_single_mod=yes |
rhapsody* | darwin1.[012]) |
10358 |
fi |
allow_undefined_flag_CXX='-undefined suppress' |
10359 |
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
;; |
10360 |
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
*) # Darwin 1.3 on |
10361 |
else |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
10362 |
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' |
allow_undefined_flag_CXX='-flat_namespace -undefined suppress' |
10363 |
fi |
else |
10364 |
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
case ${MACOSX_DEPLOYMENT_TARGET} in |
10365 |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
10.[012]) |
10366 |
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
allow_undefined_flag_CXX='-flat_namespace -undefined suppress' |
10367 |
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
;; |
10368 |
else |
10.*) |
10369 |
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
allow_undefined_flag_CXX='-undefined dynamic_lookup' |
10370 |
fi |
;; |
10371 |
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}' |
esac |
|
else |
|
|
case $cc_basename in |
|
|
xlc*) |
|
|
output_verbose_link_cmd='echo' |
|
|
archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
|
|
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
|
|
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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
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}' |
|
|
;; |
|
|
*) |
|
|
ld_shlibs_CXX=no |
|
|
;; |
|
|
esac |
|
10372 |
fi |
fi |
10373 |
;; |
;; |
10374 |
|
esac |
10375 |
|
lt_int_apple_cc_single_mod=no |
10376 |
|
output_verbose_link_cmd='echo' |
10377 |
|
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then |
10378 |
|
lt_int_apple_cc_single_mod=yes |
10379 |
|
fi |
10380 |
|
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
10381 |
|
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
10382 |
|
else |
10383 |
|
archive_cmds_CXX='$CC -r ${wl}-bind_at_load -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' |
10384 |
|
fi |
10385 |
|
module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
10386 |
|
|
10387 |
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
10388 |
|
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
10389 |
|
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
10390 |
|
else |
10391 |
|
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
10392 |
|
fi |
10393 |
|
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}' |
10394 |
|
hardcode_direct_CXX=no |
10395 |
|
hardcode_automatic_CXX=yes |
10396 |
|
hardcode_shlibpath_var_CXX=unsupported |
10397 |
|
whole_archive_flag_spec_CXX='-all_load $convenience' |
10398 |
|
link_all_deplibs_CXX=yes |
10399 |
|
else |
10400 |
|
ld_shlibs_CXX=no |
10401 |
|
fi |
10402 |
|
;; |
10403 |
|
|
10404 |
dgux*) |
dgux*) |
10405 |
case $cc_basename in |
case $cc_basename in |
10406 |
ec++*) |
ec++) |
10407 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10408 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10409 |
;; |
;; |
10410 |
ghcx*) |
ghcx) |
10411 |
# Green Hills C++ Compiler |
# Green Hills C++ Compiler |
10412 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10413 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10418 |
;; |
;; |
10419 |
esac |
esac |
10420 |
;; |
;; |
10421 |
freebsd[12]*) |
freebsd12*) |
10422 |
# C++ shared libraries reported to be fairly broken before switch to ELF |
# C++ shared libraries reported to be fairly broken before switch to ELF |
10423 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10424 |
;; |
;; |
10425 |
freebsd-elf*) |
freebsd-elf*) |
10426 |
archive_cmds_need_lc_CXX=no |
archive_cmds_need_lc_CXX=no |
10427 |
;; |
;; |
10428 |
freebsd* | kfreebsd*-gnu | dragonfly*) |
freebsd* | kfreebsd*-gnu) |
10429 |
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF |
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF |
10430 |
# conventions |
# conventions |
10431 |
ld_shlibs_CXX=yes |
ld_shlibs_CXX=yes |
10442 |
# location of the library. |
# location of the library. |
10443 |
|
|
10444 |
case $cc_basename in |
case $cc_basename in |
10445 |
CC*) |
CC) |
10446 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10447 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10448 |
;; |
;; |
10449 |
aCC*) |
aCC) |
10450 |
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' |
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' |
10451 |
# Commands to make compiler produce verbose output that lists |
# Commands to make compiler produce verbose output that lists |
10452 |
# what "hidden" libraries, object files and flags are used when |
# what "hidden" libraries, object files and flags are used when |
10456 |
# explicitly linking system object files so we need to strip them |
# explicitly linking system object files so we need to strip them |
10457 |
# from the output so that they don't get included in the library |
# from the output so that they don't get included in the library |
10458 |
# dependencies. |
# dependencies. |
10459 |
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' |
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' |
10460 |
;; |
;; |
10461 |
*) |
*) |
10462 |
if test "$GXX" = yes; then |
if test "$GXX" = yes; then |
10507 |
esac |
esac |
10508 |
|
|
10509 |
case $cc_basename in |
case $cc_basename in |
10510 |
CC*) |
CC) |
10511 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10512 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10513 |
;; |
;; |
10514 |
aCC*) |
aCC) |
10515 |
case "$host_cpu" in |
case "$host_cpu" in |
10516 |
hppa*64*|ia64*) |
hppa*64*|ia64*) |
10517 |
archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' |
archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' |
10551 |
;; |
;; |
10552 |
irix5* | irix6*) |
irix5* | irix6*) |
10553 |
case $cc_basename in |
case $cc_basename in |
10554 |
CC*) |
CC) |
10555 |
# SGI C++ |
# SGI C++ |
10556 |
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' |
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 ${objdir}/so_locations -o $lib' |
10557 |
|
|
10558 |
# Archives containing C++ object files must be created using |
# Archives containing C++ object files must be created using |
10559 |
# "CC -ar", where "CC" is the IRIX C++ compiler. This is |
# "CC -ar", where "CC" is the IRIX C++ compiler. This is |
10564 |
*) |
*) |
10565 |
if test "$GXX" = yes; then |
if test "$GXX" = yes; then |
10566 |
if test "$with_gnu_ld" = no; then |
if test "$with_gnu_ld" = no; then |
10567 |
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' |
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}${objdir}/so_locations -o $lib' |
10568 |
else |
else |
10569 |
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' |
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' |
10570 |
fi |
fi |
10577 |
;; |
;; |
10578 |
linux*) |
linux*) |
10579 |
case $cc_basename in |
case $cc_basename in |
10580 |
KCC*) |
KCC) |
10581 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
10582 |
|
|
10583 |
# KCC will only create a shared library if the output file |
# KCC will only create a shared library if the output file |
10602 |
# "CC -Bstatic", where "CC" is the KAI C++ compiler. |
# "CC -Bstatic", where "CC" is the KAI C++ compiler. |
10603 |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
10604 |
;; |
;; |
10605 |
icpc*) |
icpc) |
10606 |
# Intel C++ |
# Intel C++ |
10607 |
with_gnu_ld=yes |
with_gnu_ld=yes |
|
# version 8.0 and above of icpc choke on multiply defined symbols |
|
|
# if we add $predep_objects and $postdep_objects, however 7.1 and |
|
|
# earlier do not add the objects themselves. |
|
|
case `$CC -V 2>&1` in |
|
|
*"Version 7."*) |
|
|
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
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' |
|
|
;; |
|
|
*) # Version 8.0 or newer |
|
|
tmp_idyn= |
|
|
case $host_cpu in |
|
|
ia64*) tmp_idyn=' -i_dynamic';; |
|
|
esac |
|
|
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
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' |
|
|
;; |
|
|
esac |
|
10608 |
archive_cmds_need_lc_CXX=no |
archive_cmds_need_lc_CXX=no |
10609 |
|
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
10610 |
|
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' |
10611 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
10612 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
10613 |
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
10614 |
;; |
;; |
10615 |
pgCC*) |
cxx) |
|
# Portland Group C++ compiler |
|
|
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
|
|
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' |
|
|
|
|
|
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' |
|
|
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
|
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' |
|
|
;; |
|
|
cxx*) |
|
10616 |
# Compaq C++ |
# Compaq C++ |
10617 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
10618 |
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' |
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' |
10643 |
;; |
;; |
10644 |
mvs*) |
mvs*) |
10645 |
case $cc_basename in |
case $cc_basename in |
10646 |
cxx*) |
cxx) |
10647 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10648 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10649 |
;; |
;; |
10664 |
# Workaround some broken pre-1.5 toolchains |
# Workaround some broken pre-1.5 toolchains |
10665 |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' |
10666 |
;; |
;; |
|
openbsd2*) |
|
|
# C++ shared libraries are fairly broken |
|
|
ld_shlibs_CXX=no |
|
|
;; |
|
|
openbsd*) |
|
|
hardcode_direct_CXX=yes |
|
|
hardcode_shlibpath_var_CXX=no |
|
|
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
|
|
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
|
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
|
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' |
|
|
export_dynamic_flag_spec_CXX='${wl}-E' |
|
|
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
|
fi |
|
|
output_verbose_link_cmd='echo' |
|
|
;; |
|
10667 |
osf3*) |
osf3*) |
10668 |
case $cc_basename in |
case $cc_basename in |
10669 |
KCC*) |
KCC) |
10670 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
10671 |
|
|
10672 |
# KCC will only create a shared library if the output file |
# KCC will only create a shared library if the output file |
10682 |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
10683 |
|
|
10684 |
;; |
;; |
10685 |
RCC*) |
RCC) |
10686 |
# Rational C++ 2.4.1 |
# Rational C++ 2.4.1 |
10687 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10688 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10689 |
;; |
;; |
10690 |
cxx*) |
cxx) |
10691 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
10692 |
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' |
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 ${objdir}/so_locations -o $lib' |
10693 |
|
|
10694 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
10695 |
hardcode_libdir_separator_CXX=: |
hardcode_libdir_separator_CXX=: |
10707 |
*) |
*) |
10708 |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
10709 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
10710 |
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' |
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}${objdir}/so_locations -o $lib' |
10711 |
|
|
10712 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
10713 |
hardcode_libdir_separator_CXX=: |
hardcode_libdir_separator_CXX=: |
10726 |
;; |
;; |
10727 |
osf4* | osf5*) |
osf4* | osf5*) |
10728 |
case $cc_basename in |
case $cc_basename in |
10729 |
KCC*) |
KCC) |
10730 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
10731 |
|
|
10732 |
# KCC will only create a shared library if the output file |
# KCC will only create a shared library if the output file |
10741 |
# the KAI C++ compiler. |
# the KAI C++ compiler. |
10742 |
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' |
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' |
10743 |
;; |
;; |
10744 |
RCC*) |
RCC) |
10745 |
# Rational C++ 2.4.1 |
# Rational C++ 2.4.1 |
10746 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10747 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10748 |
;; |
;; |
10749 |
cxx*) |
cxx) |
10750 |
allow_undefined_flag_CXX=' -expect_unresolved \*' |
allow_undefined_flag_CXX=' -expect_unresolved \*' |
10751 |
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' |
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 ${objdir}/so_locations -o $lib' |
10752 |
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ |
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ |
10753 |
echo "-hidden">> $lib.exp~ |
echo "-hidden">> $lib.exp~ |
10754 |
$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~ |
$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 $objdir/so_locations -o $lib~ |
10755 |
$rm $lib.exp' |
$rm $lib.exp' |
10756 |
|
|
10757 |
hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
10770 |
*) |
*) |
10771 |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
10772 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
10773 |
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' |
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}${objdir}/so_locations -o $lib' |
10774 |
|
|
10775 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
10776 |
hardcode_libdir_separator_CXX=: |
hardcode_libdir_separator_CXX=: |
10794 |
sco*) |
sco*) |
10795 |
archive_cmds_need_lc_CXX=no |
archive_cmds_need_lc_CXX=no |
10796 |
case $cc_basename in |
case $cc_basename in |
10797 |
CC*) |
CC) |
10798 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10799 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10800 |
;; |
;; |
10806 |
;; |
;; |
10807 |
sunos4*) |
sunos4*) |
10808 |
case $cc_basename in |
case $cc_basename in |
10809 |
CC*) |
CC) |
10810 |
# Sun C++ 4.x |
# Sun C++ 4.x |
10811 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10812 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10813 |
;; |
;; |
10814 |
lcc*) |
lcc) |
10815 |
# Lucid |
# Lucid |
10816 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10817 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10824 |
;; |
;; |
10825 |
solaris*) |
solaris*) |
10826 |
case $cc_basename in |
case $cc_basename in |
10827 |
CC*) |
CC) |
10828 |
# Sun C++ 4.2, 5.x and Centerline C++ |
# Sun C++ 4.2, 5.x and Centerline C++ |
10829 |
no_undefined_flag_CXX=' -zdefs' |
no_undefined_flag_CXX=' -zdefs' |
10830 |
archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
10834 |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
10835 |
hardcode_shlibpath_var_CXX=no |
hardcode_shlibpath_var_CXX=no |
10836 |
case $host_os in |
case $host_os in |
10837 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
solaris2.0-5 | solaris2.0-5.*) ;; |
10838 |
*) |
*) |
10839 |
# The C++ compiler is used as linker so we must use $wl |
# The C++ compiler is used as linker so we must use $wl |
10840 |
# flag to pass the commands to the underlying system |
# flag to pass the commands to the underlying system |
10841 |
# linker. We must also pass each convience library through |
# linker. |
|
# to the system linker between allextract/defaultextract. |
|
|
# The C++ compiler will combine linker options so we |
|
|
# cannot just pass the convience library names through |
|
|
# without $wl. |
|
10842 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
10843 |
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' |
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
10844 |
;; |
;; |
10845 |
esac |
esac |
10846 |
link_all_deplibs_CXX=yes |
link_all_deplibs_CXX=yes |
10861 |
# in the archive. |
# in the archive. |
10862 |
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
10863 |
;; |
;; |
10864 |
gcx*) |
gcx) |
10865 |
# Green Hills C++ Compiler |
# Green Hills C++ Compiler |
10866 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
10867 |
|
|
10904 |
;; |
;; |
10905 |
tandem*) |
tandem*) |
10906 |
case $cc_basename in |
case $cc_basename in |
10907 |
NCC*) |
NCC) |
10908 |
# NonStop-UX NCC 3.20 |
# NonStop-UX NCC 3.20 |
10909 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10910 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
11113 |
;; |
;; |
11114 |
chorus*) |
chorus*) |
11115 |
case $cc_basename in |
case $cc_basename in |
11116 |
cxch68*) |
cxch68) |
11117 |
# Green Hills C++ Compiler |
# Green Hills C++ Compiler |
11118 |
# _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" |
# _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" |
11119 |
;; |
;; |
11120 |
esac |
esac |
11121 |
;; |
;; |
|
darwin*) |
|
|
# PIC is the default on this platform |
|
|
# Common symbols not allowed in MH_DYLIB files |
|
|
case $cc_basename in |
|
|
xlc*) |
|
|
lt_prog_compiler_pic_CXX='-qnocommon' |
|
|
lt_prog_compiler_wl_CXX='-Wl,' |
|
|
;; |
|
|
esac |
|
|
;; |
|
11122 |
dgux*) |
dgux*) |
11123 |
case $cc_basename in |
case $cc_basename in |
11124 |
ec++*) |
ec++) |
11125 |
lt_prog_compiler_pic_CXX='-KPIC' |
lt_prog_compiler_pic_CXX='-KPIC' |
11126 |
;; |
;; |
11127 |
ghcx*) |
ghcx) |
11128 |
# Green Hills C++ Compiler |
# Green Hills C++ Compiler |
11129 |
lt_prog_compiler_pic_CXX='-pic' |
lt_prog_compiler_pic_CXX='-pic' |
11130 |
;; |
;; |
11132 |
;; |
;; |
11133 |
esac |
esac |
11134 |
;; |
;; |
11135 |
freebsd* | kfreebsd*-gnu | dragonfly*) |
freebsd* | kfreebsd*-gnu) |
11136 |
# FreeBSD uses GNU C++ |
# FreeBSD uses GNU C++ |
11137 |
;; |
;; |
11138 |
hpux9* | hpux10* | hpux11*) |
hpux9* | hpux10* | hpux11*) |
11139 |
case $cc_basename in |
case $cc_basename in |
11140 |
CC*) |
CC) |
11141 |
lt_prog_compiler_wl_CXX='-Wl,' |
lt_prog_compiler_wl_CXX='-Wl,' |
11142 |
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" |
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" |
11143 |
if test "$host_cpu" != ia64; then |
if test "$host_cpu" != ia64; then |
11144 |
lt_prog_compiler_pic_CXX='+Z' |
lt_prog_compiler_pic_CXX='+Z' |
11145 |
fi |
fi |
11146 |
;; |
;; |
11147 |
aCC*) |
aCC) |
11148 |
lt_prog_compiler_wl_CXX='-Wl,' |
lt_prog_compiler_wl_CXX='-Wl,' |
11149 |
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" |
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" |
11150 |
case "$host_cpu" in |
case "$host_cpu" in |
11162 |
;; |
;; |
11163 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
11164 |
case $cc_basename in |
case $cc_basename in |
11165 |
CC*) |
CC) |
11166 |
lt_prog_compiler_wl_CXX='-Wl,' |
lt_prog_compiler_wl_CXX='-Wl,' |
11167 |
lt_prog_compiler_static_CXX='-non_shared' |
lt_prog_compiler_static_CXX='-non_shared' |
11168 |
# CC pic flag -KPIC is the default. |
# CC pic flag -KPIC is the default. |
11173 |
;; |
;; |
11174 |
linux*) |
linux*) |
11175 |
case $cc_basename in |
case $cc_basename in |
11176 |
KCC*) |
KCC) |
11177 |
# KAI C++ Compiler |
# KAI C++ Compiler |
11178 |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
11179 |
lt_prog_compiler_pic_CXX='-fPIC' |
lt_prog_compiler_pic_CXX='-fPIC' |
11180 |
;; |
;; |
11181 |
icpc* | ecpc*) |
icpc) |
11182 |
# Intel C++ |
# Intel C++ |
11183 |
lt_prog_compiler_wl_CXX='-Wl,' |
lt_prog_compiler_wl_CXX='-Wl,' |
11184 |
lt_prog_compiler_pic_CXX='-KPIC' |
lt_prog_compiler_pic_CXX='-KPIC' |
11185 |
lt_prog_compiler_static_CXX='-static' |
lt_prog_compiler_static_CXX='-static' |
11186 |
;; |
;; |
11187 |
pgCC*) |
cxx) |
|
# Portland Group C++ compiler. |
|
|
lt_prog_compiler_wl_CXX='-Wl,' |
|
|
lt_prog_compiler_pic_CXX='-fpic' |
|
|
lt_prog_compiler_static_CXX='-static' |
|
|
;; |
|
|
cxx*) |
|
11188 |
# Compaq C++ |
# Compaq C++ |
11189 |
# Make sure the PIC flag is empty. It appears that all Alpha |
# Make sure the PIC flag is empty. It appears that all Alpha |
11190 |
# Linux and Compaq Tru64 Unix objects are PIC. |
# Linux and Compaq Tru64 Unix objects are PIC. |
11201 |
;; |
;; |
11202 |
mvs*) |
mvs*) |
11203 |
case $cc_basename in |
case $cc_basename in |
11204 |
cxx*) |
cxx) |
11205 |
lt_prog_compiler_pic_CXX='-W c,exportall' |
lt_prog_compiler_pic_CXX='-W c,exportall' |
11206 |
;; |
;; |
11207 |
*) |
*) |
11212 |
;; |
;; |
11213 |
osf3* | osf4* | osf5*) |
osf3* | osf4* | osf5*) |
11214 |
case $cc_basename in |
case $cc_basename in |
11215 |
KCC*) |
KCC) |
11216 |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
11217 |
;; |
;; |
11218 |
RCC*) |
RCC) |
11219 |
# Rational C++ 2.4.1 |
# Rational C++ 2.4.1 |
11220 |
lt_prog_compiler_pic_CXX='-pic' |
lt_prog_compiler_pic_CXX='-pic' |
11221 |
;; |
;; |
11222 |
cxx*) |
cxx) |
11223 |
# Digital/Compaq C++ |
# Digital/Compaq C++ |
11224 |
lt_prog_compiler_wl_CXX='-Wl,' |
lt_prog_compiler_wl_CXX='-Wl,' |
11225 |
# Make sure the PIC flag is empty. It appears that all Alpha |
# Make sure the PIC flag is empty. It appears that all Alpha |
11235 |
;; |
;; |
11236 |
sco*) |
sco*) |
11237 |
case $cc_basename in |
case $cc_basename in |
11238 |
CC*) |
CC) |
11239 |
lt_prog_compiler_pic_CXX='-fPIC' |
lt_prog_compiler_pic_CXX='-fPIC' |
11240 |
;; |
;; |
11241 |
*) |
*) |
11244 |
;; |
;; |
11245 |
solaris*) |
solaris*) |
11246 |
case $cc_basename in |
case $cc_basename in |
11247 |
CC*) |
CC) |
11248 |
# Sun C++ 4.2, 5.x and Centerline C++ |
# Sun C++ 4.2, 5.x and Centerline C++ |
11249 |
lt_prog_compiler_pic_CXX='-KPIC' |
lt_prog_compiler_pic_CXX='-KPIC' |
11250 |
lt_prog_compiler_static_CXX='-Bstatic' |
lt_prog_compiler_static_CXX='-Bstatic' |
11251 |
lt_prog_compiler_wl_CXX='-Qoption ld ' |
lt_prog_compiler_wl_CXX='-Qoption ld ' |
11252 |
;; |
;; |
11253 |
gcx*) |
gcx) |
11254 |
# Green Hills C++ Compiler |
# Green Hills C++ Compiler |
11255 |
lt_prog_compiler_pic_CXX='-PIC' |
lt_prog_compiler_pic_CXX='-PIC' |
11256 |
;; |
;; |
11260 |
;; |
;; |
11261 |
sunos4*) |
sunos4*) |
11262 |
case $cc_basename in |
case $cc_basename in |
11263 |
CC*) |
CC) |
11264 |
# Sun C++ 4.x |
# Sun C++ 4.x |
11265 |
lt_prog_compiler_pic_CXX='-pic' |
lt_prog_compiler_pic_CXX='-pic' |
11266 |
lt_prog_compiler_static_CXX='-Bstatic' |
lt_prog_compiler_static_CXX='-Bstatic' |
11267 |
;; |
;; |
11268 |
lcc*) |
lcc) |
11269 |
# Lucid |
# Lucid |
11270 |
lt_prog_compiler_pic_CXX='-pic' |
lt_prog_compiler_pic_CXX='-pic' |
11271 |
;; |
;; |
11275 |
;; |
;; |
11276 |
tandem*) |
tandem*) |
11277 |
case $cc_basename in |
case $cc_basename in |
11278 |
NCC*) |
NCC) |
11279 |
# NonStop-UX NCC 3.20 |
# NonStop-UX NCC 3.20 |
11280 |
lt_prog_compiler_pic_CXX='-KPIC' |
lt_prog_compiler_pic_CXX='-KPIC' |
11281 |
;; |
;; |
11319 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11320 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11321 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
11322 |
(eval echo "\"\$as_me:11519: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11322: $lt_compile\"" >&5) |
11323 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
11324 |
ac_status=$? |
ac_status=$? |
11325 |
cat conftest.err >&5 |
cat conftest.err >&5 |
11326 |
echo "$as_me:11523: \$? = $ac_status" >&5 |
echo "$as_me:11326: \$? = $ac_status" >&5 |
11327 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
11328 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
11329 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings |
11330 |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
if test ! -s conftest.err; then |
|
$SED '/^$/d' conftest.err >conftest.er2 |
|
|
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
|
11331 |
lt_prog_compiler_pic_works_CXX=yes |
lt_prog_compiler_pic_works_CXX=yes |
11332 |
fi |
fi |
11333 |
fi |
fi |
11379 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11380 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11381 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
11382 |
(eval echo "\"\$as_me:11581: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11382: $lt_compile\"" >&5) |
11383 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
11384 |
ac_status=$? |
ac_status=$? |
11385 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
11386 |
echo "$as_me:11585: \$? = $ac_status" >&5 |
echo "$as_me:11386: \$? = $ac_status" >&5 |
11387 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
11388 |
then |
then |
11389 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
11390 |
# So say no if there are warnings |
# So say no if there are warnings |
11391 |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
if test ! -s out/conftest.err; then |
|
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
|
|
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
11392 |
lt_cv_prog_compiler_c_o_CXX=yes |
lt_cv_prog_compiler_c_o_CXX=yes |
11393 |
fi |
fi |
11394 |
fi |
fi |
11447 |
export_symbols_cmds_CXX="$ltdll_cmds" |
export_symbols_cmds_CXX="$ltdll_cmds" |
11448 |
;; |
;; |
11449 |
cygwin* | mingw*) |
cygwin* | mingw*) |
11450 |
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' |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
11451 |
;; |
;; |
11452 |
*) |
*) |
11453 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
11627 |
shlibpath_var=LIBRARY_PATH |
shlibpath_var=LIBRARY_PATH |
11628 |
;; |
;; |
11629 |
|
|
11630 |
bsdi[45]*) |
bsdi4*) |
11631 |
version_type=linux |
version_type=linux |
11632 |
need_version=no |
need_version=no |
11633 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11685 |
;; |
;; |
11686 |
pw32*) |
pw32*) |
11687 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
11688 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' |
11689 |
;; |
;; |
11690 |
esac |
esac |
11691 |
;; |
;; |
11743 |
dynamic_linker='GNU ld.so' |
dynamic_linker='GNU ld.so' |
11744 |
;; |
;; |
11745 |
|
|
11746 |
freebsd* | dragonfly*) |
freebsd*) |
|
# DragonFly does not have aout. When/if they implement a new |
|
|
# versioning mechanism, adjust this. |
|
11747 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
11748 |
version_type=freebsd-$objformat |
version_type=freebsd-$objformat |
11749 |
case $version_type in |
case $version_type in |
11762 |
freebsd2*) |
freebsd2*) |
11763 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
11764 |
;; |
;; |
11765 |
freebsd3.[01]* | freebsdelf3.[01]*) |
freebsd3.01* | freebsdelf3.01*) |
11766 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
11767 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
11768 |
;; |
;; |
11886 |
# before this can be enabled. |
# before this can be enabled. |
11887 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
11888 |
|
|
|
# find out which ABI we are using |
|
11889 |
libsuff= |
libsuff= |
11890 |
case "$host_cpu" in |
if test "$lt_cv_cc_lib64_suffix" = "yes"; then |
11891 |
x86_64*|s390x*|powerpc64*) |
libsuff=64 |
11892 |
echo '#line 12096 "configure"' > conftest.$ac_ext |
fi |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; then |
|
|
case `/usr/bin/file conftest.$ac_objext` in |
|
|
*64-bit*) |
|
|
libsuff=64 |
|
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
rm -rf conftest* |
|
|
;; |
|
|
esac |
|
11893 |
|
|
11894 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
11895 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
11896 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` |
11897 |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/X11R6/lib${libsuff} $lt_ld_extra" |
11898 |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/X11R6/lib${libsuff} /usr/local/lib${libsuff} $lt_ld_extra" |
11899 |
fi |
fi |
11900 |
|
|
11901 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
11957 |
openbsd*) |
openbsd*) |
11958 |
version_type=sunos |
version_type=sunos |
11959 |
need_lib_prefix=no |
need_lib_prefix=no |
11960 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
need_version=yes |
|
case $host_os in |
|
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
|
*) need_version=no ;; |
|
|
esac |
|
11961 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
11962 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
11963 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
12079 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
12080 |
hardcode_action_CXX= |
hardcode_action_CXX= |
12081 |
if test -n "$hardcode_libdir_flag_spec_CXX" || \ |
if test -n "$hardcode_libdir_flag_spec_CXX" || \ |
12082 |
test -n "$runpath_var_CXX" || \ |
test -n "$runpath_var CXX" || \ |
12083 |
test "X$hardcode_automatic_CXX" = "Xyes" ; then |
test "X$hardcode_automatic_CXX"="Xyes" ; then |
12084 |
|
|
12085 |
# We can hardcode non-existant directories. |
# We can hardcode non-existant directories. |
12086 |
if test "$hardcode_direct_CXX" != no && |
if test "$hardcode_direct_CXX" != no && |
12746 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12747 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
12748 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
12749 |
#line 12971 "configure" |
#line 12749 "configure" |
12750 |
#include "confdefs.h" |
#include "confdefs.h" |
12751 |
|
|
12752 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
12844 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12845 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
12846 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
12847 |
#line 13069 "configure" |
#line 12847 "configure" |
12848 |
#include "confdefs.h" |
#include "confdefs.h" |
12849 |
|
|
12850 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
13062 |
# The host system. |
# The host system. |
13063 |
host_alias=$host_alias |
host_alias=$host_alias |
13064 |
host=$host |
host=$host |
|
host_os=$host_os |
|
|
|
|
|
# The build system. |
|
|
build_alias=$build_alias |
|
|
build=$build |
|
|
build_os=$build_os |
|
13065 |
|
|
13066 |
# An echo program that does not interpret backslashes. |
# An echo program that does not interpret backslashes. |
13067 |
echo=$lt_echo |
echo=$lt_echo |
13138 |
# Does compiler simultaneously support -c and -o options? |
# Does compiler simultaneously support -c and -o options? |
13139 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX |
13140 |
|
|
13141 |
# Must we lock files when doing compilation? |
# Must we lock files when doing compilation ? |
13142 |
need_locks=$lt_need_locks |
need_locks=$lt_need_locks |
13143 |
|
|
13144 |
# Do we need the lib prefix for modules? |
# Do we need the lib prefix for modules? |
13419 |
compiler=$CC |
compiler=$CC |
13420 |
|
|
13421 |
|
|
|
# save warnings/boilerplate of simple test code |
|
|
ac_outfile=conftest.$ac_objext |
|
|
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
|
|
_lt_compiler_boilerplate=`cat conftest.err` |
|
|
$rm conftest* |
|
|
|
|
|
ac_outfile=conftest.$ac_objext |
|
|
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
|
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
|
|
_lt_linker_boilerplate=`cat conftest.err` |
|
|
$rm conftest* |
|
|
|
|
|
|
|
13422 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
13423 |
lt_save_CC="$CC" |
lt_save_CC="$CC" |
13424 |
CC=${F77-"f77"} |
CC=${F77-"f77"} |
13425 |
compiler=$CC |
compiler=$CC |
13426 |
compiler_F77=$CC |
compiler_F77=$CC |
13427 |
for cc_temp in $compiler""; do |
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` |
|
case $cc_temp in |
|
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
|
\-*) ;; |
|
|
*) break;; |
|
|
esac |
|
|
done |
|
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
|
|
|
13428 |
|
|
13429 |
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
13430 |
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 |
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 |
13446 |
fi |
fi |
13447 |
;; |
;; |
13448 |
aix4* | aix5*) |
aix4* | aix5*) |
13449 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
test "$enable_shared" = yes && enable_static=no |
|
test "$enable_shared" = yes && enable_static=no |
|
|
fi |
|
13450 |
;; |
;; |
13451 |
esac |
esac |
13452 |
echo "$as_me:$LINENO: result: $enable_shared" >&5 |
echo "$as_me:$LINENO: result: $enable_shared" >&5 |
13549 |
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' |
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' |
13550 |
fi |
fi |
13551 |
;; |
;; |
|
darwin*) |
|
|
# PIC is the default on this platform |
|
|
# Common symbols not allowed in MH_DYLIB files |
|
|
case $cc_basename in |
|
|
xlc*) |
|
|
lt_prog_compiler_pic_F77='-qnocommon' |
|
|
lt_prog_compiler_wl_F77='-Wl,' |
|
|
;; |
|
|
esac |
|
|
;; |
|
13552 |
|
|
13553 |
mingw* | pw32* | os2*) |
mingw* | pw32* | os2*) |
13554 |
# This hack is so that the source file can tell whether it is being |
# This hack is so that the source file can tell whether it is being |
13584 |
;; |
;; |
13585 |
|
|
13586 |
linux*) |
linux*) |
13587 |
case $cc_basename in |
case $CC in |
13588 |
icc* | ecc*) |
icc* | ecc*) |
13589 |
lt_prog_compiler_wl_F77='-Wl,' |
lt_prog_compiler_wl_F77='-Wl,' |
13590 |
lt_prog_compiler_pic_F77='-KPIC' |
lt_prog_compiler_pic_F77='-KPIC' |
13591 |
lt_prog_compiler_static_F77='-static' |
lt_prog_compiler_static_F77='-static' |
13592 |
;; |
;; |
|
pgcc* | pgf77* | pgf90*) |
|
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
|
|
# which looks to be a dead project) |
|
|
lt_prog_compiler_wl_F77='-Wl,' |
|
|
lt_prog_compiler_pic_F77='-fpic' |
|
|
lt_prog_compiler_static_F77='-static' |
|
|
;; |
|
13593 |
ccc*) |
ccc*) |
13594 |
lt_prog_compiler_wl_F77='-Wl,' |
lt_prog_compiler_wl_F77='-Wl,' |
13595 |
# All Alpha code is PIC. |
# All Alpha code is PIC. |
13610 |
;; |
;; |
13611 |
|
|
13612 |
solaris*) |
solaris*) |
13613 |
|
lt_prog_compiler_wl_F77='-Wl,' |
13614 |
lt_prog_compiler_pic_F77='-KPIC' |
lt_prog_compiler_pic_F77='-KPIC' |
13615 |
lt_prog_compiler_static_F77='-Bstatic' |
lt_prog_compiler_static_F77='-Bstatic' |
|
case $cc_basename in |
|
|
f77* | f90* | f95*) |
|
|
lt_prog_compiler_wl_F77='-Qoption ld ';; |
|
|
*) |
|
|
lt_prog_compiler_wl_F77='-Wl,';; |
|
|
esac |
|
13616 |
;; |
;; |
13617 |
|
|
13618 |
sunos4*) |
sunos4*) |
13634 |
fi |
fi |
13635 |
;; |
;; |
13636 |
|
|
|
unicos*) |
|
|
lt_prog_compiler_wl_F77='-Wl,' |
|
|
lt_prog_compiler_can_build_shared_F77=no |
|
|
;; |
|
|
|
|
13637 |
uts4*) |
uts4*) |
13638 |
lt_prog_compiler_pic_F77='-pic' |
lt_prog_compiler_pic_F77='-pic' |
13639 |
lt_prog_compiler_static_F77='-Bstatic' |
lt_prog_compiler_static_F77='-Bstatic' |
13671 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
13672 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13673 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
13674 |
(eval echo "\"\$as_me:13954: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:13674: $lt_compile\"" >&5) |
13675 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
13676 |
ac_status=$? |
ac_status=$? |
13677 |
cat conftest.err >&5 |
cat conftest.err >&5 |
13678 |
echo "$as_me:13958: \$? = $ac_status" >&5 |
echo "$as_me:13678: \$? = $ac_status" >&5 |
13679 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
13680 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
13681 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings |
13682 |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
if test ! -s conftest.err; then |
|
$SED '/^$/d' conftest.err >conftest.er2 |
|
|
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
|
13683 |
lt_prog_compiler_pic_works_F77=yes |
lt_prog_compiler_pic_works_F77=yes |
13684 |
fi |
fi |
13685 |
fi |
fi |
13731 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
13732 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13733 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
13734 |
(eval echo "\"\$as_me:14016: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:13734: $lt_compile\"" >&5) |
13735 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
13736 |
ac_status=$? |
ac_status=$? |
13737 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
13738 |
echo "$as_me:14020: \$? = $ac_status" >&5 |
echo "$as_me:13738: \$? = $ac_status" >&5 |
13739 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
13740 |
then |
then |
13741 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
13742 |
# So say no if there are warnings |
# So say no if there are warnings |
13743 |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
if test ! -s out/conftest.err; then |
|
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
|
|
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
13744 |
lt_cv_prog_compiler_c_o_F77=yes |
lt_cv_prog_compiler_c_o_F77=yes |
13745 |
fi |
fi |
13746 |
fi |
fi |
13820 |
# rely on this symbol name, it's probably fine to never include it in |
# rely on this symbol name, it's probably fine to never include it in |
13821 |
# preloaded symbol tables. |
# preloaded symbol tables. |
13822 |
extract_expsyms_cmds= |
extract_expsyms_cmds= |
|
# Just being paranoid about ensuring that cc_basename is set. |
|
|
for cc_temp in $compiler""; do |
|
|
case $cc_temp in |
|
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
|
\-*) ;; |
|
|
*) break;; |
|
|
esac |
|
|
done |
|
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
13823 |
|
|
13824 |
case $host_os in |
case $host_os in |
13825 |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
13840 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
# If archive_cmds runs LD, not CC, wlarc should be empty |
13841 |
wlarc='${wl}' |
wlarc='${wl}' |
13842 |
|
|
|
# Set some defaults for GNU ld with shared library support. These |
|
|
# are reset later if shared libraries are not supported. Putting them |
|
|
# here allows them to be overridden if necessary. |
|
|
runpath_var=LD_RUN_PATH |
|
|
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' |
|
|
export_dynamic_flag_spec_F77='${wl}--export-dynamic' |
|
|
# ancient GNU ld didn't support --whole-archive et. al. |
|
|
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
|
|
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
|
else |
|
|
whole_archive_flag_spec_F77= |
|
|
fi |
|
|
supports_anon_versioning=no |
|
|
case `$LD -v 2>/dev/null` in |
|
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
|
*\ 2.11.*) ;; # other 2.11 versions |
|
|
*) supports_anon_versioning=yes ;; |
|
|
esac |
|
|
|
|
13843 |
# See if GNU ld supports shared libraries. |
# See if GNU ld supports shared libraries. |
13844 |
case $host_os in |
case $host_os in |
13845 |
aix3* | aix4* | aix5*) |
aix3* | aix4* | aix5*) |
13890 |
allow_undefined_flag_F77=unsupported |
allow_undefined_flag_F77=unsupported |
13891 |
always_export_symbols_F77=no |
always_export_symbols_F77=no |
13892 |
enable_shared_with_static_runtimes_F77=yes |
enable_shared_with_static_runtimes_F77=yes |
13893 |
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
13894 |
|
|
13895 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
13896 |
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
13904 |
fi~ |
fi~ |
13905 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
13906 |
else |
else |
13907 |
ld_shlibs_F77=no |
ld_shlibs=no |
|
fi |
|
|
;; |
|
|
|
|
|
linux*) |
|
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
|
tmp_addflag= |
|
|
case $cc_basename,$host_cpu in |
|
|
pgcc*) # Portland Group C compiler |
|
|
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' |
|
|
tmp_addflag=' $pic_flag' |
|
|
;; |
|
|
pgf77* | pgf90* ) # Portland Group f77 and f90 compilers |
|
|
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' |
|
|
tmp_addflag=' $pic_flag -Mnomain' ;; |
|
|
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
|
|
tmp_addflag=' -i_dynamic' ;; |
|
|
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
|
tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
|
ifc* | ifort*) # Intel Fortran compiler |
|
|
tmp_addflag=' -nofor_main' ;; |
|
|
esac |
|
|
archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
|
|
|
if test $supports_anon_versioning = yes; then |
|
|
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ |
|
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
|
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
|
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
|
fi |
|
|
else |
|
|
ld_shlibs_F77=no |
|
13908 |
fi |
fi |
13909 |
;; |
;; |
13910 |
|
|
13946 |
hardcode_shlibpath_var_F77=no |
hardcode_shlibpath_var_F77=no |
13947 |
;; |
;; |
13948 |
|
|
13949 |
|
linux*) |
13950 |
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
13951 |
|
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
13952 |
|
archive_cmds_F77="$tmp_archive_cmds" |
13953 |
|
supports_anon_versioning=no |
13954 |
|
case `$LD -v 2>/dev/null` in |
13955 |
|
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
13956 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
13957 |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
13958 |
|
*\ 2.11.*) ;; # other 2.11 versions |
13959 |
|
*) supports_anon_versioning=yes ;; |
13960 |
|
esac |
13961 |
|
if test $supports_anon_versioning = yes; then |
13962 |
|
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ |
13963 |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
13964 |
|
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
13965 |
|
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
13966 |
|
else |
13967 |
|
archive_expsym_cmds_F77="$tmp_archive_cmds" |
13968 |
|
fi |
13969 |
|
else |
13970 |
|
ld_shlibs_F77=no |
13971 |
|
fi |
13972 |
|
;; |
13973 |
|
|
13974 |
*) |
*) |
13975 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
13976 |
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
13981 |
;; |
;; |
13982 |
esac |
esac |
13983 |
|
|
13984 |
if test "$ld_shlibs_F77" = no; then |
if test "$ld_shlibs_F77" = yes; then |
13985 |
runpath_var= |
runpath_var=LD_RUN_PATH |
13986 |
hardcode_libdir_flag_spec_F77= |
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' |
13987 |
export_dynamic_flag_spec_F77= |
export_dynamic_flag_spec_F77='${wl}--export-dynamic' |
13988 |
whole_archive_flag_spec_F77= |
# ancient GNU ld didn't support --whole-archive et. al. |
13989 |
|
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
13990 |
|
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
13991 |
|
else |
13992 |
|
whole_archive_flag_spec_F77= |
13993 |
|
fi |
13994 |
fi |
fi |
13995 |
else |
else |
13996 |
# PORTME fill in a description of your system's linker (not GNU ld) |
# PORTME fill in a description of your system's linker (not GNU ld) |
14054 |
link_all_deplibs_F77=yes |
link_all_deplibs_F77=yes |
14055 |
|
|
14056 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
14057 |
case $host_os in aix4.[012]|aix4.[012].*) |
case $host_os in aix4.012|aix4.012.*) |
14058 |
# We only want to do this on AIX 4.2 and lower, the check |
# We only want to do this on AIX 4.2 and lower, the check |
14059 |
# below for broken collect2 doesn't work under 4.3+ |
# below for broken collect2 doesn't work under 4.3+ |
14060 |
collect2name=`${CC} -print-prog-name=collect2` |
collect2name=`${CC} -print-prog-name=collect2` |
14075 |
fi |
fi |
14076 |
esac |
esac |
14077 |
shared_flag='-shared' |
shared_flag='-shared' |
|
if test "$aix_use_runtimelinking" = yes; then |
|
|
shared_flag="$shared_flag "'${wl}-G' |
|
|
fi |
|
14078 |
else |
else |
14079 |
# not using gcc |
# not using gcc |
14080 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
14215 |
ld_shlibs_F77=no |
ld_shlibs_F77=no |
14216 |
;; |
;; |
14217 |
|
|
14218 |
bsdi[45]*) |
bsdi4*) |
14219 |
export_dynamic_flag_spec_F77=-rdynamic |
export_dynamic_flag_spec_F77=-rdynamic |
14220 |
;; |
;; |
14221 |
|
|
14236 |
old_archive_From_new_cmds_F77='true' |
old_archive_From_new_cmds_F77='true' |
14237 |
# FIXME: Should let the user specify the lib program. |
# FIXME: Should let the user specify the lib program. |
14238 |
old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' |
old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' |
14239 |
fix_srcfile_path_F77='`cygpath -w "$srcfile"`' |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
14240 |
enable_shared_with_static_runtimes_F77=yes |
enable_shared_with_static_runtimes_F77=yes |
14241 |
;; |
;; |
14242 |
|
|
14243 |
darwin* | rhapsody*) |
darwin* | rhapsody*) |
14244 |
|
if test "$GXX" = yes ; then |
14245 |
|
archive_cmds_need_lc_F77=no |
14246 |
case "$host_os" in |
case "$host_os" in |
14247 |
rhapsody* | darwin1.[012]) |
rhapsody* | darwin1.[012]) |
14248 |
allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' |
allow_undefined_flag_F77='-undefined suppress' |
14249 |
;; |
;; |
14250 |
*) # Darwin 1.3 on |
*) # Darwin 1.3 on |
14251 |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
14252 |
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
allow_undefined_flag_F77='-flat_namespace -undefined suppress' |
14253 |
else |
else |
14254 |
case ${MACOSX_DEPLOYMENT_TARGET} in |
case ${MACOSX_DEPLOYMENT_TARGET} in |
14255 |
10.[012]) |
10.[012]) |
14256 |
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
allow_undefined_flag_F77='-flat_namespace -undefined suppress' |
14257 |
;; |
;; |
14258 |
10.*) |
10.*) |
14259 |
allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup' |
allow_undefined_flag_F77='-undefined dynamic_lookup' |
14260 |
;; |
;; |
14261 |
esac |
esac |
14262 |
fi |
fi |
14263 |
;; |
;; |
14264 |
esac |
esac |
14265 |
archive_cmds_need_lc_F77=no |
lt_int_apple_cc_single_mod=no |
14266 |
|
output_verbose_link_cmd='echo' |
14267 |
|
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then |
14268 |
|
lt_int_apple_cc_single_mod=yes |
14269 |
|
fi |
14270 |
|
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
14271 |
|
archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
14272 |
|
else |
14273 |
|
archive_cmds_F77='$CC -r ${wl}-bind_at_load -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' |
14274 |
|
fi |
14275 |
|
module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
14276 |
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
14277 |
|
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
14278 |
|
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
14279 |
|
else |
14280 |
|
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
14281 |
|
fi |
14282 |
|
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}' |
14283 |
hardcode_direct_F77=no |
hardcode_direct_F77=no |
14284 |
hardcode_automatic_F77=yes |
hardcode_automatic_F77=yes |
14285 |
hardcode_shlibpath_var_F77=unsupported |
hardcode_shlibpath_var_F77=unsupported |
14286 |
whole_archive_flag_spec_F77='' |
whole_archive_flag_spec_F77='-all_load $convenience' |
14287 |
link_all_deplibs_F77=yes |
link_all_deplibs_F77=yes |
|
if test "$GCC" = yes ; then |
|
|
output_verbose_link_cmd='echo' |
|
|
archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
|
|
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
|
|
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
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}' |
|
14288 |
else |
else |
14289 |
case $cc_basename in |
ld_shlibs_F77=no |
|
xlc*) |
|
|
output_verbose_link_cmd='echo' |
|
|
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
|
|
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
|
|
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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
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}' |
|
|
;; |
|
|
*) |
|
|
ld_shlibs_F77=no |
|
|
;; |
|
|
esac |
|
14290 |
fi |
fi |
14291 |
;; |
;; |
14292 |
|
|
14320 |
;; |
;; |
14321 |
|
|
14322 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
14323 |
freebsd* | kfreebsd*-gnu | dragonfly*) |
freebsd* | kfreebsd*-gnu) |
14324 |
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
14325 |
hardcode_libdir_flag_spec_F77='-R$libdir' |
hardcode_libdir_flag_spec_F77='-R$libdir' |
14326 |
hardcode_direct_F77=yes |
hardcode_direct_F77=yes |
14431 |
hardcode_shlibpath_var_F77=no |
hardcode_shlibpath_var_F77=no |
14432 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
14433 |
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
|
14434 |
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
14435 |
export_dynamic_flag_spec_F77='${wl}-E' |
export_dynamic_flag_spec_F77='${wl}-E' |
14436 |
else |
else |
14476 |
allow_undefined_flag_F77=' -expect_unresolved \*' |
allow_undefined_flag_F77=' -expect_unresolved \*' |
14477 |
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' |
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' |
14478 |
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~ |
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~ |
14479 |
$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' |
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' |
14480 |
|
|
14481 |
# Both c and cxx compiler support -rpath directly |
# Both c and cxx compiler support -rpath directly |
14482 |
hardcode_libdir_flag_spec_F77='-rpath $libdir' |
hardcode_libdir_flag_spec_F77='-rpath $libdir' |
14495 |
solaris*) |
solaris*) |
14496 |
no_undefined_flag_F77=' -z text' |
no_undefined_flag_F77=' -z text' |
14497 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
|
wlarc='${wl}' |
|
14498 |
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
14499 |
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
14500 |
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
14501 |
else |
else |
|
wlarc='' |
|
14502 |
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
14503 |
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
14504 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
14507 |
hardcode_shlibpath_var_F77=no |
hardcode_shlibpath_var_F77=no |
14508 |
case $host_os in |
case $host_os in |
14509 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
14510 |
*) |
*) # Supported since Solaris 2.6 (maybe 2.5.1?) |
14511 |
# The compiler driver will combine linker options so we |
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; |
|
# cannot just pass the convience library names through |
|
|
# without $wl, iff we do not link with $LD. |
|
|
# Luckily, gcc supports the same syntax we need for Sun Studio. |
|
|
# Supported since Solaris 2.6 (maybe 2.5.1?) |
|
|
case $wlarc in |
|
|
'') |
|
|
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; |
|
|
*) |
|
|
whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; |
|
|
esac ;; |
|
14512 |
esac |
esac |
14513 |
link_all_deplibs_F77=yes |
link_all_deplibs_F77=yes |
14514 |
;; |
;; |
14782 |
shlibpath_var=LIBRARY_PATH |
shlibpath_var=LIBRARY_PATH |
14783 |
;; |
;; |
14784 |
|
|
14785 |
bsdi[45]*) |
bsdi4*) |
14786 |
version_type=linux |
version_type=linux |
14787 |
need_version=no |
need_version=no |
14788 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
14840 |
;; |
;; |
14841 |
pw32*) |
pw32*) |
14842 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
14843 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' |
14844 |
;; |
;; |
14845 |
esac |
esac |
14846 |
;; |
;; |
14898 |
dynamic_linker='GNU ld.so' |
dynamic_linker='GNU ld.so' |
14899 |
;; |
;; |
14900 |
|
|
14901 |
freebsd* | dragonfly*) |
freebsd*) |
|
# DragonFly does not have aout. When/if they implement a new |
|
|
# versioning mechanism, adjust this. |
|
14902 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
14903 |
version_type=freebsd-$objformat |
version_type=freebsd-$objformat |
14904 |
case $version_type in |
case $version_type in |
14917 |
freebsd2*) |
freebsd2*) |
14918 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
14919 |
;; |
;; |
14920 |
freebsd3.[01]* | freebsdelf3.[01]*) |
freebsd3.01* | freebsdelf3.01*) |
14921 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
14922 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
14923 |
;; |
;; |
15041 |
# before this can be enabled. |
# before this can be enabled. |
15042 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
15043 |
|
|
|
# find out which ABI we are using |
|
15044 |
libsuff= |
libsuff= |
15045 |
case "$host_cpu" in |
if test "$lt_cv_cc_lib64_suffix" = "yes"; then |
15046 |
x86_64*|s390x*|powerpc64*) |
libsuff=64 |
15047 |
echo '#line 15382 "configure"' > conftest.$ac_ext |
fi |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; then |
|
|
case `/usr/bin/file conftest.$ac_objext` in |
|
|
*64-bit*) |
|
|
libsuff=64 |
|
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
rm -rf conftest* |
|
|
;; |
|
|
esac |
|
15048 |
|
|
15049 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
15050 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
15051 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` |
15052 |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/X11R6/lib${libsuff} $lt_ld_extra" |
15053 |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/X11R6/lib${libsuff} /usr/local/lib${libsuff} $lt_ld_extra" |
15054 |
fi |
fi |
15055 |
|
|
15056 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
15112 |
openbsd*) |
openbsd*) |
15113 |
version_type=sunos |
version_type=sunos |
15114 |
need_lib_prefix=no |
need_lib_prefix=no |
15115 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
need_version=yes |
|
case $host_os in |
|
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
|
*) need_version=no ;; |
|
|
esac |
|
15116 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
15117 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
15118 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
15234 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
15235 |
hardcode_action_F77= |
hardcode_action_F77= |
15236 |
if test -n "$hardcode_libdir_flag_spec_F77" || \ |
if test -n "$hardcode_libdir_flag_spec_F77" || \ |
15237 |
test -n "$runpath_var_F77" || \ |
test -n "$runpath_var F77" || \ |
15238 |
test "X$hardcode_automatic_F77" = "Xyes" ; then |
test "X$hardcode_automatic_F77"="Xyes" ; then |
15239 |
|
|
15240 |
# We can hardcode non-existant directories. |
# We can hardcode non-existant directories. |
15241 |
if test "$hardcode_direct_F77" != no && |
if test "$hardcode_direct_F77" != no && |
15412 |
# The host system. |
# The host system. |
15413 |
host_alias=$host_alias |
host_alias=$host_alias |
15414 |
host=$host |
host=$host |
|
host_os=$host_os |
|
|
|
|
|
# The build system. |
|
|
build_alias=$build_alias |
|
|
build=$build |
|
|
build_os=$build_os |
|
15415 |
|
|
15416 |
# An echo program that does not interpret backslashes. |
# An echo program that does not interpret backslashes. |
15417 |
echo=$lt_echo |
echo=$lt_echo |
15488 |
# Does compiler simultaneously support -c and -o options? |
# Does compiler simultaneously support -c and -o options? |
15489 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 |
15490 |
|
|
15491 |
# Must we lock files when doing compilation? |
# Must we lock files when doing compilation ? |
15492 |
need_locks=$lt_need_locks |
need_locks=$lt_need_locks |
15493 |
|
|
15494 |
# Do we need the lib prefix for modules? |
# Do we need the lib prefix for modules? |
15726 |
lt_simple_compile_test_code="class foo {}\n" |
lt_simple_compile_test_code="class foo {}\n" |
15727 |
|
|
15728 |
# Code to be used in simple link tests |
# Code to be used in simple link tests |
15729 |
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n' |
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n' |
15730 |
|
|
15731 |
# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
15732 |
|
|
15737 |
compiler=$CC |
compiler=$CC |
15738 |
|
|
15739 |
|
|
|
# save warnings/boilerplate of simple test code |
|
|
ac_outfile=conftest.$ac_objext |
|
|
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
|
|
_lt_compiler_boilerplate=`cat conftest.err` |
|
|
$rm conftest* |
|
|
|
|
|
ac_outfile=conftest.$ac_objext |
|
|
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
|
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
|
|
_lt_linker_boilerplate=`cat conftest.err` |
|
|
$rm conftest* |
|
|
|
|
|
|
|
15740 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
15741 |
lt_save_CC="$CC" |
lt_save_CC="$CC" |
15742 |
CC=${GCJ-"gcj"} |
CC=${GCJ-"gcj"} |
15743 |
compiler=$CC |
compiler=$CC |
15744 |
compiler_GCJ=$CC |
compiler_GCJ=$CC |
|
for cc_temp in $compiler""; do |
|
|
case $cc_temp in |
|
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
|
\-*) ;; |
|
|
*) break;; |
|
|
esac |
|
|
done |
|
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
|
|
|
15745 |
|
|
15746 |
# GCJ did not exist at the time GCC didn't implicitly link libc in. |
# GCJ did not exist at the time GCC didn't implicitly link libc in. |
15747 |
archive_cmds_need_lc_GCJ=no |
archive_cmds_need_lc_GCJ=no |
15748 |
|
|
|
old_archive_cmds_GCJ=$old_archive_cmds |
|
|
|
|
15749 |
|
|
15750 |
lt_prog_compiler_no_builtin_flag_GCJ= |
lt_prog_compiler_no_builtin_flag_GCJ= |
15751 |
|
|
15771 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
15772 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15773 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
15774 |
(eval echo "\"\$as_me:16159: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:15774: $lt_compile\"" >&5) |
15775 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
15776 |
ac_status=$? |
ac_status=$? |
15777 |
cat conftest.err >&5 |
cat conftest.err >&5 |
15778 |
echo "$as_me:16163: \$? = $ac_status" >&5 |
echo "$as_me:15778: \$? = $ac_status" >&5 |
15779 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
15780 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
15781 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings |
15782 |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
if test ! -s conftest.err; then |
|
$SED '/^$/d' conftest.err >conftest.er2 |
|
|
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
|
15783 |
lt_cv_prog_compiler_rtti_exceptions=yes |
lt_cv_prog_compiler_rtti_exceptions=yes |
15784 |
fi |
fi |
15785 |
fi |
fi |
15882 |
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' |
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' |
15883 |
fi |
fi |
15884 |
;; |
;; |
|
darwin*) |
|
|
# PIC is the default on this platform |
|
|
# Common symbols not allowed in MH_DYLIB files |
|
|
case $cc_basename in |
|
|
xlc*) |
|
|
lt_prog_compiler_pic_GCJ='-qnocommon' |
|
|
lt_prog_compiler_wl_GCJ='-Wl,' |
|
|
;; |
|
|
esac |
|
|
;; |
|
15885 |
|
|
15886 |
mingw* | pw32* | os2*) |
mingw* | pw32* | os2*) |
15887 |
# This hack is so that the source file can tell whether it is being |
# This hack is so that the source file can tell whether it is being |
15917 |
;; |
;; |
15918 |
|
|
15919 |
linux*) |
linux*) |
15920 |
case $cc_basename in |
case $CC in |
15921 |
icc* | ecc*) |
icc* | ecc*) |
15922 |
lt_prog_compiler_wl_GCJ='-Wl,' |
lt_prog_compiler_wl_GCJ='-Wl,' |
15923 |
lt_prog_compiler_pic_GCJ='-KPIC' |
lt_prog_compiler_pic_GCJ='-KPIC' |
15924 |
lt_prog_compiler_static_GCJ='-static' |
lt_prog_compiler_static_GCJ='-static' |
15925 |
;; |
;; |
|
pgcc* | pgf77* | pgf90*) |
|
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
|
|
# which looks to be a dead project) |
|
|
lt_prog_compiler_wl_GCJ='-Wl,' |
|
|
lt_prog_compiler_pic_GCJ='-fpic' |
|
|
lt_prog_compiler_static_GCJ='-static' |
|
|
;; |
|
15926 |
ccc*) |
ccc*) |
15927 |
lt_prog_compiler_wl_GCJ='-Wl,' |
lt_prog_compiler_wl_GCJ='-Wl,' |
15928 |
# All Alpha code is PIC. |
# All Alpha code is PIC. |
15943 |
;; |
;; |
15944 |
|
|
15945 |
solaris*) |
solaris*) |
15946 |
|
lt_prog_compiler_wl_GCJ='-Wl,' |
15947 |
lt_prog_compiler_pic_GCJ='-KPIC' |
lt_prog_compiler_pic_GCJ='-KPIC' |
15948 |
lt_prog_compiler_static_GCJ='-Bstatic' |
lt_prog_compiler_static_GCJ='-Bstatic' |
|
case $cc_basename in |
|
|
f77* | f90* | f95*) |
|
|
lt_prog_compiler_wl_GCJ='-Qoption ld ';; |
|
|
*) |
|
|
lt_prog_compiler_wl_GCJ='-Wl,';; |
|
|
esac |
|
15949 |
;; |
;; |
15950 |
|
|
15951 |
sunos4*) |
sunos4*) |
15967 |
fi |
fi |
15968 |
;; |
;; |
15969 |
|
|
|
unicos*) |
|
|
lt_prog_compiler_wl_GCJ='-Wl,' |
|
|
lt_prog_compiler_can_build_shared_GCJ=no |
|
|
;; |
|
|
|
|
15970 |
uts4*) |
uts4*) |
15971 |
lt_prog_compiler_pic_GCJ='-pic' |
lt_prog_compiler_pic_GCJ='-pic' |
15972 |
lt_prog_compiler_static_GCJ='-Bstatic' |
lt_prog_compiler_static_GCJ='-Bstatic' |
16004 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16005 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16006 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
16007 |
(eval echo "\"\$as_me:16421: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:16007: $lt_compile\"" >&5) |
16008 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
16009 |
ac_status=$? |
ac_status=$? |
16010 |
cat conftest.err >&5 |
cat conftest.err >&5 |
16011 |
echo "$as_me:16425: \$? = $ac_status" >&5 |
echo "$as_me:16011: \$? = $ac_status" >&5 |
16012 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
16013 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
16014 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings |
16015 |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
if test ! -s conftest.err; then |
|
$SED '/^$/d' conftest.err >conftest.er2 |
|
|
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
|
16016 |
lt_prog_compiler_pic_works_GCJ=yes |
lt_prog_compiler_pic_works_GCJ=yes |
16017 |
fi |
fi |
16018 |
fi |
fi |
16064 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16065 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16066 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
16067 |
(eval echo "\"\$as_me:16483: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:16067: $lt_compile\"" >&5) |
16068 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
16069 |
ac_status=$? |
ac_status=$? |
16070 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
16071 |
echo "$as_me:16487: \$? = $ac_status" >&5 |
echo "$as_me:16071: \$? = $ac_status" >&5 |
16072 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
16073 |
then |
then |
16074 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
16075 |
# So say no if there are warnings |
# So say no if there are warnings |
16076 |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
if test ! -s out/conftest.err; then |
|
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
|
|
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
16077 |
lt_cv_prog_compiler_c_o_GCJ=yes |
lt_cv_prog_compiler_c_o_GCJ=yes |
16078 |
fi |
fi |
16079 |
fi |
fi |
16153 |
# rely on this symbol name, it's probably fine to never include it in |
# rely on this symbol name, it's probably fine to never include it in |
16154 |
# preloaded symbol tables. |
# preloaded symbol tables. |
16155 |
extract_expsyms_cmds= |
extract_expsyms_cmds= |
|
# Just being paranoid about ensuring that cc_basename is set. |
|
|
for cc_temp in $compiler""; do |
|
|
case $cc_temp in |
|
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
|
\-*) ;; |
|
|
*) break;; |
|
|
esac |
|
|
done |
|
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
16156 |
|
|
16157 |
case $host_os in |
case $host_os in |
16158 |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
16173 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
# If archive_cmds runs LD, not CC, wlarc should be empty |
16174 |
wlarc='${wl}' |
wlarc='${wl}' |
16175 |
|
|
|
# Set some defaults for GNU ld with shared library support. These |
|
|
# are reset later if shared libraries are not supported. Putting them |
|
|
# here allows them to be overridden if necessary. |
|
|
runpath_var=LD_RUN_PATH |
|
|
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' |
|
|
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' |
|
|
# ancient GNU ld didn't support --whole-archive et. al. |
|
|
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
|
|
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
|
else |
|
|
whole_archive_flag_spec_GCJ= |
|
|
fi |
|
|
supports_anon_versioning=no |
|
|
case `$LD -v 2>/dev/null` in |
|
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
|
*\ 2.11.*) ;; # other 2.11 versions |
|
|
*) supports_anon_versioning=yes ;; |
|
|
esac |
|
|
|
|
16176 |
# See if GNU ld supports shared libraries. |
# See if GNU ld supports shared libraries. |
16177 |
case $host_os in |
case $host_os in |
16178 |
aix3* | aix4* | aix5*) |
aix3* | aix4* | aix5*) |
16223 |
allow_undefined_flag_GCJ=unsupported |
allow_undefined_flag_GCJ=unsupported |
16224 |
always_export_symbols_GCJ=no |
always_export_symbols_GCJ=no |
16225 |
enable_shared_with_static_runtimes_GCJ=yes |
enable_shared_with_static_runtimes_GCJ=yes |
16226 |
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
16227 |
|
|
16228 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
16229 |
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
16237 |
fi~ |
fi~ |
16238 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
16239 |
else |
else |
16240 |
ld_shlibs_GCJ=no |
ld_shlibs=no |
|
fi |
|
|
;; |
|
|
|
|
|
linux*) |
|
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
|
tmp_addflag= |
|
|
case $cc_basename,$host_cpu in |
|
|
pgcc*) # Portland Group C compiler |
|
|
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' |
|
|
tmp_addflag=' $pic_flag' |
|
|
;; |
|
|
pgf77* | pgf90* ) # Portland Group f77 and f90 compilers |
|
|
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' |
|
|
tmp_addflag=' $pic_flag -Mnomain' ;; |
|
|
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
|
|
tmp_addflag=' -i_dynamic' ;; |
|
|
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
|
tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
|
ifc* | ifort*) # Intel Fortran compiler |
|
|
tmp_addflag=' -nofor_main' ;; |
|
|
esac |
|
|
archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
|
|
|
if test $supports_anon_versioning = yes; then |
|
|
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ |
|
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
|
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
|
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
|
fi |
|
|
else |
|
|
ld_shlibs_GCJ=no |
|
16241 |
fi |
fi |
16242 |
;; |
;; |
16243 |
|
|
16279 |
hardcode_shlibpath_var_GCJ=no |
hardcode_shlibpath_var_GCJ=no |
16280 |
;; |
;; |
16281 |
|
|
16282 |
|
linux*) |
16283 |
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
16284 |
|
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
16285 |
|
archive_cmds_GCJ="$tmp_archive_cmds" |
16286 |
|
supports_anon_versioning=no |
16287 |
|
case `$LD -v 2>/dev/null` in |
16288 |
|
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
16289 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
16290 |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
16291 |
|
*\ 2.11.*) ;; # other 2.11 versions |
16292 |
|
*) supports_anon_versioning=yes ;; |
16293 |
|
esac |
16294 |
|
if test $supports_anon_versioning = yes; then |
16295 |
|
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ |
16296 |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
16297 |
|
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
16298 |
|
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
16299 |
|
else |
16300 |
|
archive_expsym_cmds_GCJ="$tmp_archive_cmds" |
16301 |
|
fi |
16302 |
|
else |
16303 |
|
ld_shlibs_GCJ=no |
16304 |
|
fi |
16305 |
|
;; |
16306 |
|
|
16307 |
*) |
*) |
16308 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
16309 |
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
16314 |
;; |
;; |
16315 |
esac |
esac |
16316 |
|
|
16317 |
if test "$ld_shlibs_GCJ" = no; then |
if test "$ld_shlibs_GCJ" = yes; then |
16318 |
runpath_var= |
runpath_var=LD_RUN_PATH |
16319 |
hardcode_libdir_flag_spec_GCJ= |
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' |
16320 |
export_dynamic_flag_spec_GCJ= |
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' |
16321 |
whole_archive_flag_spec_GCJ= |
# ancient GNU ld didn't support --whole-archive et. al. |
16322 |
|
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
16323 |
|
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
16324 |
|
else |
16325 |
|
whole_archive_flag_spec_GCJ= |
16326 |
|
fi |
16327 |
fi |
fi |
16328 |
else |
else |
16329 |
# PORTME fill in a description of your system's linker (not GNU ld) |
# PORTME fill in a description of your system's linker (not GNU ld) |
16387 |
link_all_deplibs_GCJ=yes |
link_all_deplibs_GCJ=yes |
16388 |
|
|
16389 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
16390 |
case $host_os in aix4.[012]|aix4.[012].*) |
case $host_os in aix4.012|aix4.012.*) |
16391 |
# We only want to do this on AIX 4.2 and lower, the check |
# We only want to do this on AIX 4.2 and lower, the check |
16392 |
# below for broken collect2 doesn't work under 4.3+ |
# below for broken collect2 doesn't work under 4.3+ |
16393 |
collect2name=`${CC} -print-prog-name=collect2` |
collect2name=`${CC} -print-prog-name=collect2` |
16408 |
fi |
fi |
16409 |
esac |
esac |
16410 |
shared_flag='-shared' |
shared_flag='-shared' |
|
if test "$aix_use_runtimelinking" = yes; then |
|
|
shared_flag="$shared_flag "'${wl}-G' |
|
|
fi |
|
16411 |
else |
else |
16412 |
# not using gcc |
# not using gcc |
16413 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
16568 |
ld_shlibs_GCJ=no |
ld_shlibs_GCJ=no |
16569 |
;; |
;; |
16570 |
|
|
16571 |
bsdi[45]*) |
bsdi4*) |
16572 |
export_dynamic_flag_spec_GCJ=-rdynamic |
export_dynamic_flag_spec_GCJ=-rdynamic |
16573 |
;; |
;; |
16574 |
|
|
16589 |
old_archive_From_new_cmds_GCJ='true' |
old_archive_From_new_cmds_GCJ='true' |
16590 |
# FIXME: Should let the user specify the lib program. |
# FIXME: Should let the user specify the lib program. |
16591 |
old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' |
old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' |
16592 |
fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
16593 |
enable_shared_with_static_runtimes_GCJ=yes |
enable_shared_with_static_runtimes_GCJ=yes |
16594 |
;; |
;; |
16595 |
|
|
16596 |
darwin* | rhapsody*) |
darwin* | rhapsody*) |
16597 |
|
if test "$GXX" = yes ; then |
16598 |
|
archive_cmds_need_lc_GCJ=no |
16599 |
case "$host_os" in |
case "$host_os" in |
16600 |
rhapsody* | darwin1.[012]) |
rhapsody* | darwin1.[012]) |
16601 |
allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' |
allow_undefined_flag_GCJ='-undefined suppress' |
16602 |
;; |
;; |
16603 |
*) # Darwin 1.3 on |
*) # Darwin 1.3 on |
16604 |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
16605 |
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' |
16606 |
else |
else |
16607 |
case ${MACOSX_DEPLOYMENT_TARGET} in |
case ${MACOSX_DEPLOYMENT_TARGET} in |
16608 |
10.[012]) |
10.[012]) |
16609 |
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' |
16610 |
;; |
;; |
16611 |
10.*) |
10.*) |
16612 |
allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup' |
allow_undefined_flag_GCJ='-undefined dynamic_lookup' |
16613 |
;; |
;; |
16614 |
esac |
esac |
16615 |
fi |
fi |
16616 |
;; |
;; |
16617 |
esac |
esac |
16618 |
archive_cmds_need_lc_GCJ=no |
lt_int_apple_cc_single_mod=no |
16619 |
|
output_verbose_link_cmd='echo' |
16620 |
|
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then |
16621 |
|
lt_int_apple_cc_single_mod=yes |
16622 |
|
fi |
16623 |
|
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
16624 |
|
archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
16625 |
|
else |
16626 |
|
archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -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' |
16627 |
|
fi |
16628 |
|
module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
16629 |
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
16630 |
|
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
16631 |
|
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
16632 |
|
else |
16633 |
|
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
16634 |
|
fi |
16635 |
|
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}' |
16636 |
hardcode_direct_GCJ=no |
hardcode_direct_GCJ=no |
16637 |
hardcode_automatic_GCJ=yes |
hardcode_automatic_GCJ=yes |
16638 |
hardcode_shlibpath_var_GCJ=unsupported |
hardcode_shlibpath_var_GCJ=unsupported |
16639 |
whole_archive_flag_spec_GCJ='' |
whole_archive_flag_spec_GCJ='-all_load $convenience' |
16640 |
link_all_deplibs_GCJ=yes |
link_all_deplibs_GCJ=yes |
|
if test "$GCC" = yes ; then |
|
|
output_verbose_link_cmd='echo' |
|
|
archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
|
|
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
|
|
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
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}' |
|
16641 |
else |
else |
16642 |
case $cc_basename in |
ld_shlibs_GCJ=no |
|
xlc*) |
|
|
output_verbose_link_cmd='echo' |
|
|
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
|
|
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
|
|
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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
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}' |
|
|
;; |
|
|
*) |
|
|
ld_shlibs_GCJ=no |
|
|
;; |
|
|
esac |
|
16643 |
fi |
fi |
16644 |
;; |
;; |
16645 |
|
|
16673 |
;; |
;; |
16674 |
|
|
16675 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
16676 |
freebsd* | kfreebsd*-gnu | dragonfly*) |
freebsd* | kfreebsd*-gnu) |
16677 |
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
16678 |
hardcode_libdir_flag_spec_GCJ='-R$libdir' |
hardcode_libdir_flag_spec_GCJ='-R$libdir' |
16679 |
hardcode_direct_GCJ=yes |
hardcode_direct_GCJ=yes |
16784 |
hardcode_shlibpath_var_GCJ=no |
hardcode_shlibpath_var_GCJ=no |
16785 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
16786 |
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
|
16787 |
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
16788 |
export_dynamic_flag_spec_GCJ='${wl}-E' |
export_dynamic_flag_spec_GCJ='${wl}-E' |
16789 |
else |
else |
16829 |
allow_undefined_flag_GCJ=' -expect_unresolved \*' |
allow_undefined_flag_GCJ=' -expect_unresolved \*' |
16830 |
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' |
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' |
16831 |
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~ |
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~ |
16832 |
$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' |
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' |
16833 |
|
|
16834 |
# Both c and cxx compiler support -rpath directly |
# Both c and cxx compiler support -rpath directly |
16835 |
hardcode_libdir_flag_spec_GCJ='-rpath $libdir' |
hardcode_libdir_flag_spec_GCJ='-rpath $libdir' |
16848 |
solaris*) |
solaris*) |
16849 |
no_undefined_flag_GCJ=' -z text' |
no_undefined_flag_GCJ=' -z text' |
16850 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
|
wlarc='${wl}' |
|
16851 |
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
16852 |
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
16853 |
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
16854 |
else |
else |
|
wlarc='' |
|
16855 |
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
16856 |
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
16857 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
16860 |
hardcode_shlibpath_var_GCJ=no |
hardcode_shlibpath_var_GCJ=no |
16861 |
case $host_os in |
case $host_os in |
16862 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
16863 |
*) |
*) # Supported since Solaris 2.6 (maybe 2.5.1?) |
16864 |
# The compiler driver will combine linker options so we |
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; |
|
# cannot just pass the convience library names through |
|
|
# without $wl, iff we do not link with $LD. |
|
|
# Luckily, gcc supports the same syntax we need for Sun Studio. |
|
|
# Supported since Solaris 2.6 (maybe 2.5.1?) |
|
|
case $wlarc in |
|
|
'') |
|
|
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; |
|
|
*) |
|
|
whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; |
|
|
esac ;; |
|
16865 |
esac |
esac |
16866 |
link_all_deplibs_GCJ=yes |
link_all_deplibs_GCJ=yes |
16867 |
;; |
;; |
17135 |
shlibpath_var=LIBRARY_PATH |
shlibpath_var=LIBRARY_PATH |
17136 |
;; |
;; |
17137 |
|
|
17138 |
bsdi[45]*) |
bsdi4*) |
17139 |
version_type=linux |
version_type=linux |
17140 |
need_version=no |
need_version=no |
17141 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
17193 |
;; |
;; |
17194 |
pw32*) |
pw32*) |
17195 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
17196 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' |
17197 |
;; |
;; |
17198 |
esac |
esac |
17199 |
;; |
;; |
17251 |
dynamic_linker='GNU ld.so' |
dynamic_linker='GNU ld.so' |
17252 |
;; |
;; |
17253 |
|
|
17254 |
freebsd* | dragonfly*) |
freebsd*) |
|
# DragonFly does not have aout. When/if they implement a new |
|
|
# versioning mechanism, adjust this. |
|
17255 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
17256 |
version_type=freebsd-$objformat |
version_type=freebsd-$objformat |
17257 |
case $version_type in |
case $version_type in |
17270 |
freebsd2*) |
freebsd2*) |
17271 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
17272 |
;; |
;; |
17273 |
freebsd3.[01]* | freebsdelf3.[01]*) |
freebsd3.01* | freebsdelf3.01*) |
17274 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
17275 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
17276 |
;; |
;; |
17394 |
# before this can be enabled. |
# before this can be enabled. |
17395 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
17396 |
|
|
|
# find out which ABI we are using |
|
17397 |
libsuff= |
libsuff= |
17398 |
case "$host_cpu" in |
if test "$lt_cv_cc_lib64_suffix" = "yes"; then |
17399 |
x86_64*|s390x*|powerpc64*) |
libsuff=64 |
17400 |
echo '#line 17869 "configure"' > conftest.$ac_ext |
fi |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; then |
|
|
case `/usr/bin/file conftest.$ac_objext` in |
|
|
*64-bit*) |
|
|
libsuff=64 |
|
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
rm -rf conftest* |
|
|
;; |
|
|
esac |
|
17401 |
|
|
17402 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
17403 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
17404 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` |
17405 |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/X11R6/lib${libsuff} $lt_ld_extra" |
17406 |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/X11R6/lib${libsuff} /usr/local/lib${libsuff} $lt_ld_extra" |
17407 |
fi |
fi |
17408 |
|
|
17409 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
17465 |
openbsd*) |
openbsd*) |
17466 |
version_type=sunos |
version_type=sunos |
17467 |
need_lib_prefix=no |
need_lib_prefix=no |
17468 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
need_version=yes |
|
case $host_os in |
|
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
|
*) need_version=no ;; |
|
|
esac |
|
17469 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
17470 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
17471 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
17587 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
17588 |
hardcode_action_GCJ= |
hardcode_action_GCJ= |
17589 |
if test -n "$hardcode_libdir_flag_spec_GCJ" || \ |
if test -n "$hardcode_libdir_flag_spec_GCJ" || \ |
17590 |
test -n "$runpath_var_GCJ" || \ |
test -n "$runpath_var GCJ" || \ |
17591 |
test "X$hardcode_automatic_GCJ" = "Xyes" ; then |
test "X$hardcode_automatic_GCJ"="Xyes" ; then |
17592 |
|
|
17593 |
# We can hardcode non-existant directories. |
# We can hardcode non-existant directories. |
17594 |
if test "$hardcode_direct_GCJ" != no && |
if test "$hardcode_direct_GCJ" != no && |
18254 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18255 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
18256 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
18257 |
#line 18744 "configure" |
#line 18257 "configure" |
18258 |
#include "confdefs.h" |
#include "confdefs.h" |
18259 |
|
|
18260 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
18352 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18353 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
18354 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
18355 |
#line 18842 "configure" |
#line 18355 "configure" |
18356 |
#include "confdefs.h" |
#include "confdefs.h" |
18357 |
|
|
18358 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
18570 |
# The host system. |
# The host system. |
18571 |
host_alias=$host_alias |
host_alias=$host_alias |
18572 |
host=$host |
host=$host |
|
host_os=$host_os |
|
|
|
|
|
# The build system. |
|
|
build_alias=$build_alias |
|
|
build=$build |
|
|
build_os=$build_os |
|
18573 |
|
|
18574 |
# An echo program that does not interpret backslashes. |
# An echo program that does not interpret backslashes. |
18575 |
echo=$lt_echo |
echo=$lt_echo |
18646 |
# Does compiler simultaneously support -c and -o options? |
# Does compiler simultaneously support -c and -o options? |
18647 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ |
18648 |
|
|
18649 |
# Must we lock files when doing compilation? |
# Must we lock files when doing compilation ? |
18650 |
need_locks=$lt_need_locks |
need_locks=$lt_need_locks |
18651 |
|
|
18652 |
# Do we need the lib prefix for modules? |
# Do we need the lib prefix for modules? |
18894 |
compiler=$CC |
compiler=$CC |
18895 |
|
|
18896 |
|
|
|
# save warnings/boilerplate of simple test code |
|
|
ac_outfile=conftest.$ac_objext |
|
|
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
|
|
_lt_compiler_boilerplate=`cat conftest.err` |
|
|
$rm conftest* |
|
|
|
|
|
ac_outfile=conftest.$ac_objext |
|
|
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
|
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
|
|
_lt_linker_boilerplate=`cat conftest.err` |
|
|
$rm conftest* |
|
|
|
|
|
|
|
18897 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
18898 |
lt_save_CC="$CC" |
lt_save_CC="$CC" |
18899 |
CC=${RC-"windres"} |
CC=${RC-"windres"} |
18900 |
compiler=$CC |
compiler=$CC |
18901 |
compiler_RC=$CC |
compiler_RC=$CC |
|
for cc_temp in $compiler""; do |
|
|
case $cc_temp in |
|
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
|
\-*) ;; |
|
|
*) break;; |
|
|
esac |
|
|
done |
|
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
|
|
|
18902 |
lt_cv_prog_compiler_c_o_RC=yes |
lt_cv_prog_compiler_c_o_RC=yes |
18903 |
|
|
18904 |
# The else clause should only fire when bootstrapping the |
# The else clause should only fire when bootstrapping the |
19015 |
# The host system. |
# The host system. |
19016 |
host_alias=$host_alias |
host_alias=$host_alias |
19017 |
host=$host |
host=$host |
|
host_os=$host_os |
|
|
|
|
|
# The build system. |
|
|
build_alias=$build_alias |
|
|
build=$build |
|
|
build_os=$build_os |
|
19018 |
|
|
19019 |
# An echo program that does not interpret backslashes. |
# An echo program that does not interpret backslashes. |
19020 |
echo=$lt_echo |
echo=$lt_echo |
19091 |
# Does compiler simultaneously support -c and -o options? |
# Does compiler simultaneously support -c and -o options? |
19092 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC |
19093 |
|
|
19094 |
# Must we lock files when doing compilation? |
# Must we lock files when doing compilation ? |
19095 |
need_locks=$lt_need_locks |
need_locks=$lt_need_locks |
19096 |
|
|
19097 |
# Do we need the lib prefix for modules? |
# Do we need the lib prefix for modules? |
20472 |
s,@STRIP@,$STRIP,;t t |
s,@STRIP@,$STRIP,;t t |
20473 |
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
20474 |
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
20475 |
|
s,@mkdir_p@,$mkdir_p,;t t |
20476 |
s,@AWK@,$AWK,;t t |
s,@AWK@,$AWK,;t t |
20477 |
s,@SET_MAKE@,$SET_MAKE,;t t |
s,@SET_MAKE@,$SET_MAKE,;t t |
20478 |
s,@am__leading_dot@,$am__leading_dot,;t t |
s,@am__leading_dot@,$am__leading_dot,;t t |
21154 |
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue |
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue |
21155 |
# Extract the definition of DEP_FILES from the Makefile without |
# Extract the definition of DEP_FILES from the Makefile without |
21156 |
# running `make'. |
# running `make'. |
21157 |
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
21158 |
test -z "$DEPDIR" && continue |
test -z "$DEPDIR" && continue |
21159 |
# When using ansi2knr, U may be empty or an underscore; expand it |
# When using ansi2knr, U may be empty or an underscore; expand it |
21160 |
U=`sed -n -e '/^U = / s///p' < "$mf"` |
U=`sed -n 's/^U = //p' < "$mf"` |
21161 |
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" |
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" |
21162 |
# We invoke sed twice because it is the simplest approach to |
# We invoke sed twice because it is the simplest approach to |
21163 |
# changing $(DEPDIR) to its actual value in the expansion. |
# changing $(DEPDIR) to its actual value in the expansion. |
21164 |
for file in `sed -n -e ' |
for file in `sed -n ' |
21165 |
/^DEP_FILES = .*\\\\$/ { |
/^DEP_FILES = .*\\\\$/ { |
21166 |
s/^DEP_FILES = // |
s/^DEP_FILES = // |
21167 |
:loop |
:loop |