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 |
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
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 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 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. |
1773 |
|
|
1774 |
# Define the identity of the package. |
# Define the identity of the package. |
1775 |
PACKAGE=yoda |
PACKAGE=yoda |
1776 |
VERSION=2.0.0 |
VERSION=4.2.4 |
1777 |
|
|
1778 |
|
|
1779 |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
4154 |
# Add /usr/xpg4/bin/sed as it is typically found on Solaris |
# Add /usr/xpg4/bin/sed as it is typically found on Solaris |
4155 |
# along with /bin/sed that truncates output. |
# along with /bin/sed that truncates output. |
4156 |
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 |
4157 |
test ! -f $lt_ac_sed && break |
test ! -f $lt_ac_sed && continue |
4158 |
cat /dev/null > conftest.in |
cat /dev/null > conftest.in |
4159 |
lt_ac_count=0 |
lt_ac_count=0 |
4160 |
echo $ECHO_N "0123456789$ECHO_C" >conftest.in |
echo $ECHO_N "0123456789$ECHO_C" >conftest.in |
4179 |
fi |
fi |
4180 |
done |
done |
4181 |
done |
done |
|
SED=$lt_cv_path_SED |
|
4182 |
|
|
4183 |
fi |
fi |
4184 |
|
|
4185 |
|
SED=$lt_cv_path_SED |
4186 |
echo "$as_me:$LINENO: result: $SED" >&5 |
echo "$as_me:$LINENO: result: $SED" >&5 |
4187 |
echo "${ECHO_T}$SED" >&6 |
echo "${ECHO_T}$SED" >&6 |
4188 |
|
|
4323 |
*) reload_flag=" $reload_flag" ;; |
*) reload_flag=" $reload_flag" ;; |
4324 |
esac |
esac |
4325 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
4326 |
|
case $host_os in |
4327 |
|
darwin*) |
4328 |
|
if test "$GCC" = yes; then |
4329 |
|
reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs' |
4330 |
|
else |
4331 |
|
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
4332 |
|
fi |
4333 |
|
;; |
4334 |
|
esac |
4335 |
|
|
4336 |
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
4337 |
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 |
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 |
4418 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
4419 |
;; |
;; |
4420 |
|
|
4421 |
bsdi4*) |
bsdi[45]*) |
4422 |
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)' |
4423 |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
4424 |
lt_cv_file_magic_test_file=/shlib/libc.so |
lt_cv_file_magic_test_file=/shlib/libc.so |
4441 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
4442 |
;; |
;; |
4443 |
|
|
4444 |
freebsd* | kfreebsd*-gnu) |
freebsd* | kfreebsd*-gnu | dragonfly*) |
4445 |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
4446 |
case $host_cpu in |
case $host_cpu in |
4447 |
i*86 ) |
i*86 ) |
4448 |
# Not sure whether the presence of OpenBSD here was a mistake. |
# Not sure whether the presence of OpenBSD here was a mistake. |
4449 |
# Let's accept both of them until this is cleared up. |
# Let's accept both of them until this is cleared up. |
4450 |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
4451 |
lt_cv_file_magic_cmd=/usr/bin/file |
lt_cv_file_magic_cmd=/usr/bin/file |
4452 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
4453 |
;; |
;; |
4491 |
|
|
4492 |
# This must be Linux ELF. |
# This must be Linux ELF. |
4493 |
linux*) |
linux*) |
|
case $host_cpu in |
|
|
alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*) |
|
|
lt_cv_deplibs_check_method=pass_all ;; |
|
|
*) |
|
|
# glibc up to 2.1.1 does not perform some relocations on ARM |
|
|
# this will be overridden with pass_all, but let us keep it just in case |
|
|
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; |
|
|
esac |
|
|
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` |
|
4494 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
4495 |
;; |
;; |
4496 |
|
|
4513 |
;; |
;; |
4514 |
|
|
4515 |
openbsd*) |
openbsd*) |
|
lt_cv_file_magic_cmd=/usr/bin/file |
|
|
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
|
4516 |
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 |
4517 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
4518 |
else |
else |
4519 |
lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
4520 |
fi |
fi |
4521 |
;; |
;; |
4522 |
|
|
4609 |
;; |
;; |
4610 |
*-*-irix6*) |
*-*-irix6*) |
4611 |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
4612 |
echo '#line 4614 "configure"' > conftest.$ac_ext |
echo '#line 4612 "configure"' > conftest.$ac_ext |
4613 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4614 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
4615 |
ac_status=$? |
ac_status=$? |
4647 |
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) |
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) |
4648 |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
4649 |
echo 'int i;' > conftest.$ac_ext |
echo 'int i;' > conftest.$ac_ext |
|
lt_cv_cc_lib64_suffix=no |
|
4650 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4651 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
4652 |
ac_status=$? |
ac_status=$? |
4653 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4654 |
(exit $ac_status); }; then |
(exit $ac_status); }; then |
4655 |
case "`/usr/bin/file conftest.$ac_objext`" in |
case "`/usr/bin/file conftest.o`" in |
4656 |
*32-bit*) |
*32-bit*) |
4657 |
case $host in |
case $host in |
4658 |
x86_64-*linux*) |
x86_64-*linux*) |
4673 |
case $host in |
case $host in |
4674 |
x86_64-*linux*) |
x86_64-*linux*) |
4675 |
LD="${LD-ld} -m elf_x86_64" |
LD="${LD-ld} -m elf_x86_64" |
|
lt_cv_cc_lib64_suffix=yes |
|
4676 |
;; |
;; |
4677 |
ppc*-*linux*|powerpc*-*linux*) |
ppc*-*linux*|powerpc*-*linux*) |
4678 |
LD="${LD-ld} -m elf64ppc" |
LD="${LD-ld} -m elf64ppc" |
|
lt_cv_cc_lib64_suffix=yes |
|
4679 |
;; |
;; |
4680 |
s390*-*linux*) |
s390*-*linux*) |
4681 |
LD="${LD-ld} -m elf64_s390" |
LD="${LD-ld} -m elf64_s390" |
|
lt_cv_cc_lib64_suffix=yes |
|
4682 |
;; |
;; |
4683 |
sparc*-*linux*) |
sparc*-*linux*) |
4684 |
LD="${LD-ld} -m elf64_sparc" |
LD="${LD-ld} -m elf64_sparc" |
|
lt_cv_cc_lib64_suffix=yes |
|
4685 |
;; |
;; |
4686 |
esac |
esac |
4687 |
;; |
;; |
5394 |
|
|
5395 |
done |
done |
5396 |
|
|
5397 |
ac_ext=cc |
|
5398 |
|
|
5399 |
|
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
5400 |
|
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
5401 |
|
(test "X$CXX" != "Xg++"))) ; then |
5402 |
|
ac_ext=cc |
5403 |
ac_cpp='$CXXCPP $CPPFLAGS' |
ac_cpp='$CXXCPP $CPPFLAGS' |
5404 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5405 |
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' |
5629 |
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' |
5630 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5631 |
|
|
5632 |
|
fi |
5633 |
|
|
5634 |
|
|
5635 |
|
|
5636 |
# 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! |
5677 |
lt_cv_sys_max_cmd_len=8192; |
lt_cv_sys_max_cmd_len=8192; |
5678 |
;; |
;; |
5679 |
|
|
5680 |
*) |
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
5681 |
|
# This has been around since 386BSD, at least. Likely further. |
5682 |
|
if test -x /sbin/sysctl; then |
5683 |
|
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
5684 |
|
elif test -x /usr/sbin/sysctl; then |
5685 |
|
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
5686 |
|
else |
5687 |
|
lt_cv_sys_max_cmd_len=65536 # usable default for *BSD |
5688 |
|
fi |
5689 |
|
# And add a safety zone |
5690 |
|
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
5691 |
|
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
5692 |
|
;; |
5693 |
|
osf*) |
5694 |
|
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
5695 |
|
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
5696 |
|
# nice to cause kernel panics so lets avoid the loop below. |
5697 |
|
# First set a reasonable default. |
5698 |
|
lt_cv_sys_max_cmd_len=16384 |
5699 |
|
# |
5700 |
|
if test -x /sbin/sysconfig; then |
5701 |
|
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
5702 |
|
*1*) lt_cv_sys_max_cmd_len=-1 ;; |
5703 |
|
esac |
5704 |
|
fi |
5705 |
|
;; |
5706 |
|
*) |
5707 |
# 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 |
5708 |
# maximum length that is only half of the actual maximum length, but |
# maximum length that is only half of the actual maximum length, but |
5709 |
# we can't tell. |
# we can't tell. |
5710 |
while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ |
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
5711 |
|
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ |
5712 |
= "XX$teststring") >/dev/null 2>&1 && |
= "XX$teststring") >/dev/null 2>&1 && |
5713 |
new_result=`expr "X$teststring" : ".*" 2>&1` && |
new_result=`expr "X$teststring" : ".*" 2>&1` && |
5714 |
lt_cv_sys_max_cmd_len=$new_result && |
lt_cv_sys_max_cmd_len=$new_result && |
5754 |
# Regexp to match symbols that can be accessed directly from C. |
# Regexp to match symbols that can be accessed directly from C. |
5755 |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
5756 |
|
|
|
# Transform the above into a raw symbol and a C symbol. |
|
|
symxfrm='\1 \2\3 \3' |
|
|
|
|
5757 |
# Transform an extracted symbol line into a proper C declaration |
# Transform an extracted symbol line into a proper C declaration |
5758 |
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'" |
5759 |
|
|
5775 |
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'" |
5776 |
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'" |
5777 |
;; |
;; |
5778 |
|
linux*) |
5779 |
|
if test "$host_cpu" = ia64; then |
5780 |
|
symcode='[ABCDGIRSTW]' |
5781 |
|
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
5782 |
|
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'" |
5783 |
|
fi |
5784 |
|
;; |
5785 |
irix* | nonstopux*) |
irix* | nonstopux*) |
5786 |
symcode='[BCDEGRST]' |
symcode='[BCDEGRST]' |
5787 |
;; |
;; |
5813 |
# Try without a prefix undercore, then with it. |
# Try without a prefix undercore, then with it. |
5814 |
for ac_symprfx in "" "_"; do |
for ac_symprfx in "" "_"; do |
5815 |
|
|
5816 |
|
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
5817 |
|
symxfrm="\\1 $ac_symprfx\\2 \\2" |
5818 |
|
|
5819 |
# Write the raw and C identifiers. |
# Write the raw and C identifiers. |
5820 |
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'" |
5821 |
|
|
5822 |
# Check to see that the pipe works correctly. |
# Check to see that the pipe works correctly. |
5823 |
pipe_works=no |
pipe_works=no |
5979 |
|
|
5980 |
# Sed substitution that helps us do robust quoting. It backslashifies |
# Sed substitution that helps us do robust quoting. It backslashifies |
5981 |
# metacharacters that are still active within double-quoted strings. |
# metacharacters that are still active within double-quoted strings. |
5982 |
Xsed='sed -e s/^X//' |
Xsed='sed -e 1s/^X//' |
5983 |
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' |
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' |
5984 |
|
|
5985 |
# Same as above, but do not quote variable references. |
# Same as above, but do not quote variable references. |
6284 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
6285 |
fi |
fi |
6286 |
|
|
6287 |
|
for cc_temp in $compiler""; do |
6288 |
|
case $cc_temp in |
6289 |
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
6290 |
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
6291 |
|
\-*) ;; |
6292 |
|
*) break;; |
6293 |
|
esac |
6294 |
|
done |
6295 |
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
6296 |
|
|
6297 |
|
|
6298 |
# Only perform the check for file, if the check method requires it |
# Only perform the check for file, if the check method requires it |
6299 |
case $deplibs_check_method in |
case $deplibs_check_method in |
6300 |
file_magic*) |
file_magic*) |
6481 |
compiler=$CC |
compiler=$CC |
6482 |
|
|
6483 |
|
|
6484 |
|
# save warnings/boilerplate of simple test code |
6485 |
|
ac_outfile=conftest.$ac_objext |
6486 |
|
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
6487 |
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
6488 |
|
_lt_compiler_boilerplate=`cat conftest.err` |
6489 |
|
$rm conftest* |
6490 |
|
|
6491 |
|
ac_outfile=conftest.$ac_objext |
6492 |
|
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
6493 |
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
6494 |
|
_lt_linker_boilerplate=`cat conftest.err` |
6495 |
|
$rm conftest* |
6496 |
|
|
6497 |
|
|
6498 |
# |
# |
6499 |
# Check for any special shared library compilation flags. |
# Check for any special shared library compilation flags. |
6500 |
# |
# |
6536 |
if test -s conftest.err; then |
if test -s conftest.err; then |
6537 |
# Append any errors to the config.log. |
# Append any errors to the config.log. |
6538 |
cat conftest.err 1>&5 |
cat conftest.err 1>&5 |
6539 |
|
$echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp |
6540 |
|
$SED '/^$/d' conftest.err >conftest.er2 |
6541 |
|
if diff conftest.exp conftest.er2 >/dev/null; then |
6542 |
|
lt_prog_compiler_static_works=yes |
6543 |
|
fi |
6544 |
else |
else |
6545 |
lt_prog_compiler_static_works=yes |
lt_prog_compiler_static_works=yes |
6546 |
fi |
fi |
6585 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6586 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6587 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
6588 |
(eval echo "\"\$as_me:6524: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6588: $lt_compile\"" >&5) |
6589 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
6590 |
ac_status=$? |
ac_status=$? |
6591 |
cat conftest.err >&5 |
cat conftest.err >&5 |
6592 |
echo "$as_me:6528: \$? = $ac_status" >&5 |
echo "$as_me:6592: \$? = $ac_status" >&5 |
6593 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
6594 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
6595 |
# So say no if there are warnings |
# So say no if there are warnings other than the usual output. |
6596 |
if test ! -s conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
6597 |
|
$SED '/^$/d' conftest.err >conftest.er2 |
6598 |
|
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
6599 |
lt_cv_prog_compiler_rtti_exceptions=yes |
lt_cv_prog_compiler_rtti_exceptions=yes |
6600 |
fi |
fi |
6601 |
fi |
fi |
6698 |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
6699 |
fi |
fi |
6700 |
;; |
;; |
6701 |
|
darwin*) |
6702 |
|
# PIC is the default on this platform |
6703 |
|
# Common symbols not allowed in MH_DYLIB files |
6704 |
|
case $cc_basename in |
6705 |
|
xlc*) |
6706 |
|
lt_prog_compiler_pic='-qnocommon' |
6707 |
|
lt_prog_compiler_wl='-Wl,' |
6708 |
|
;; |
6709 |
|
esac |
6710 |
|
;; |
6711 |
|
|
6712 |
mingw* | pw32* | os2*) |
mingw* | pw32* | os2*) |
6713 |
# 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 |
6743 |
;; |
;; |
6744 |
|
|
6745 |
linux*) |
linux*) |
6746 |
case $CC in |
case $cc_basename in |
6747 |
icc* | ecc*) |
icc* | ecc*) |
6748 |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
6749 |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_pic='-KPIC' |
6750 |
lt_prog_compiler_static='-static' |
lt_prog_compiler_static='-static' |
6751 |
;; |
;; |
6752 |
|
pgcc* | pgf77* | pgf90*) |
6753 |
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
6754 |
|
# which looks to be a dead project) |
6755 |
|
lt_prog_compiler_wl='-Wl,' |
6756 |
|
lt_prog_compiler_pic='-fpic' |
6757 |
|
lt_prog_compiler_static='-static' |
6758 |
|
;; |
6759 |
ccc*) |
ccc*) |
6760 |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
6761 |
# All Alpha code is PIC. |
# All Alpha code is PIC. |
6776 |
;; |
;; |
6777 |
|
|
6778 |
solaris*) |
solaris*) |
|
lt_prog_compiler_wl='-Wl,' |
|
6779 |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_pic='-KPIC' |
6780 |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_static='-Bstatic' |
6781 |
|
case $cc_basename in |
6782 |
|
f77* | f90* | f95*) |
6783 |
|
lt_prog_compiler_wl='-Qoption ld ';; |
6784 |
|
*) |
6785 |
|
lt_prog_compiler_wl='-Wl,';; |
6786 |
|
esac |
6787 |
;; |
;; |
6788 |
|
|
6789 |
sunos4*) |
sunos4*) |
6805 |
fi |
fi |
6806 |
;; |
;; |
6807 |
|
|
6808 |
|
unicos*) |
6809 |
|
lt_prog_compiler_wl='-Wl,' |
6810 |
|
lt_prog_compiler_can_build_shared=no |
6811 |
|
;; |
6812 |
|
|
6813 |
uts4*) |
uts4*) |
6814 |
lt_prog_compiler_pic='-pic' |
lt_prog_compiler_pic='-pic' |
6815 |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_static='-Bstatic' |
6847 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6848 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6849 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
6850 |
(eval echo "\"\$as_me:6757: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6850: $lt_compile\"" >&5) |
6851 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
6852 |
ac_status=$? |
ac_status=$? |
6853 |
cat conftest.err >&5 |
cat conftest.err >&5 |
6854 |
echo "$as_me:6761: \$? = $ac_status" >&5 |
echo "$as_me:6854: \$? = $ac_status" >&5 |
6855 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
6856 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
6857 |
# So say no if there are warnings |
# So say no if there are warnings other than the usual output. |
6858 |
if test ! -s conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
6859 |
|
$SED '/^$/d' conftest.err >conftest.er2 |
6860 |
|
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
6861 |
lt_prog_compiler_pic_works=yes |
lt_prog_compiler_pic_works=yes |
6862 |
fi |
fi |
6863 |
fi |
fi |
6909 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6910 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6911 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
6912 |
(eval echo "\"\$as_me:6817: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6912: $lt_compile\"" >&5) |
6913 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
6914 |
ac_status=$? |
ac_status=$? |
6915 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
6916 |
echo "$as_me:6821: \$? = $ac_status" >&5 |
echo "$as_me:6916: \$? = $ac_status" >&5 |
6917 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
6918 |
then |
then |
6919 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
6920 |
# So say no if there are warnings |
# So say no if there are warnings |
6921 |
if test ! -s out/conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
6922 |
|
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
6923 |
|
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
6924 |
lt_cv_prog_compiler_c_o=yes |
lt_cv_prog_compiler_c_o=yes |
6925 |
fi |
fi |
6926 |
fi |
fi |
7000 |
# 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 |
7001 |
# preloaded symbol tables. |
# preloaded symbol tables. |
7002 |
extract_expsyms_cmds= |
extract_expsyms_cmds= |
7003 |
|
# Just being paranoid about ensuring that cc_basename is set. |
7004 |
|
for cc_temp in $compiler""; do |
7005 |
|
case $cc_temp in |
7006 |
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
7007 |
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
7008 |
|
\-*) ;; |
7009 |
|
*) break;; |
7010 |
|
esac |
7011 |
|
done |
7012 |
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
7013 |
|
|
7014 |
case $host_os in |
case $host_os in |
7015 |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
7030 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
# If archive_cmds runs LD, not CC, wlarc should be empty |
7031 |
wlarc='${wl}' |
wlarc='${wl}' |
7032 |
|
|
7033 |
|
# Set some defaults for GNU ld with shared library support. These |
7034 |
|
# are reset later if shared libraries are not supported. Putting them |
7035 |
|
# here allows them to be overridden if necessary. |
7036 |
|
runpath_var=LD_RUN_PATH |
7037 |
|
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' |
7038 |
|
export_dynamic_flag_spec='${wl}--export-dynamic' |
7039 |
|
# ancient GNU ld didn't support --whole-archive et. al. |
7040 |
|
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
7041 |
|
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
7042 |
|
else |
7043 |
|
whole_archive_flag_spec= |
7044 |
|
fi |
7045 |
|
supports_anon_versioning=no |
7046 |
|
case `$LD -v 2>/dev/null` in |
7047 |
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
7048 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
7049 |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
7050 |
|
*\ 2.11.*) ;; # other 2.11 versions |
7051 |
|
*) supports_anon_versioning=yes ;; |
7052 |
|
esac |
7053 |
|
|
7054 |
# See if GNU ld supports shared libraries. |
# See if GNU ld supports shared libraries. |
7055 |
case $host_os in |
case $host_os in |
7056 |
aix3* | aix4* | aix5*) |
aix3* | aix4* | aix5*) |
7101 |
allow_undefined_flag=unsupported |
allow_undefined_flag=unsupported |
7102 |
always_export_symbols=no |
always_export_symbols=no |
7103 |
enable_shared_with_static_runtimes=yes |
enable_shared_with_static_runtimes=yes |
7104 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
7105 |
|
|
7106 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
7107 |
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' |
7119 |
fi |
fi |
7120 |
;; |
;; |
7121 |
|
|
7122 |
|
linux*) |
7123 |
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
7124 |
|
tmp_addflag= |
7125 |
|
case $cc_basename,$host_cpu in |
7126 |
|
pgcc*) # Portland Group C compiler |
7127 |
|
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' |
7128 |
|
tmp_addflag=' $pic_flag' |
7129 |
|
;; |
7130 |
|
pgf77* | pgf90* ) # Portland Group f77 and f90 compilers |
7131 |
|
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' |
7132 |
|
tmp_addflag=' $pic_flag -Mnomain' ;; |
7133 |
|
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
7134 |
|
tmp_addflag=' -i_dynamic' ;; |
7135 |
|
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
7136 |
|
tmp_addflag=' -i_dynamic -nofor_main' ;; |
7137 |
|
ifc* | ifort*) # Intel Fortran compiler |
7138 |
|
tmp_addflag=' -nofor_main' ;; |
7139 |
|
esac |
7140 |
|
archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
7141 |
|
|
7142 |
|
if test $supports_anon_versioning = yes; then |
7143 |
|
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ |
7144 |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
7145 |
|
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
7146 |
|
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
7147 |
|
fi |
7148 |
|
else |
7149 |
|
ld_shlibs=no |
7150 |
|
fi |
7151 |
|
;; |
7152 |
|
|
7153 |
netbsd*) |
netbsd*) |
7154 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
7155 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
7188 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
7189 |
;; |
;; |
7190 |
|
|
|
linux*) |
|
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
|
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
archive_cmds="$tmp_archive_cmds" |
|
|
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 |
|
|
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 $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
|
else |
|
|
archive_expsym_cmds="$tmp_archive_cmds" |
|
|
fi |
|
|
else |
|
|
ld_shlibs=no |
|
|
fi |
|
|
;; |
|
|
|
|
7191 |
*) |
*) |
7192 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
7193 |
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' |
7198 |
;; |
;; |
7199 |
esac |
esac |
7200 |
|
|
7201 |
if test "$ld_shlibs" = yes; then |
if test "$ld_shlibs" = no; then |
7202 |
runpath_var=LD_RUN_PATH |
runpath_var= |
7203 |
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' |
hardcode_libdir_flag_spec= |
7204 |
export_dynamic_flag_spec='${wl}--export-dynamic' |
export_dynamic_flag_spec= |
7205 |
# ancient GNU ld didn't support --whole-archive et. al. |
whole_archive_flag_spec= |
|
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 |
|
7206 |
fi |
fi |
7207 |
else |
else |
7208 |
# 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) |
7266 |
link_all_deplibs=yes |
link_all_deplibs=yes |
7267 |
|
|
7268 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
7269 |
case $host_os in aix4.012|aix4.012.*) |
case $host_os in aix4.[012]|aix4.[012].*) |
7270 |
# 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 |
7271 |
# below for broken collect2 doesn't work under 4.3+ |
# below for broken collect2 doesn't work under 4.3+ |
7272 |
collect2name=`${CC} -print-prog-name=collect2` |
collect2name=`${CC} -print-prog-name=collect2` |
7287 |
fi |
fi |
7288 |
esac |
esac |
7289 |
shared_flag='-shared' |
shared_flag='-shared' |
7290 |
|
if test "$aix_use_runtimelinking" = yes; then |
7291 |
|
shared_flag="$shared_flag "'${wl}-G' |
7292 |
|
fi |
7293 |
else |
else |
7294 |
# not using gcc |
# not using gcc |
7295 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
7450 |
ld_shlibs=no |
ld_shlibs=no |
7451 |
;; |
;; |
7452 |
|
|
7453 |
bsdi4*) |
bsdi[45]*) |
7454 |
export_dynamic_flag_spec=-rdynamic |
export_dynamic_flag_spec=-rdynamic |
7455 |
;; |
;; |
7456 |
|
|
7476 |
;; |
;; |
7477 |
|
|
7478 |
darwin* | rhapsody*) |
darwin* | rhapsody*) |
|
if test "$GXX" = yes ; then |
|
|
archive_cmds_need_lc=no |
|
7479 |
case "$host_os" in |
case "$host_os" in |
7480 |
rhapsody* | darwin1.[012]) |
rhapsody* | darwin1.[012]) |
7481 |
allow_undefined_flag='-undefined suppress' |
allow_undefined_flag='${wl}-undefined ${wl}suppress' |
7482 |
;; |
;; |
7483 |
*) # Darwin 1.3 on |
*) # Darwin 1.3 on |
7484 |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
7485 |
allow_undefined_flag='-flat_namespace -undefined suppress' |
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
7486 |
else |
else |
7487 |
case ${MACOSX_DEPLOYMENT_TARGET} in |
case ${MACOSX_DEPLOYMENT_TARGET} in |
7488 |
10.[012]) |
10.[012]) |
7489 |
allow_undefined_flag='-flat_namespace -undefined suppress' |
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
7490 |
;; |
;; |
7491 |
10.*) |
10.*) |
7492 |
allow_undefined_flag='-undefined dynamic_lookup' |
allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' |
7493 |
;; |
;; |
7494 |
esac |
esac |
7495 |
fi |
fi |
7496 |
;; |
;; |
7497 |
esac |
esac |
7498 |
lt_int_apple_cc_single_mod=no |
archive_cmds_need_lc=no |
|
output_verbose_link_cmd='echo' |
|
|
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then |
|
|
lt_int_apple_cc_single_mod=yes |
|
|
fi |
|
|
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
|
archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
|
|
else |
|
|
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' |
|
|
fi |
|
|
module_cmds='$CC ${wl}-bind_at_load $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 |
|
|
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
|
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}' |
|
|
else |
|
|
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}' |
|
|
fi |
|
|
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}' |
|
7499 |
hardcode_direct=no |
hardcode_direct=no |
7500 |
hardcode_automatic=yes |
hardcode_automatic=yes |
7501 |
hardcode_shlibpath_var=unsupported |
hardcode_shlibpath_var=unsupported |
7502 |
whole_archive_flag_spec='-all_load $convenience' |
whole_archive_flag_spec='' |
7503 |
link_all_deplibs=yes |
link_all_deplibs=yes |
7504 |
|
if test "$GCC" = yes ; then |
7505 |
|
output_verbose_link_cmd='echo' |
7506 |
|
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
7507 |
|
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
7508 |
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
7509 |
|
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}' |
7510 |
|
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}' |
7511 |
else |
else |
7512 |
ld_shlibs=no |
case $cc_basename in |
7513 |
|
xlc*) |
7514 |
|
output_verbose_link_cmd='echo' |
7515 |
|
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
7516 |
|
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
7517 |
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
7518 |
|
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}' |
7519 |
|
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}' |
7520 |
|
;; |
7521 |
|
*) |
7522 |
|
ld_shlibs=no |
7523 |
|
;; |
7524 |
|
esac |
7525 |
fi |
fi |
7526 |
;; |
;; |
7527 |
|
|
7555 |
;; |
;; |
7556 |
|
|
7557 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
7558 |
freebsd* | kfreebsd*-gnu) |
freebsd* | kfreebsd*-gnu | dragonfly*) |
7559 |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
7560 |
hardcode_libdir_flag_spec='-R$libdir' |
hardcode_libdir_flag_spec='-R$libdir' |
7561 |
hardcode_direct=yes |
hardcode_direct=yes |
7666 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
7667 |
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 |
7668 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
7669 |
|
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
7670 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
7671 |
export_dynamic_flag_spec='${wl}-E' |
export_dynamic_flag_spec='${wl}-E' |
7672 |
else |
else |
7712 |
allow_undefined_flag=' -expect_unresolved \*' |
allow_undefined_flag=' -expect_unresolved \*' |
7713 |
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' |
7714 |
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~ |
7715 |
$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' |
$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' |
7716 |
|
|
7717 |
# Both c and cxx compiler support -rpath directly |
# Both c and cxx compiler support -rpath directly |
7718 |
hardcode_libdir_flag_spec='-rpath $libdir' |
hardcode_libdir_flag_spec='-rpath $libdir' |
7731 |
solaris*) |
solaris*) |
7732 |
no_undefined_flag=' -z text' |
no_undefined_flag=' -z text' |
7733 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
7734 |
|
wlarc='${wl}' |
7735 |
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' |
7736 |
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~ |
7737 |
$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' |
7738 |
else |
else |
7739 |
|
wlarc='' |
7740 |
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' |
7741 |
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~ |
7742 |
$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' |
7745 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
7746 |
case $host_os in |
case $host_os in |
7747 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
7748 |
*) # Supported since Solaris 2.6 (maybe 2.5.1?) |
*) |
7749 |
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; |
# The compiler driver will combine linker options so we |
7750 |
|
# cannot just pass the convience library names through |
7751 |
|
# without $wl, iff we do not link with $LD. |
7752 |
|
# Luckily, gcc supports the same syntax we need for Sun Studio. |
7753 |
|
# Supported since Solaris 2.6 (maybe 2.5.1?) |
7754 |
|
case $wlarc in |
7755 |
|
'') |
7756 |
|
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; |
7757 |
|
*) |
7758 |
|
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' ;; |
7759 |
|
esac ;; |
7760 |
esac |
esac |
7761 |
link_all_deplibs=yes |
link_all_deplibs=yes |
7762 |
;; |
;; |
8030 |
shlibpath_var=LIBRARY_PATH |
shlibpath_var=LIBRARY_PATH |
8031 |
;; |
;; |
8032 |
|
|
8033 |
bsdi4*) |
bsdi[45]*) |
8034 |
version_type=linux |
version_type=linux |
8035 |
need_version=no |
need_version=no |
8036 |
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}' |
8088 |
;; |
;; |
8089 |
pw32*) |
pw32*) |
8090 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
8091 |
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}' |
8092 |
;; |
;; |
8093 |
esac |
esac |
8094 |
;; |
;; |
8146 |
dynamic_linker='GNU ld.so' |
dynamic_linker='GNU ld.so' |
8147 |
;; |
;; |
8148 |
|
|
8149 |
freebsd*) |
freebsd* | dragonfly*) |
8150 |
|
# DragonFly does not have aout. When/if they implement a new |
8151 |
|
# versioning mechanism, adjust this. |
8152 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
8153 |
version_type=freebsd-$objformat |
version_type=freebsd-$objformat |
8154 |
case $version_type in |
case $version_type in |
8167 |
freebsd2*) |
freebsd2*) |
8168 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
8169 |
;; |
;; |
8170 |
freebsd3.01* | freebsdelf3.01*) |
freebsd3.[01]* | freebsdelf3.[01]*) |
8171 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
8172 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
8173 |
;; |
;; |
8291 |
# before this can be enabled. |
# before this can be enabled. |
8292 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
8293 |
|
|
8294 |
|
# find out which ABI we are using |
8295 |
libsuff= |
libsuff= |
8296 |
if test "$lt_cv_cc_lib64_suffix" = "yes"; then |
case "$host_cpu" in |
8297 |
libsuff=64 |
x86_64*|s390x*|powerpc64*) |
8298 |
fi |
echo '#line 8298 "configure"' > conftest.$ac_ext |
8299 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8300 |
|
(eval $ac_compile) 2>&5 |
8301 |
|
ac_status=$? |
8302 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8303 |
|
(exit $ac_status); }; then |
8304 |
|
case `/usr/bin/file conftest.$ac_objext` in |
8305 |
|
*64-bit*) |
8306 |
|
libsuff=64 |
8307 |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
8308 |
|
;; |
8309 |
|
esac |
8310 |
|
fi |
8311 |
|
rm -rf conftest* |
8312 |
|
;; |
8313 |
|
esac |
8314 |
|
|
8315 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
8316 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
8317 |
lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` |
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' ' '` |
8318 |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/X11R6/lib${libsuff} $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/X11R6/lib${libsuff} /usr/local/lib${libsuff} $lt_ld_extra" |
|
8319 |
fi |
fi |
8320 |
|
|
8321 |
# 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 |
8377 |
openbsd*) |
openbsd*) |
8378 |
version_type=sunos |
version_type=sunos |
8379 |
need_lib_prefix=no |
need_lib_prefix=no |
8380 |
need_version=yes |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
8381 |
|
case $host_os in |
8382 |
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
8383 |
|
*) need_version=no ;; |
8384 |
|
esac |
8385 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
8386 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
8387 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
8503 |
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 |
8504 |
hardcode_action= |
hardcode_action= |
8505 |
if test -n "$hardcode_libdir_flag_spec" || \ |
if test -n "$hardcode_libdir_flag_spec" || \ |
8506 |
test -n "$runpath_var " || \ |
test -n "$runpath_var" || \ |
8507 |
test "X$hardcode_automatic"="Xyes" ; then |
test "X$hardcode_automatic" = "Xyes" ; then |
8508 |
|
|
8509 |
# We can hardcode non-existant directories. |
# We can hardcode non-existant directories. |
8510 |
if test "$hardcode_direct" != no && |
if test "$hardcode_direct" != no && |
9170 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
9171 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
9172 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
9173 |
#line 9007 "configure" |
#line 9173 "configure" |
9174 |
#include "confdefs.h" |
#include "confdefs.h" |
9175 |
|
|
9176 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
9268 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
9269 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
9270 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
9271 |
#line 9105 "configure" |
#line 9271 "configure" |
9272 |
#include "confdefs.h" |
#include "confdefs.h" |
9273 |
|
|
9274 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
9397 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
9398 |
test "$enable_shared" = yes && enable_static=no |
test "$enable_shared" = yes && enable_static=no |
9399 |
fi |
fi |
|
;; |
|
|
darwin* | rhapsody*) |
|
|
if test "$GCC" = yes; then |
|
|
archive_cmds_need_lc=no |
|
|
case "$host_os" in |
|
|
rhapsody* | darwin1.[012]) |
|
|
allow_undefined_flag='-undefined suppress' |
|
|
;; |
|
|
*) # Darwin 1.3 on |
|
|
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
|
|
allow_undefined_flag='-flat_namespace -undefined suppress' |
|
|
else |
|
|
case ${MACOSX_DEPLOYMENT_TARGET} in |
|
|
10.[012]) |
|
|
allow_undefined_flag='-flat_namespace -undefined suppress' |
|
|
;; |
|
|
10.*) |
|
|
allow_undefined_flag='-undefined dynamic_lookup' |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
;; |
|
|
esac |
|
|
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}' |
|
|
hardcode_direct=no |
|
|
hardcode_automatic=yes |
|
|
hardcode_shlibpath_var=unsupported |
|
|
whole_archive_flag_spec='-all_load $convenience' |
|
|
link_all_deplibs=yes |
|
|
else |
|
|
ld_shlibs=no |
|
|
fi |
|
9400 |
;; |
;; |
9401 |
esac |
esac |
9402 |
echo "$as_me:$LINENO: result: $enable_shared" >&5 |
echo "$as_me:$LINENO: result: $enable_shared" >&5 |
9526 |
# |
# |
9527 |
# You should have received a copy of the GNU General Public License |
# You should have received a copy of the GNU General Public License |
9528 |
# along with this program; if not, write to the Free Software |
# along with this program; if not, write to the Free Software |
9529 |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
9530 |
# |
# |
9531 |
# As a special exception to the GNU General Public License, if you |
# As a special exception to the GNU General Public License, if you |
9532 |
# distribute this file as part of a program that contains a |
# distribute this file as part of a program that contains a |
9537 |
SED=$lt_SED |
SED=$lt_SED |
9538 |
|
|
9539 |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
9540 |
Xsed="$SED -e s/^X//" |
Xsed="$SED -e 1s/^X//" |
9541 |
|
|
9542 |
# 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 |
9543 |
# if CDPATH is set. |
# if CDPATH is set. |
9544 |
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
9545 |
|
|
9546 |
# The names of the tagged configurations supported by this script. |
# The names of the tagged configurations supported by this script. |
9547 |
available_tags= |
available_tags= |
9571 |
# The host system. |
# The host system. |
9572 |
host_alias=$host_alias |
host_alias=$host_alias |
9573 |
host=$host |
host=$host |
9574 |
|
host_os=$host_os |
9575 |
|
|
9576 |
|
# The build system. |
9577 |
|
build_alias=$build_alias |
9578 |
|
build=$build |
9579 |
|
build_os=$build_os |
9580 |
|
|
9581 |
# An echo program that does not interpret backslashes. |
# An echo program that does not interpret backslashes. |
9582 |
echo=$lt_echo |
echo=$lt_echo |
9653 |
# Does compiler simultaneously support -c and -o options? |
# Does compiler simultaneously support -c and -o options? |
9654 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
9655 |
|
|
9656 |
# Must we lock files when doing compilation ? |
# Must we lock files when doing compilation? |
9657 |
need_locks=$lt_need_locks |
need_locks=$lt_need_locks |
9658 |
|
|
9659 |
# Do we need the lib prefix for modules? |
# Do we need the lib prefix for modules? |
9948 |
|
|
9949 |
case $tagname in |
case $tagname in |
9950 |
CXX) |
CXX) |
9951 |
if test -n "$CXX" && test "X$CXX" != "Xno"; then |
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
9952 |
|
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
9953 |
|
(test "X$CXX" != "Xg++"))) ; then |
9954 |
ac_ext=cc |
ac_ext=cc |
9955 |
ac_cpp='$CXXCPP $CPPFLAGS' |
ac_cpp='$CXXCPP $CPPFLAGS' |
9956 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
10008 |
compiler=$CC |
compiler=$CC |
10009 |
|
|
10010 |
|
|
10011 |
|
# save warnings/boilerplate of simple test code |
10012 |
|
ac_outfile=conftest.$ac_objext |
10013 |
|
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
10014 |
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
10015 |
|
_lt_compiler_boilerplate=`cat conftest.err` |
10016 |
|
$rm conftest* |
10017 |
|
|
10018 |
|
ac_outfile=conftest.$ac_objext |
10019 |
|
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
10020 |
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
10021 |
|
_lt_linker_boilerplate=`cat conftest.err` |
10022 |
|
$rm conftest* |
10023 |
|
|
10024 |
|
|
10025 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
10026 |
lt_save_CC=$CC |
lt_save_CC=$CC |
10027 |
lt_save_LD=$LD |
lt_save_LD=$LD |
10043 |
CC=${CXX-"c++"} |
CC=${CXX-"c++"} |
10044 |
compiler=$CC |
compiler=$CC |
10045 |
compiler_CXX=$CC |
compiler_CXX=$CC |
10046 |
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` |
for cc_temp in $compiler""; do |
10047 |
|
case $cc_temp in |
10048 |
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
10049 |
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
10050 |
|
\-*) ;; |
10051 |
|
*) break;; |
10052 |
|
esac |
10053 |
|
done |
10054 |
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
10055 |
|
|
10056 |
|
|
10057 |
# 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 |
10058 |
# no_builtin_flag separately |
# no_builtin_flag separately |
10266 |
link_all_deplibs_CXX=yes |
link_all_deplibs_CXX=yes |
10267 |
|
|
10268 |
if test "$GXX" = yes; then |
if test "$GXX" = yes; then |
10269 |
case $host_os in aix4.012|aix4.012.*) |
case $host_os in aix4.[012]|aix4.[012].*) |
10270 |
# 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 |
10271 |
# below for broken collect2 doesn't work under 4.3+ |
# below for broken collect2 doesn't work under 4.3+ |
10272 |
collect2name=`${CC} -print-prog-name=collect2` |
collect2name=`${CC} -print-prog-name=collect2` |
10287 |
fi |
fi |
10288 |
esac |
esac |
10289 |
shared_flag='-shared' |
shared_flag='-shared' |
10290 |
|
if test "$aix_use_runtimelinking" = yes; then |
10291 |
|
shared_flag="$shared_flag "'${wl}-G' |
10292 |
|
fi |
10293 |
else |
else |
10294 |
# not using gcc |
# not using gcc |
10295 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
10451 |
esac |
esac |
10452 |
;; |
;; |
10453 |
|
|
10454 |
|
|
10455 |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
10456 |
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, |
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, |
10457 |
# as there is no search path for DLLs. |
# as there is no search path for DLLs. |
10475 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10476 |
fi |
fi |
10477 |
;; |
;; |
10478 |
|
darwin* | rhapsody*) |
10479 |
darwin* | rhapsody*) |
case "$host_os" in |
10480 |
if test "$GXX" = yes; then |
rhapsody* | darwin1.[012]) |
10481 |
archive_cmds_need_lc_CXX=no |
allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' |
10482 |
case "$host_os" in |
;; |
10483 |
rhapsody* | darwin1.[012]) |
*) # Darwin 1.3 on |
10484 |
allow_undefined_flag_CXX='-undefined suppress' |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
10485 |
;; |
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
10486 |
*) # Darwin 1.3 on |
else |
10487 |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
case ${MACOSX_DEPLOYMENT_TARGET} in |
10488 |
allow_undefined_flag_CXX='-flat_namespace -undefined suppress' |
10.[012]) |
10489 |
else |
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
10490 |
case ${MACOSX_DEPLOYMENT_TARGET} in |
;; |
10491 |
10.[012]) |
10.*) |
10492 |
allow_undefined_flag_CXX='-flat_namespace -undefined suppress' |
allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' |
10493 |
;; |
;; |
10494 |
10.*) |
esac |
10495 |
allow_undefined_flag_CXX='-undefined dynamic_lookup' |
fi |
10496 |
;; |
;; |
10497 |
esac |
esac |
10498 |
fi |
archive_cmds_need_lc_CXX=no |
10499 |
;; |
hardcode_direct_CXX=no |
10500 |
esac |
hardcode_automatic_CXX=yes |
10501 |
lt_int_apple_cc_single_mod=no |
hardcode_shlibpath_var_CXX=unsupported |
10502 |
output_verbose_link_cmd='echo' |
whole_archive_flag_spec_CXX='' |
10503 |
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then |
link_all_deplibs_CXX=yes |
|
lt_int_apple_cc_single_mod=yes |
|
|
fi |
|
|
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
|
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
|
|
else |
|
|
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' |
|
|
fi |
|
|
module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
10504 |
|
|
10505 |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
if test "$GXX" = yes ; then |
10506 |
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
lt_int_apple_cc_single_mod=no |
10507 |
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}' |
output_verbose_link_cmd='echo' |
10508 |
else |
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then |
10509 |
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}' |
lt_int_apple_cc_single_mod=yes |
10510 |
fi |
fi |
10511 |
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}' |
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
10512 |
hardcode_direct_CXX=no |
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
10513 |
hardcode_automatic_CXX=yes |
else |
10514 |
hardcode_shlibpath_var_CXX=unsupported |
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' |
10515 |
whole_archive_flag_spec_CXX='-all_load $convenience' |
fi |
10516 |
link_all_deplibs_CXX=yes |
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
10517 |
else |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
10518 |
ld_shlibs_CXX=no |
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
10519 |
fi |
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}' |
10520 |
;; |
else |
10521 |
|
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}' |
10522 |
|
fi |
10523 |
|
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}' |
10524 |
|
else |
10525 |
|
case $cc_basename in |
10526 |
|
xlc*) |
10527 |
|
output_verbose_link_cmd='echo' |
10528 |
|
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' |
10529 |
|
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
10530 |
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
10531 |
|
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}' |
10532 |
|
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}' |
10533 |
|
;; |
10534 |
|
*) |
10535 |
|
ld_shlibs_CXX=no |
10536 |
|
;; |
10537 |
|
esac |
10538 |
|
fi |
10539 |
|
;; |
10540 |
|
|
10541 |
dgux*) |
dgux*) |
10542 |
case $cc_basename in |
case $cc_basename in |
10543 |
ec++) |
ec++*) |
10544 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10545 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10546 |
;; |
;; |
10547 |
ghcx) |
ghcx*) |
10548 |
# Green Hills C++ Compiler |
# Green Hills C++ Compiler |
10549 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10550 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10555 |
;; |
;; |
10556 |
esac |
esac |
10557 |
;; |
;; |
10558 |
freebsd12*) |
freebsd[12]*) |
10559 |
# C++ shared libraries reported to be fairly broken before switch to ELF |
# C++ shared libraries reported to be fairly broken before switch to ELF |
10560 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10561 |
;; |
;; |
10562 |
freebsd-elf*) |
freebsd-elf*) |
10563 |
archive_cmds_need_lc_CXX=no |
archive_cmds_need_lc_CXX=no |
10564 |
;; |
;; |
10565 |
freebsd* | kfreebsd*-gnu) |
freebsd* | kfreebsd*-gnu | dragonfly*) |
10566 |
# 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 |
10567 |
# conventions |
# conventions |
10568 |
ld_shlibs_CXX=yes |
ld_shlibs_CXX=yes |
10579 |
# location of the library. |
# location of the library. |
10580 |
|
|
10581 |
case $cc_basename in |
case $cc_basename in |
10582 |
CC) |
CC*) |
10583 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10584 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10585 |
;; |
;; |
10586 |
aCC) |
aCC*) |
10587 |
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' |
10588 |
# Commands to make compiler produce verbose output that lists |
# Commands to make compiler produce verbose output that lists |
10589 |
# what "hidden" libraries, object files and flags are used when |
# what "hidden" libraries, object files and flags are used when |
10593 |
# explicitly linking system object files so we need to strip them |
# explicitly linking system object files so we need to strip them |
10594 |
# 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 |
10595 |
# dependencies. |
# dependencies. |
10596 |
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' |
10597 |
;; |
;; |
10598 |
*) |
*) |
10599 |
if test "$GXX" = yes; then |
if test "$GXX" = yes; then |
10644 |
esac |
esac |
10645 |
|
|
10646 |
case $cc_basename in |
case $cc_basename in |
10647 |
CC) |
CC*) |
10648 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10649 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10650 |
;; |
;; |
10651 |
aCC) |
aCC*) |
10652 |
case "$host_cpu" in |
case "$host_cpu" in |
10653 |
hppa*64*|ia64*) |
hppa*64*|ia64*) |
10654 |
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' |
10688 |
;; |
;; |
10689 |
irix5* | irix6*) |
irix5* | irix6*) |
10690 |
case $cc_basename in |
case $cc_basename in |
10691 |
CC) |
CC*) |
10692 |
# SGI C++ |
# SGI C++ |
10693 |
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' |
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' |
10694 |
|
|
10695 |
# Archives containing C++ object files must be created using |
# Archives containing C++ object files must be created using |
10696 |
# "CC -ar", where "CC" is the IRIX C++ compiler. This is |
# "CC -ar", where "CC" is the IRIX C++ compiler. This is |
10701 |
*) |
*) |
10702 |
if test "$GXX" = yes; then |
if test "$GXX" = yes; then |
10703 |
if test "$with_gnu_ld" = no; then |
if test "$with_gnu_ld" = no; then |
10704 |
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' |
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' |
10705 |
else |
else |
10706 |
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' |
10707 |
fi |
fi |
10714 |
;; |
;; |
10715 |
linux*) |
linux*) |
10716 |
case $cc_basename in |
case $cc_basename in |
10717 |
KCC) |
KCC*) |
10718 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
10719 |
|
|
10720 |
# KCC will only create a shared library if the output file |
# KCC will only create a shared library if the output file |
10739 |
# "CC -Bstatic", where "CC" is the KAI C++ compiler. |
# "CC -Bstatic", where "CC" is the KAI C++ compiler. |
10740 |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
10741 |
;; |
;; |
10742 |
icpc) |
icpc*) |
10743 |
# Intel C++ |
# Intel C++ |
10744 |
with_gnu_ld=yes |
with_gnu_ld=yes |
10745 |
|
# version 8.0 and above of icpc choke on multiply defined symbols |
10746 |
|
# if we add $predep_objects and $postdep_objects, however 7.1 and |
10747 |
|
# earlier do not add the objects themselves. |
10748 |
|
case `$CC -V 2>&1` in |
10749 |
|
*"Version 7."*) |
10750 |
|
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
10751 |
|
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' |
10752 |
|
;; |
10753 |
|
*) # Version 8.0 or newer |
10754 |
|
tmp_idyn= |
10755 |
|
case $host_cpu in |
10756 |
|
ia64*) tmp_idyn=' -i_dynamic';; |
10757 |
|
esac |
10758 |
|
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
10759 |
|
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' |
10760 |
|
;; |
10761 |
|
esac |
10762 |
archive_cmds_need_lc_CXX=no |
archive_cmds_need_lc_CXX=no |
|
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' |
|
10763 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
10764 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
10765 |
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' |
10766 |
;; |
;; |
10767 |
cxx) |
pgCC*) |
10768 |
|
# Portland Group C++ compiler |
10769 |
|
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
10770 |
|
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' |
10771 |
|
|
10772 |
|
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' |
10773 |
|
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
10774 |
|
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' |
10775 |
|
;; |
10776 |
|
cxx*) |
10777 |
# Compaq C++ |
# Compaq C++ |
10778 |
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' |
10779 |
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' |
10804 |
;; |
;; |
10805 |
mvs*) |
mvs*) |
10806 |
case $cc_basename in |
case $cc_basename in |
10807 |
cxx) |
cxx*) |
10808 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10809 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10810 |
;; |
;; |
10825 |
# Workaround some broken pre-1.5 toolchains |
# Workaround some broken pre-1.5 toolchains |
10826 |
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::"' |
10827 |
;; |
;; |
10828 |
|
openbsd2*) |
10829 |
|
# C++ shared libraries are fairly broken |
10830 |
|
ld_shlibs_CXX=no |
10831 |
|
;; |
10832 |
|
openbsd*) |
10833 |
|
hardcode_direct_CXX=yes |
10834 |
|
hardcode_shlibpath_var_CXX=no |
10835 |
|
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
10836 |
|
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
10837 |
|
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
10838 |
|
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' |
10839 |
|
export_dynamic_flag_spec_CXX='${wl}-E' |
10840 |
|
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
10841 |
|
fi |
10842 |
|
output_verbose_link_cmd='echo' |
10843 |
|
;; |
10844 |
osf3*) |
osf3*) |
10845 |
case $cc_basename in |
case $cc_basename in |
10846 |
KCC) |
KCC*) |
10847 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
10848 |
|
|
10849 |
# KCC will only create a shared library if the output file |
# KCC will only create a shared library if the output file |
10859 |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
10860 |
|
|
10861 |
;; |
;; |
10862 |
RCC) |
RCC*) |
10863 |
# Rational C++ 2.4.1 |
# Rational C++ 2.4.1 |
10864 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10865 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10866 |
;; |
;; |
10867 |
cxx) |
cxx*) |
10868 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
10869 |
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' |
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' |
10870 |
|
|
10871 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
10872 |
hardcode_libdir_separator_CXX=: |
hardcode_libdir_separator_CXX=: |
10884 |
*) |
*) |
10885 |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
10886 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
10887 |
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' |
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' |
10888 |
|
|
10889 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
10890 |
hardcode_libdir_separator_CXX=: |
hardcode_libdir_separator_CXX=: |
10903 |
;; |
;; |
10904 |
osf4* | osf5*) |
osf4* | osf5*) |
10905 |
case $cc_basename in |
case $cc_basename in |
10906 |
KCC) |
KCC*) |
10907 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
10908 |
|
|
10909 |
# KCC will only create a shared library if the output file |
# KCC will only create a shared library if the output file |
10918 |
# the KAI C++ compiler. |
# the KAI C++ compiler. |
10919 |
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' |
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' |
10920 |
;; |
;; |
10921 |
RCC) |
RCC*) |
10922 |
# Rational C++ 2.4.1 |
# Rational C++ 2.4.1 |
10923 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10924 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10925 |
;; |
;; |
10926 |
cxx) |
cxx*) |
10927 |
allow_undefined_flag_CXX=' -expect_unresolved \*' |
allow_undefined_flag_CXX=' -expect_unresolved \*' |
10928 |
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' |
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' |
10929 |
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~ |
10930 |
echo "-hidden">> $lib.exp~ |
echo "-hidden">> $lib.exp~ |
10931 |
$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~ |
$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~ |
10932 |
$rm $lib.exp' |
$rm $lib.exp' |
10933 |
|
|
10934 |
hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
10947 |
*) |
*) |
10948 |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
10949 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
10950 |
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' |
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' |
10951 |
|
|
10952 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
10953 |
hardcode_libdir_separator_CXX=: |
hardcode_libdir_separator_CXX=: |
10971 |
sco*) |
sco*) |
10972 |
archive_cmds_need_lc_CXX=no |
archive_cmds_need_lc_CXX=no |
10973 |
case $cc_basename in |
case $cc_basename in |
10974 |
CC) |
CC*) |
10975 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10976 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10977 |
;; |
;; |
10983 |
;; |
;; |
10984 |
sunos4*) |
sunos4*) |
10985 |
case $cc_basename in |
case $cc_basename in |
10986 |
CC) |
CC*) |
10987 |
# Sun C++ 4.x |
# Sun C++ 4.x |
10988 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10989 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10990 |
;; |
;; |
10991 |
lcc) |
lcc*) |
10992 |
# Lucid |
# Lucid |
10993 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10994 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
11001 |
;; |
;; |
11002 |
solaris*) |
solaris*) |
11003 |
case $cc_basename in |
case $cc_basename in |
11004 |
CC) |
CC*) |
11005 |
# Sun C++ 4.2, 5.x and Centerline C++ |
# Sun C++ 4.2, 5.x and Centerline C++ |
11006 |
no_undefined_flag_CXX=' -zdefs' |
no_undefined_flag_CXX=' -zdefs' |
11007 |
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' |
11011 |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
11012 |
hardcode_shlibpath_var_CXX=no |
hardcode_shlibpath_var_CXX=no |
11013 |
case $host_os in |
case $host_os in |
11014 |
solaris2.0-5 | solaris2.0-5.*) ;; |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
11015 |
*) |
*) |
11016 |
# The C++ compiler is used as linker so we must use $wl |
# The C++ compiler is used as linker so we must use $wl |
11017 |
# flag to pass the commands to the underlying system |
# flag to pass the commands to the underlying system |
11018 |
# linker. |
# linker. We must also pass each convience library through |
11019 |
|
# to the system linker between allextract/defaultextract. |
11020 |
|
# The C++ compiler will combine linker options so we |
11021 |
|
# cannot just pass the convience library names through |
11022 |
|
# without $wl. |
11023 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
11024 |
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
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' |
11025 |
;; |
;; |
11026 |
esac |
esac |
11027 |
link_all_deplibs_CXX=yes |
link_all_deplibs_CXX=yes |
11042 |
# in the archive. |
# in the archive. |
11043 |
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
11044 |
;; |
;; |
11045 |
gcx) |
gcx*) |
11046 |
# Green Hills C++ Compiler |
# Green Hills C++ Compiler |
11047 |
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' |
11048 |
|
|
11085 |
;; |
;; |
11086 |
tandem*) |
tandem*) |
11087 |
case $cc_basename in |
case $cc_basename in |
11088 |
NCC) |
NCC*) |
11089 |
# NonStop-UX NCC 3.20 |
# NonStop-UX NCC 3.20 |
11090 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
11091 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
11294 |
;; |
;; |
11295 |
chorus*) |
chorus*) |
11296 |
case $cc_basename in |
case $cc_basename in |
11297 |
cxch68) |
cxch68*) |
11298 |
# Green Hills C++ Compiler |
# Green Hills C++ Compiler |
11299 |
# _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" |
11300 |
;; |
;; |
11301 |
esac |
esac |
11302 |
;; |
;; |
11303 |
|
darwin*) |
11304 |
|
# PIC is the default on this platform |
11305 |
|
# Common symbols not allowed in MH_DYLIB files |
11306 |
|
case $cc_basename in |
11307 |
|
xlc*) |
11308 |
|
lt_prog_compiler_pic_CXX='-qnocommon' |
11309 |
|
lt_prog_compiler_wl_CXX='-Wl,' |
11310 |
|
;; |
11311 |
|
esac |
11312 |
|
;; |
11313 |
dgux*) |
dgux*) |
11314 |
case $cc_basename in |
case $cc_basename in |
11315 |
ec++) |
ec++*) |
11316 |
lt_prog_compiler_pic_CXX='-KPIC' |
lt_prog_compiler_pic_CXX='-KPIC' |
11317 |
;; |
;; |
11318 |
ghcx) |
ghcx*) |
11319 |
# Green Hills C++ Compiler |
# Green Hills C++ Compiler |
11320 |
lt_prog_compiler_pic_CXX='-pic' |
lt_prog_compiler_pic_CXX='-pic' |
11321 |
;; |
;; |
11323 |
;; |
;; |
11324 |
esac |
esac |
11325 |
;; |
;; |
11326 |
freebsd* | kfreebsd*-gnu) |
freebsd* | kfreebsd*-gnu | dragonfly*) |
11327 |
# FreeBSD uses GNU C++ |
# FreeBSD uses GNU C++ |
11328 |
;; |
;; |
11329 |
hpux9* | hpux10* | hpux11*) |
hpux9* | hpux10* | hpux11*) |
11330 |
case $cc_basename in |
case $cc_basename in |
11331 |
CC) |
CC*) |
11332 |
lt_prog_compiler_wl_CXX='-Wl,' |
lt_prog_compiler_wl_CXX='-Wl,' |
11333 |
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" |
11334 |
if test "$host_cpu" != ia64; then |
if test "$host_cpu" != ia64; then |
11335 |
lt_prog_compiler_pic_CXX='+Z' |
lt_prog_compiler_pic_CXX='+Z' |
11336 |
fi |
fi |
11337 |
;; |
;; |
11338 |
aCC) |
aCC*) |
11339 |
lt_prog_compiler_wl_CXX='-Wl,' |
lt_prog_compiler_wl_CXX='-Wl,' |
11340 |
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" |
11341 |
case "$host_cpu" in |
case "$host_cpu" in |
11353 |
;; |
;; |
11354 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
11355 |
case $cc_basename in |
case $cc_basename in |
11356 |
CC) |
CC*) |
11357 |
lt_prog_compiler_wl_CXX='-Wl,' |
lt_prog_compiler_wl_CXX='-Wl,' |
11358 |
lt_prog_compiler_static_CXX='-non_shared' |
lt_prog_compiler_static_CXX='-non_shared' |
11359 |
# CC pic flag -KPIC is the default. |
# CC pic flag -KPIC is the default. |
11364 |
;; |
;; |
11365 |
linux*) |
linux*) |
11366 |
case $cc_basename in |
case $cc_basename in |
11367 |
KCC) |
KCC*) |
11368 |
# KAI C++ Compiler |
# KAI C++ Compiler |
11369 |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
11370 |
lt_prog_compiler_pic_CXX='-fPIC' |
lt_prog_compiler_pic_CXX='-fPIC' |
11371 |
;; |
;; |
11372 |
icpc) |
icpc* | ecpc*) |
11373 |
# Intel C++ |
# Intel C++ |
11374 |
lt_prog_compiler_wl_CXX='-Wl,' |
lt_prog_compiler_wl_CXX='-Wl,' |
11375 |
lt_prog_compiler_pic_CXX='-KPIC' |
lt_prog_compiler_pic_CXX='-KPIC' |
11376 |
lt_prog_compiler_static_CXX='-static' |
lt_prog_compiler_static_CXX='-static' |
11377 |
;; |
;; |
11378 |
cxx) |
pgCC*) |
11379 |
|
# Portland Group C++ compiler. |
11380 |
|
lt_prog_compiler_wl_CXX='-Wl,' |
11381 |
|
lt_prog_compiler_pic_CXX='-fpic' |
11382 |
|
lt_prog_compiler_static_CXX='-static' |
11383 |
|
;; |
11384 |
|
cxx*) |
11385 |
# Compaq C++ |
# Compaq C++ |
11386 |
# Make sure the PIC flag is empty. It appears that all Alpha |
# Make sure the PIC flag is empty. It appears that all Alpha |
11387 |
# Linux and Compaq Tru64 Unix objects are PIC. |
# Linux and Compaq Tru64 Unix objects are PIC. |
11398 |
;; |
;; |
11399 |
mvs*) |
mvs*) |
11400 |
case $cc_basename in |
case $cc_basename in |
11401 |
cxx) |
cxx*) |
11402 |
lt_prog_compiler_pic_CXX='-W c,exportall' |
lt_prog_compiler_pic_CXX='-W c,exportall' |
11403 |
;; |
;; |
11404 |
*) |
*) |
11409 |
;; |
;; |
11410 |
osf3* | osf4* | osf5*) |
osf3* | osf4* | osf5*) |
11411 |
case $cc_basename in |
case $cc_basename in |
11412 |
KCC) |
KCC*) |
11413 |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
11414 |
;; |
;; |
11415 |
RCC) |
RCC*) |
11416 |
# Rational C++ 2.4.1 |
# Rational C++ 2.4.1 |
11417 |
lt_prog_compiler_pic_CXX='-pic' |
lt_prog_compiler_pic_CXX='-pic' |
11418 |
;; |
;; |
11419 |
cxx) |
cxx*) |
11420 |
# Digital/Compaq C++ |
# Digital/Compaq C++ |
11421 |
lt_prog_compiler_wl_CXX='-Wl,' |
lt_prog_compiler_wl_CXX='-Wl,' |
11422 |
# Make sure the PIC flag is empty. It appears that all Alpha |
# Make sure the PIC flag is empty. It appears that all Alpha |
11432 |
;; |
;; |
11433 |
sco*) |
sco*) |
11434 |
case $cc_basename in |
case $cc_basename in |
11435 |
CC) |
CC*) |
11436 |
lt_prog_compiler_pic_CXX='-fPIC' |
lt_prog_compiler_pic_CXX='-fPIC' |
11437 |
;; |
;; |
11438 |
*) |
*) |
11441 |
;; |
;; |
11442 |
solaris*) |
solaris*) |
11443 |
case $cc_basename in |
case $cc_basename in |
11444 |
CC) |
CC*) |
11445 |
# Sun C++ 4.2, 5.x and Centerline C++ |
# Sun C++ 4.2, 5.x and Centerline C++ |
11446 |
lt_prog_compiler_pic_CXX='-KPIC' |
lt_prog_compiler_pic_CXX='-KPIC' |
11447 |
lt_prog_compiler_static_CXX='-Bstatic' |
lt_prog_compiler_static_CXX='-Bstatic' |
11448 |
lt_prog_compiler_wl_CXX='-Qoption ld ' |
lt_prog_compiler_wl_CXX='-Qoption ld ' |
11449 |
;; |
;; |
11450 |
gcx) |
gcx*) |
11451 |
# Green Hills C++ Compiler |
# Green Hills C++ Compiler |
11452 |
lt_prog_compiler_pic_CXX='-PIC' |
lt_prog_compiler_pic_CXX='-PIC' |
11453 |
;; |
;; |
11457 |
;; |
;; |
11458 |
sunos4*) |
sunos4*) |
11459 |
case $cc_basename in |
case $cc_basename in |
11460 |
CC) |
CC*) |
11461 |
# Sun C++ 4.x |
# Sun C++ 4.x |
11462 |
lt_prog_compiler_pic_CXX='-pic' |
lt_prog_compiler_pic_CXX='-pic' |
11463 |
lt_prog_compiler_static_CXX='-Bstatic' |
lt_prog_compiler_static_CXX='-Bstatic' |
11464 |
;; |
;; |
11465 |
lcc) |
lcc*) |
11466 |
# Lucid |
# Lucid |
11467 |
lt_prog_compiler_pic_CXX='-pic' |
lt_prog_compiler_pic_CXX='-pic' |
11468 |
;; |
;; |
11472 |
;; |
;; |
11473 |
tandem*) |
tandem*) |
11474 |
case $cc_basename in |
case $cc_basename in |
11475 |
NCC) |
NCC*) |
11476 |
# NonStop-UX NCC 3.20 |
# NonStop-UX NCC 3.20 |
11477 |
lt_prog_compiler_pic_CXX='-KPIC' |
lt_prog_compiler_pic_CXX='-KPIC' |
11478 |
;; |
;; |
11516 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11517 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11518 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
11519 |
(eval echo "\"\$as_me:11284: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11519: $lt_compile\"" >&5) |
11520 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
11521 |
ac_status=$? |
ac_status=$? |
11522 |
cat conftest.err >&5 |
cat conftest.err >&5 |
11523 |
echo "$as_me:11288: \$? = $ac_status" >&5 |
echo "$as_me:11523: \$? = $ac_status" >&5 |
11524 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
11525 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
11526 |
# So say no if there are warnings |
# So say no if there are warnings other than the usual output. |
11527 |
if test ! -s conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
11528 |
|
$SED '/^$/d' conftest.err >conftest.er2 |
11529 |
|
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
11530 |
lt_prog_compiler_pic_works_CXX=yes |
lt_prog_compiler_pic_works_CXX=yes |
11531 |
fi |
fi |
11532 |
fi |
fi |
11578 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11579 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11580 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
11581 |
(eval echo "\"\$as_me:11344: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11581: $lt_compile\"" >&5) |
11582 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
11583 |
ac_status=$? |
ac_status=$? |
11584 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
11585 |
echo "$as_me:11348: \$? = $ac_status" >&5 |
echo "$as_me:11585: \$? = $ac_status" >&5 |
11586 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
11587 |
then |
then |
11588 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
11589 |
# So say no if there are warnings |
# So say no if there are warnings |
11590 |
if test ! -s out/conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
11591 |
|
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
11592 |
|
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
11593 |
lt_cv_prog_compiler_c_o_CXX=yes |
lt_cv_prog_compiler_c_o_CXX=yes |
11594 |
fi |
fi |
11595 |
fi |
fi |
11648 |
export_symbols_cmds_CXX="$ltdll_cmds" |
export_symbols_cmds_CXX="$ltdll_cmds" |
11649 |
;; |
;; |
11650 |
cygwin* | mingw*) |
cygwin* | mingw*) |
11651 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
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' |
11652 |
;; |
;; |
11653 |
*) |
*) |
11654 |
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' |
11828 |
shlibpath_var=LIBRARY_PATH |
shlibpath_var=LIBRARY_PATH |
11829 |
;; |
;; |
11830 |
|
|
11831 |
bsdi4*) |
bsdi[45]*) |
11832 |
version_type=linux |
version_type=linux |
11833 |
need_version=no |
need_version=no |
11834 |
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}' |
11886 |
;; |
;; |
11887 |
pw32*) |
pw32*) |
11888 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
11889 |
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}' |
11890 |
;; |
;; |
11891 |
esac |
esac |
11892 |
;; |
;; |
11944 |
dynamic_linker='GNU ld.so' |
dynamic_linker='GNU ld.so' |
11945 |
;; |
;; |
11946 |
|
|
11947 |
freebsd*) |
freebsd* | dragonfly*) |
11948 |
|
# DragonFly does not have aout. When/if they implement a new |
11949 |
|
# versioning mechanism, adjust this. |
11950 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
11951 |
version_type=freebsd-$objformat |
version_type=freebsd-$objformat |
11952 |
case $version_type in |
case $version_type in |
11965 |
freebsd2*) |
freebsd2*) |
11966 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
11967 |
;; |
;; |
11968 |
freebsd3.01* | freebsdelf3.01*) |
freebsd3.[01]* | freebsdelf3.[01]*) |
11969 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
11970 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
11971 |
;; |
;; |
12089 |
# before this can be enabled. |
# before this can be enabled. |
12090 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
12091 |
|
|
12092 |
|
# find out which ABI we are using |
12093 |
libsuff= |
libsuff= |
12094 |
if test "$lt_cv_cc_lib64_suffix" = "yes"; then |
case "$host_cpu" in |
12095 |
libsuff=64 |
x86_64*|s390x*|powerpc64*) |
12096 |
fi |
echo '#line 12096 "configure"' > conftest.$ac_ext |
12097 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
12098 |
|
(eval $ac_compile) 2>&5 |
12099 |
|
ac_status=$? |
12100 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12101 |
|
(exit $ac_status); }; then |
12102 |
|
case `/usr/bin/file conftest.$ac_objext` in |
12103 |
|
*64-bit*) |
12104 |
|
libsuff=64 |
12105 |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
12106 |
|
;; |
12107 |
|
esac |
12108 |
|
fi |
12109 |
|
rm -rf conftest* |
12110 |
|
;; |
12111 |
|
esac |
12112 |
|
|
12113 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
12114 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
12115 |
lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` |
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' ' '` |
12116 |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/X11R6/lib${libsuff} $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/X11R6/lib${libsuff} /usr/local/lib${libsuff} $lt_ld_extra" |
|
12117 |
fi |
fi |
12118 |
|
|
12119 |
# 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 |
12175 |
openbsd*) |
openbsd*) |
12176 |
version_type=sunos |
version_type=sunos |
12177 |
need_lib_prefix=no |
need_lib_prefix=no |
12178 |
need_version=yes |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
12179 |
|
case $host_os in |
12180 |
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
12181 |
|
*) need_version=no ;; |
12182 |
|
esac |
12183 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
12184 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
12185 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
12301 |
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 |
12302 |
hardcode_action_CXX= |
hardcode_action_CXX= |
12303 |
if test -n "$hardcode_libdir_flag_spec_CXX" || \ |
if test -n "$hardcode_libdir_flag_spec_CXX" || \ |
12304 |
test -n "$runpath_var CXX" || \ |
test -n "$runpath_var_CXX" || \ |
12305 |
test "X$hardcode_automatic_CXX"="Xyes" ; then |
test "X$hardcode_automatic_CXX" = "Xyes" ; then |
12306 |
|
|
12307 |
# We can hardcode non-existant directories. |
# We can hardcode non-existant directories. |
12308 |
if test "$hardcode_direct_CXX" != no && |
if test "$hardcode_direct_CXX" != no && |
12968 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12969 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
12970 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
12971 |
#line 12711 "configure" |
#line 12971 "configure" |
12972 |
#include "confdefs.h" |
#include "confdefs.h" |
12973 |
|
|
12974 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
13066 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
13067 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
13068 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
13069 |
#line 12809 "configure" |
#line 13069 "configure" |
13070 |
#include "confdefs.h" |
#include "confdefs.h" |
13071 |
|
|
13072 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
13284 |
# The host system. |
# The host system. |
13285 |
host_alias=$host_alias |
host_alias=$host_alias |
13286 |
host=$host |
host=$host |
13287 |
|
host_os=$host_os |
13288 |
|
|
13289 |
|
# The build system. |
13290 |
|
build_alias=$build_alias |
13291 |
|
build=$build |
13292 |
|
build_os=$build_os |
13293 |
|
|
13294 |
# An echo program that does not interpret backslashes. |
# An echo program that does not interpret backslashes. |
13295 |
echo=$lt_echo |
echo=$lt_echo |
13366 |
# Does compiler simultaneously support -c and -o options? |
# Does compiler simultaneously support -c and -o options? |
13367 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX |
13368 |
|
|
13369 |
# Must we lock files when doing compilation ? |
# Must we lock files when doing compilation? |
13370 |
need_locks=$lt_need_locks |
need_locks=$lt_need_locks |
13371 |
|
|
13372 |
# Do we need the lib prefix for modules? |
# Do we need the lib prefix for modules? |
13647 |
compiler=$CC |
compiler=$CC |
13648 |
|
|
13649 |
|
|
13650 |
|
# save warnings/boilerplate of simple test code |
13651 |
|
ac_outfile=conftest.$ac_objext |
13652 |
|
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
13653 |
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
13654 |
|
_lt_compiler_boilerplate=`cat conftest.err` |
13655 |
|
$rm conftest* |
13656 |
|
|
13657 |
|
ac_outfile=conftest.$ac_objext |
13658 |
|
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
13659 |
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
13660 |
|
_lt_linker_boilerplate=`cat conftest.err` |
13661 |
|
$rm conftest* |
13662 |
|
|
13663 |
|
|
13664 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
13665 |
lt_save_CC="$CC" |
lt_save_CC="$CC" |
13666 |
CC=${F77-"f77"} |
CC=${F77-"f77"} |
13667 |
compiler=$CC |
compiler=$CC |
13668 |
compiler_F77=$CC |
compiler_F77=$CC |
13669 |
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` |
for cc_temp in $compiler""; do |
13670 |
|
case $cc_temp in |
13671 |
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
13672 |
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
13673 |
|
\-*) ;; |
13674 |
|
*) break;; |
13675 |
|
esac |
13676 |
|
done |
13677 |
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
13678 |
|
|
13679 |
|
|
13680 |
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
13681 |
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 |
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 |
13697 |
fi |
fi |
13698 |
;; |
;; |
13699 |
aix4* | aix5*) |
aix4* | aix5*) |
13700 |
test "$enable_shared" = yes && enable_static=no |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
13701 |
|
test "$enable_shared" = yes && enable_static=no |
13702 |
|
fi |
13703 |
;; |
;; |
13704 |
esac |
esac |
13705 |
echo "$as_me:$LINENO: result: $enable_shared" >&5 |
echo "$as_me:$LINENO: result: $enable_shared" >&5 |
13802 |
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' |
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' |
13803 |
fi |
fi |
13804 |
;; |
;; |
13805 |
|
darwin*) |
13806 |
|
# PIC is the default on this platform |
13807 |
|
# Common symbols not allowed in MH_DYLIB files |
13808 |
|
case $cc_basename in |
13809 |
|
xlc*) |
13810 |
|
lt_prog_compiler_pic_F77='-qnocommon' |
13811 |
|
lt_prog_compiler_wl_F77='-Wl,' |
13812 |
|
;; |
13813 |
|
esac |
13814 |
|
;; |
13815 |
|
|
13816 |
mingw* | pw32* | os2*) |
mingw* | pw32* | os2*) |
13817 |
# 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 |
13847 |
;; |
;; |
13848 |
|
|
13849 |
linux*) |
linux*) |
13850 |
case $CC in |
case $cc_basename in |
13851 |
icc* | ecc*) |
icc* | ecc*) |
13852 |
lt_prog_compiler_wl_F77='-Wl,' |
lt_prog_compiler_wl_F77='-Wl,' |
13853 |
lt_prog_compiler_pic_F77='-KPIC' |
lt_prog_compiler_pic_F77='-KPIC' |
13854 |
lt_prog_compiler_static_F77='-static' |
lt_prog_compiler_static_F77='-static' |
13855 |
;; |
;; |
13856 |
|
pgcc* | pgf77* | pgf90*) |
13857 |
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
13858 |
|
# which looks to be a dead project) |
13859 |
|
lt_prog_compiler_wl_F77='-Wl,' |
13860 |
|
lt_prog_compiler_pic_F77='-fpic' |
13861 |
|
lt_prog_compiler_static_F77='-static' |
13862 |
|
;; |
13863 |
ccc*) |
ccc*) |
13864 |
lt_prog_compiler_wl_F77='-Wl,' |
lt_prog_compiler_wl_F77='-Wl,' |
13865 |
# All Alpha code is PIC. |
# All Alpha code is PIC. |
13880 |
;; |
;; |
13881 |
|
|
13882 |
solaris*) |
solaris*) |
|
lt_prog_compiler_wl_F77='-Wl,' |
|
13883 |
lt_prog_compiler_pic_F77='-KPIC' |
lt_prog_compiler_pic_F77='-KPIC' |
13884 |
lt_prog_compiler_static_F77='-Bstatic' |
lt_prog_compiler_static_F77='-Bstatic' |
13885 |
|
case $cc_basename in |
13886 |
|
f77* | f90* | f95*) |
13887 |
|
lt_prog_compiler_wl_F77='-Qoption ld ';; |
13888 |
|
*) |
13889 |
|
lt_prog_compiler_wl_F77='-Wl,';; |
13890 |
|
esac |
13891 |
;; |
;; |
13892 |
|
|
13893 |
sunos4*) |
sunos4*) |
13909 |
fi |
fi |
13910 |
;; |
;; |
13911 |
|
|
13912 |
|
unicos*) |
13913 |
|
lt_prog_compiler_wl_F77='-Wl,' |
13914 |
|
lt_prog_compiler_can_build_shared_F77=no |
13915 |
|
;; |
13916 |
|
|
13917 |
uts4*) |
uts4*) |
13918 |
lt_prog_compiler_pic_F77='-pic' |
lt_prog_compiler_pic_F77='-pic' |
13919 |
lt_prog_compiler_static_F77='-Bstatic' |
lt_prog_compiler_static_F77='-Bstatic' |
13951 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
13952 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13953 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
13954 |
(eval echo "\"\$as_me:13636: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:13954: $lt_compile\"" >&5) |
13955 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
13956 |
ac_status=$? |
ac_status=$? |
13957 |
cat conftest.err >&5 |
cat conftest.err >&5 |
13958 |
echo "$as_me:13640: \$? = $ac_status" >&5 |
echo "$as_me:13958: \$? = $ac_status" >&5 |
13959 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
13960 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
13961 |
# So say no if there are warnings |
# So say no if there are warnings other than the usual output. |
13962 |
if test ! -s conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
13963 |
|
$SED '/^$/d' conftest.err >conftest.er2 |
13964 |
|
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
13965 |
lt_prog_compiler_pic_works_F77=yes |
lt_prog_compiler_pic_works_F77=yes |
13966 |
fi |
fi |
13967 |
fi |
fi |
14013 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
14014 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
14015 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
14016 |
(eval echo "\"\$as_me:13696: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:14016: $lt_compile\"" >&5) |
14017 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
14018 |
ac_status=$? |
ac_status=$? |
14019 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
14020 |
echo "$as_me:13700: \$? = $ac_status" >&5 |
echo "$as_me:14020: \$? = $ac_status" >&5 |
14021 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
14022 |
then |
then |
14023 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
14024 |
# So say no if there are warnings |
# So say no if there are warnings |
14025 |
if test ! -s out/conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
14026 |
|
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
14027 |
|
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
14028 |
lt_cv_prog_compiler_c_o_F77=yes |
lt_cv_prog_compiler_c_o_F77=yes |
14029 |
fi |
fi |
14030 |
fi |
fi |
14104 |
# 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 |
14105 |
# preloaded symbol tables. |
# preloaded symbol tables. |
14106 |
extract_expsyms_cmds= |
extract_expsyms_cmds= |
14107 |
|
# Just being paranoid about ensuring that cc_basename is set. |
14108 |
|
for cc_temp in $compiler""; do |
14109 |
|
case $cc_temp in |
14110 |
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
14111 |
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
14112 |
|
\-*) ;; |
14113 |
|
*) break;; |
14114 |
|
esac |
14115 |
|
done |
14116 |
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
14117 |
|
|
14118 |
case $host_os in |
case $host_os in |
14119 |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
14134 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
# If archive_cmds runs LD, not CC, wlarc should be empty |
14135 |
wlarc='${wl}' |
wlarc='${wl}' |
14136 |
|
|
14137 |
|
# Set some defaults for GNU ld with shared library support. These |
14138 |
|
# are reset later if shared libraries are not supported. Putting them |
14139 |
|
# here allows them to be overridden if necessary. |
14140 |
|
runpath_var=LD_RUN_PATH |
14141 |
|
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' |
14142 |
|
export_dynamic_flag_spec_F77='${wl}--export-dynamic' |
14143 |
|
# ancient GNU ld didn't support --whole-archive et. al. |
14144 |
|
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
14145 |
|
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
14146 |
|
else |
14147 |
|
whole_archive_flag_spec_F77= |
14148 |
|
fi |
14149 |
|
supports_anon_versioning=no |
14150 |
|
case `$LD -v 2>/dev/null` in |
14151 |
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
14152 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
14153 |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
14154 |
|
*\ 2.11.*) ;; # other 2.11 versions |
14155 |
|
*) supports_anon_versioning=yes ;; |
14156 |
|
esac |
14157 |
|
|
14158 |
# See if GNU ld supports shared libraries. |
# See if GNU ld supports shared libraries. |
14159 |
case $host_os in |
case $host_os in |
14160 |
aix3* | aix4* | aix5*) |
aix3* | aix4* | aix5*) |
14205 |
allow_undefined_flag_F77=unsupported |
allow_undefined_flag_F77=unsupported |
14206 |
always_export_symbols_F77=no |
always_export_symbols_F77=no |
14207 |
enable_shared_with_static_runtimes_F77=yes |
enable_shared_with_static_runtimes_F77=yes |
14208 |
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
14209 |
|
|
14210 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
14211 |
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' |
14219 |
fi~ |
fi~ |
14220 |
$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' |
14221 |
else |
else |
14222 |
ld_shlibs=no |
ld_shlibs_F77=no |
14223 |
|
fi |
14224 |
|
;; |
14225 |
|
|
14226 |
|
linux*) |
14227 |
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
14228 |
|
tmp_addflag= |
14229 |
|
case $cc_basename,$host_cpu in |
14230 |
|
pgcc*) # Portland Group C compiler |
14231 |
|
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' |
14232 |
|
tmp_addflag=' $pic_flag' |
14233 |
|
;; |
14234 |
|
pgf77* | pgf90* ) # Portland Group f77 and f90 compilers |
14235 |
|
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' |
14236 |
|
tmp_addflag=' $pic_flag -Mnomain' ;; |
14237 |
|
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
14238 |
|
tmp_addflag=' -i_dynamic' ;; |
14239 |
|
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
14240 |
|
tmp_addflag=' -i_dynamic -nofor_main' ;; |
14241 |
|
ifc* | ifort*) # Intel Fortran compiler |
14242 |
|
tmp_addflag=' -nofor_main' ;; |
14243 |
|
esac |
14244 |
|
archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
14245 |
|
|
14246 |
|
if test $supports_anon_versioning = yes; then |
14247 |
|
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ |
14248 |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
14249 |
|
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
14250 |
|
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
14251 |
|
fi |
14252 |
|
else |
14253 |
|
ld_shlibs_F77=no |
14254 |
fi |
fi |
14255 |
;; |
;; |
14256 |
|
|
14292 |
hardcode_shlibpath_var_F77=no |
hardcode_shlibpath_var_F77=no |
14293 |
;; |
;; |
14294 |
|
|
|
linux*) |
|
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
|
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
archive_cmds_F77="$tmp_archive_cmds" |
|
|
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 |
|
|
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 $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
|
else |
|
|
archive_expsym_cmds_F77="$tmp_archive_cmds" |
|
|
fi |
|
|
else |
|
|
ld_shlibs_F77=no |
|
|
fi |
|
|
;; |
|
|
|
|
14295 |
*) |
*) |
14296 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
14297 |
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' |
14302 |
;; |
;; |
14303 |
esac |
esac |
14304 |
|
|
14305 |
if test "$ld_shlibs_F77" = yes; then |
if test "$ld_shlibs_F77" = no; then |
14306 |
runpath_var=LD_RUN_PATH |
runpath_var= |
14307 |
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' |
hardcode_libdir_flag_spec_F77= |
14308 |
export_dynamic_flag_spec_F77='${wl}--export-dynamic' |
export_dynamic_flag_spec_F77= |
14309 |
# ancient GNU ld didn't support --whole-archive et. al. |
whole_archive_flag_spec_F77= |
|
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 |
|
14310 |
fi |
fi |
14311 |
else |
else |
14312 |
# 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) |
14370 |
link_all_deplibs_F77=yes |
link_all_deplibs_F77=yes |
14371 |
|
|
14372 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
14373 |
case $host_os in aix4.012|aix4.012.*) |
case $host_os in aix4.[012]|aix4.[012].*) |
14374 |
# 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 |
14375 |
# below for broken collect2 doesn't work under 4.3+ |
# below for broken collect2 doesn't work under 4.3+ |
14376 |
collect2name=`${CC} -print-prog-name=collect2` |
collect2name=`${CC} -print-prog-name=collect2` |
14391 |
fi |
fi |
14392 |
esac |
esac |
14393 |
shared_flag='-shared' |
shared_flag='-shared' |
14394 |
|
if test "$aix_use_runtimelinking" = yes; then |
14395 |
|
shared_flag="$shared_flag "'${wl}-G' |
14396 |
|
fi |
14397 |
else |
else |
14398 |
# not using gcc |
# not using gcc |
14399 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
14534 |
ld_shlibs_F77=no |
ld_shlibs_F77=no |
14535 |
;; |
;; |
14536 |
|
|
14537 |
bsdi4*) |
bsdi[45]*) |
14538 |
export_dynamic_flag_spec_F77=-rdynamic |
export_dynamic_flag_spec_F77=-rdynamic |
14539 |
;; |
;; |
14540 |
|
|
14555 |
old_archive_From_new_cmds_F77='true' |
old_archive_From_new_cmds_F77='true' |
14556 |
# FIXME: Should let the user specify the lib program. |
# FIXME: Should let the user specify the lib program. |
14557 |
old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' |
old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' |
14558 |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
fix_srcfile_path_F77='`cygpath -w "$srcfile"`' |
14559 |
enable_shared_with_static_runtimes_F77=yes |
enable_shared_with_static_runtimes_F77=yes |
14560 |
;; |
;; |
14561 |
|
|
14562 |
darwin* | rhapsody*) |
darwin* | rhapsody*) |
|
if test "$GXX" = yes ; then |
|
|
archive_cmds_need_lc_F77=no |
|
14563 |
case "$host_os" in |
case "$host_os" in |
14564 |
rhapsody* | darwin1.[012]) |
rhapsody* | darwin1.[012]) |
14565 |
allow_undefined_flag_F77='-undefined suppress' |
allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' |
14566 |
;; |
;; |
14567 |
*) # Darwin 1.3 on |
*) # Darwin 1.3 on |
14568 |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
14569 |
allow_undefined_flag_F77='-flat_namespace -undefined suppress' |
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
14570 |
else |
else |
14571 |
case ${MACOSX_DEPLOYMENT_TARGET} in |
case ${MACOSX_DEPLOYMENT_TARGET} in |
14572 |
10.[012]) |
10.[012]) |
14573 |
allow_undefined_flag_F77='-flat_namespace -undefined suppress' |
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
14574 |
;; |
;; |
14575 |
10.*) |
10.*) |
14576 |
allow_undefined_flag_F77='-undefined dynamic_lookup' |
allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup' |
14577 |
;; |
;; |
14578 |
esac |
esac |
14579 |
fi |
fi |
14580 |
;; |
;; |
14581 |
esac |
esac |
14582 |
lt_int_apple_cc_single_mod=no |
archive_cmds_need_lc_F77=no |
|
output_verbose_link_cmd='echo' |
|
|
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then |
|
|
lt_int_apple_cc_single_mod=yes |
|
|
fi |
|
|
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
|
archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
|
|
else |
|
|
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' |
|
|
fi |
|
|
module_cmds_F77='$CC ${wl}-bind_at_load $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 |
|
|
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
|
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}' |
|
|
else |
|
|
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}' |
|
|
fi |
|
|
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}' |
|
14583 |
hardcode_direct_F77=no |
hardcode_direct_F77=no |
14584 |
hardcode_automatic_F77=yes |
hardcode_automatic_F77=yes |
14585 |
hardcode_shlibpath_var_F77=unsupported |
hardcode_shlibpath_var_F77=unsupported |
14586 |
whole_archive_flag_spec_F77='-all_load $convenience' |
whole_archive_flag_spec_F77='' |
14587 |
link_all_deplibs_F77=yes |
link_all_deplibs_F77=yes |
14588 |
|
if test "$GCC" = yes ; then |
14589 |
|
output_verbose_link_cmd='echo' |
14590 |
|
archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
14591 |
|
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
14592 |
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
14593 |
|
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}' |
14594 |
|
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}' |
14595 |
else |
else |
14596 |
ld_shlibs_F77=no |
case $cc_basename in |
14597 |
|
xlc*) |
14598 |
|
output_verbose_link_cmd='echo' |
14599 |
|
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
14600 |
|
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
14601 |
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
14602 |
|
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}' |
14603 |
|
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}' |
14604 |
|
;; |
14605 |
|
*) |
14606 |
|
ld_shlibs_F77=no |
14607 |
|
;; |
14608 |
|
esac |
14609 |
fi |
fi |
14610 |
;; |
;; |
14611 |
|
|
14639 |
;; |
;; |
14640 |
|
|
14641 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
14642 |
freebsd* | kfreebsd*-gnu) |
freebsd* | kfreebsd*-gnu | dragonfly*) |
14643 |
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
14644 |
hardcode_libdir_flag_spec_F77='-R$libdir' |
hardcode_libdir_flag_spec_F77='-R$libdir' |
14645 |
hardcode_direct_F77=yes |
hardcode_direct_F77=yes |
14750 |
hardcode_shlibpath_var_F77=no |
hardcode_shlibpath_var_F77=no |
14751 |
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 |
14752 |
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' |
14753 |
|
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
14754 |
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
14755 |
export_dynamic_flag_spec_F77='${wl}-E' |
export_dynamic_flag_spec_F77='${wl}-E' |
14756 |
else |
else |
14796 |
allow_undefined_flag_F77=' -expect_unresolved \*' |
allow_undefined_flag_F77=' -expect_unresolved \*' |
14797 |
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' |
14798 |
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~ |
14799 |
$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' |
$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' |
14800 |
|
|
14801 |
# Both c and cxx compiler support -rpath directly |
# Both c and cxx compiler support -rpath directly |
14802 |
hardcode_libdir_flag_spec_F77='-rpath $libdir' |
hardcode_libdir_flag_spec_F77='-rpath $libdir' |
14815 |
solaris*) |
solaris*) |
14816 |
no_undefined_flag_F77=' -z text' |
no_undefined_flag_F77=' -z text' |
14817 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
14818 |
|
wlarc='${wl}' |
14819 |
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' |
14820 |
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~ |
14821 |
$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' |
14822 |
else |
else |
14823 |
|
wlarc='' |
14824 |
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' |
14825 |
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~ |
14826 |
$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' |
14829 |
hardcode_shlibpath_var_F77=no |
hardcode_shlibpath_var_F77=no |
14830 |
case $host_os in |
case $host_os in |
14831 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
14832 |
*) # Supported since Solaris 2.6 (maybe 2.5.1?) |
*) |
14833 |
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; |
# The compiler driver will combine linker options so we |
14834 |
|
# cannot just pass the convience library names through |
14835 |
|
# without $wl, iff we do not link with $LD. |
14836 |
|
# Luckily, gcc supports the same syntax we need for Sun Studio. |
14837 |
|
# Supported since Solaris 2.6 (maybe 2.5.1?) |
14838 |
|
case $wlarc in |
14839 |
|
'') |
14840 |
|
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; |
14841 |
|
*) |
14842 |
|
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' ;; |
14843 |
|
esac ;; |
14844 |
esac |
esac |
14845 |
link_all_deplibs_F77=yes |
link_all_deplibs_F77=yes |
14846 |
;; |
;; |
15114 |
shlibpath_var=LIBRARY_PATH |
shlibpath_var=LIBRARY_PATH |
15115 |
;; |
;; |
15116 |
|
|
15117 |
bsdi4*) |
bsdi[45]*) |
15118 |
version_type=linux |
version_type=linux |
15119 |
need_version=no |
need_version=no |
15120 |
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}' |
15172 |
;; |
;; |
15173 |
pw32*) |
pw32*) |
15174 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
15175 |
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}' |
15176 |
;; |
;; |
15177 |
esac |
esac |
15178 |
;; |
;; |
15230 |
dynamic_linker='GNU ld.so' |
dynamic_linker='GNU ld.so' |
15231 |
;; |
;; |
15232 |
|
|
15233 |
freebsd*) |
freebsd* | dragonfly*) |
15234 |
|
# DragonFly does not have aout. When/if they implement a new |
15235 |
|
# versioning mechanism, adjust this. |
15236 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
15237 |
version_type=freebsd-$objformat |
version_type=freebsd-$objformat |
15238 |
case $version_type in |
case $version_type in |
15251 |
freebsd2*) |
freebsd2*) |
15252 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
15253 |
;; |
;; |
15254 |
freebsd3.01* | freebsdelf3.01*) |
freebsd3.[01]* | freebsdelf3.[01]*) |
15255 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
15256 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
15257 |
;; |
;; |
15375 |
# before this can be enabled. |
# before this can be enabled. |
15376 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
15377 |
|
|
15378 |
|
# find out which ABI we are using |
15379 |
libsuff= |
libsuff= |
15380 |
if test "$lt_cv_cc_lib64_suffix" = "yes"; then |
case "$host_cpu" in |
15381 |
libsuff=64 |
x86_64*|s390x*|powerpc64*) |
15382 |
fi |
echo '#line 15382 "configure"' > conftest.$ac_ext |
15383 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
15384 |
|
(eval $ac_compile) 2>&5 |
15385 |
|
ac_status=$? |
15386 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15387 |
|
(exit $ac_status); }; then |
15388 |
|
case `/usr/bin/file conftest.$ac_objext` in |
15389 |
|
*64-bit*) |
15390 |
|
libsuff=64 |
15391 |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
15392 |
|
;; |
15393 |
|
esac |
15394 |
|
fi |
15395 |
|
rm -rf conftest* |
15396 |
|
;; |
15397 |
|
esac |
15398 |
|
|
15399 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
15400 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
15401 |
lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` |
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' ' '` |
15402 |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/X11R6/lib${libsuff} $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/X11R6/lib${libsuff} /usr/local/lib${libsuff} $lt_ld_extra" |
|
15403 |
fi |
fi |
15404 |
|
|
15405 |
# 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 |
15461 |
openbsd*) |
openbsd*) |
15462 |
version_type=sunos |
version_type=sunos |
15463 |
need_lib_prefix=no |
need_lib_prefix=no |
15464 |
need_version=yes |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
15465 |
|
case $host_os in |
15466 |
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
15467 |
|
*) need_version=no ;; |
15468 |
|
esac |
15469 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
15470 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
15471 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
15587 |
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 |
15588 |
hardcode_action_F77= |
hardcode_action_F77= |
15589 |
if test -n "$hardcode_libdir_flag_spec_F77" || \ |
if test -n "$hardcode_libdir_flag_spec_F77" || \ |
15590 |
test -n "$runpath_var F77" || \ |
test -n "$runpath_var_F77" || \ |
15591 |
test "X$hardcode_automatic_F77"="Xyes" ; then |
test "X$hardcode_automatic_F77" = "Xyes" ; then |
15592 |
|
|
15593 |
# We can hardcode non-existant directories. |
# We can hardcode non-existant directories. |
15594 |
if test "$hardcode_direct_F77" != no && |
if test "$hardcode_direct_F77" != no && |
15765 |
# The host system. |
# The host system. |
15766 |
host_alias=$host_alias |
host_alias=$host_alias |
15767 |
host=$host |
host=$host |
15768 |
|
host_os=$host_os |
15769 |
|
|
15770 |
|
# The build system. |
15771 |
|
build_alias=$build_alias |
15772 |
|
build=$build |
15773 |
|
build_os=$build_os |
15774 |
|
|
15775 |
# An echo program that does not interpret backslashes. |
# An echo program that does not interpret backslashes. |
15776 |
echo=$lt_echo |
echo=$lt_echo |
15847 |
# Does compiler simultaneously support -c and -o options? |
# Does compiler simultaneously support -c and -o options? |
15848 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 |
15849 |
|
|
15850 |
# Must we lock files when doing compilation ? |
# Must we lock files when doing compilation? |
15851 |
need_locks=$lt_need_locks |
need_locks=$lt_need_locks |
15852 |
|
|
15853 |
# Do we need the lib prefix for modules? |
# Do we need the lib prefix for modules? |
16085 |
lt_simple_compile_test_code="class foo {}\n" |
lt_simple_compile_test_code="class foo {}\n" |
16086 |
|
|
16087 |
# Code to be used in simple link tests |
# Code to be used in simple link tests |
16088 |
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' |
16089 |
|
|
16090 |
# 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. |
16091 |
|
|
16096 |
compiler=$CC |
compiler=$CC |
16097 |
|
|
16098 |
|
|
16099 |
|
# save warnings/boilerplate of simple test code |
16100 |
|
ac_outfile=conftest.$ac_objext |
16101 |
|
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
16102 |
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
16103 |
|
_lt_compiler_boilerplate=`cat conftest.err` |
16104 |
|
$rm conftest* |
16105 |
|
|
16106 |
|
ac_outfile=conftest.$ac_objext |
16107 |
|
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
16108 |
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
16109 |
|
_lt_linker_boilerplate=`cat conftest.err` |
16110 |
|
$rm conftest* |
16111 |
|
|
16112 |
|
|
16113 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
16114 |
lt_save_CC="$CC" |
lt_save_CC="$CC" |
16115 |
CC=${GCJ-"gcj"} |
CC=${GCJ-"gcj"} |
16116 |
compiler=$CC |
compiler=$CC |
16117 |
compiler_GCJ=$CC |
compiler_GCJ=$CC |
16118 |
|
for cc_temp in $compiler""; do |
16119 |
|
case $cc_temp in |
16120 |
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
16121 |
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
16122 |
|
\-*) ;; |
16123 |
|
*) break;; |
16124 |
|
esac |
16125 |
|
done |
16126 |
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
16127 |
|
|
16128 |
|
|
16129 |
# 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. |
16130 |
archive_cmds_need_lc_GCJ=no |
archive_cmds_need_lc_GCJ=no |
16131 |
|
|
16132 |
|
old_archive_cmds_GCJ=$old_archive_cmds |
16133 |
|
|
16134 |
|
|
16135 |
lt_prog_compiler_no_builtin_flag_GCJ= |
lt_prog_compiler_no_builtin_flag_GCJ= |
16136 |
|
|
16156 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16157 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16158 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
16159 |
(eval echo "\"\$as_me:15736: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:16159: $lt_compile\"" >&5) |
16160 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
16161 |
ac_status=$? |
ac_status=$? |
16162 |
cat conftest.err >&5 |
cat conftest.err >&5 |
16163 |
echo "$as_me:15740: \$? = $ac_status" >&5 |
echo "$as_me:16163: \$? = $ac_status" >&5 |
16164 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
16165 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
16166 |
# So say no if there are warnings |
# So say no if there are warnings other than the usual output. |
16167 |
if test ! -s conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
16168 |
|
$SED '/^$/d' conftest.err >conftest.er2 |
16169 |
|
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
16170 |
lt_cv_prog_compiler_rtti_exceptions=yes |
lt_cv_prog_compiler_rtti_exceptions=yes |
16171 |
fi |
fi |
16172 |
fi |
fi |
16269 |
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' |
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' |
16270 |
fi |
fi |
16271 |
;; |
;; |
16272 |
|
darwin*) |
16273 |
|
# PIC is the default on this platform |
16274 |
|
# Common symbols not allowed in MH_DYLIB files |
16275 |
|
case $cc_basename in |
16276 |
|
xlc*) |
16277 |
|
lt_prog_compiler_pic_GCJ='-qnocommon' |
16278 |
|
lt_prog_compiler_wl_GCJ='-Wl,' |
16279 |
|
;; |
16280 |
|
esac |
16281 |
|
;; |
16282 |
|
|
16283 |
mingw* | pw32* | os2*) |
mingw* | pw32* | os2*) |
16284 |
# 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 |
16314 |
;; |
;; |
16315 |
|
|
16316 |
linux*) |
linux*) |
16317 |
case $CC in |
case $cc_basename in |
16318 |
icc* | ecc*) |
icc* | ecc*) |
16319 |
lt_prog_compiler_wl_GCJ='-Wl,' |
lt_prog_compiler_wl_GCJ='-Wl,' |
16320 |
lt_prog_compiler_pic_GCJ='-KPIC' |
lt_prog_compiler_pic_GCJ='-KPIC' |
16321 |
lt_prog_compiler_static_GCJ='-static' |
lt_prog_compiler_static_GCJ='-static' |
16322 |
;; |
;; |
16323 |
|
pgcc* | pgf77* | pgf90*) |
16324 |
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
16325 |
|
# which looks to be a dead project) |
16326 |
|
lt_prog_compiler_wl_GCJ='-Wl,' |
16327 |
|
lt_prog_compiler_pic_GCJ='-fpic' |
16328 |
|
lt_prog_compiler_static_GCJ='-static' |
16329 |
|
;; |
16330 |
ccc*) |
ccc*) |
16331 |
lt_prog_compiler_wl_GCJ='-Wl,' |
lt_prog_compiler_wl_GCJ='-Wl,' |
16332 |
# All Alpha code is PIC. |
# All Alpha code is PIC. |
16347 |
;; |
;; |
16348 |
|
|
16349 |
solaris*) |
solaris*) |
|
lt_prog_compiler_wl_GCJ='-Wl,' |
|
16350 |
lt_prog_compiler_pic_GCJ='-KPIC' |
lt_prog_compiler_pic_GCJ='-KPIC' |
16351 |
lt_prog_compiler_static_GCJ='-Bstatic' |
lt_prog_compiler_static_GCJ='-Bstatic' |
16352 |
|
case $cc_basename in |
16353 |
|
f77* | f90* | f95*) |
16354 |
|
lt_prog_compiler_wl_GCJ='-Qoption ld ';; |
16355 |
|
*) |
16356 |
|
lt_prog_compiler_wl_GCJ='-Wl,';; |
16357 |
|
esac |
16358 |
;; |
;; |
16359 |
|
|
16360 |
sunos4*) |
sunos4*) |
16376 |
fi |
fi |
16377 |
;; |
;; |
16378 |
|
|
16379 |
|
unicos*) |
16380 |
|
lt_prog_compiler_wl_GCJ='-Wl,' |
16381 |
|
lt_prog_compiler_can_build_shared_GCJ=no |
16382 |
|
;; |
16383 |
|
|
16384 |
uts4*) |
uts4*) |
16385 |
lt_prog_compiler_pic_GCJ='-pic' |
lt_prog_compiler_pic_GCJ='-pic' |
16386 |
lt_prog_compiler_static_GCJ='-Bstatic' |
lt_prog_compiler_static_GCJ='-Bstatic' |
16418 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16419 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16420 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
16421 |
(eval echo "\"\$as_me:15969: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:16421: $lt_compile\"" >&5) |
16422 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
16423 |
ac_status=$? |
ac_status=$? |
16424 |
cat conftest.err >&5 |
cat conftest.err >&5 |
16425 |
echo "$as_me:15973: \$? = $ac_status" >&5 |
echo "$as_me:16425: \$? = $ac_status" >&5 |
16426 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
16427 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
16428 |
# So say no if there are warnings |
# So say no if there are warnings other than the usual output. |
16429 |
if test ! -s conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
16430 |
|
$SED '/^$/d' conftest.err >conftest.er2 |
16431 |
|
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
16432 |
lt_prog_compiler_pic_works_GCJ=yes |
lt_prog_compiler_pic_works_GCJ=yes |
16433 |
fi |
fi |
16434 |
fi |
fi |
16480 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16481 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16482 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
16483 |
(eval echo "\"\$as_me:16029: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:16483: $lt_compile\"" >&5) |
16484 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
16485 |
ac_status=$? |
ac_status=$? |
16486 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
16487 |
echo "$as_me:16033: \$? = $ac_status" >&5 |
echo "$as_me:16487: \$? = $ac_status" >&5 |
16488 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
16489 |
then |
then |
16490 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
16491 |
# So say no if there are warnings |
# So say no if there are warnings |
16492 |
if test ! -s out/conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
16493 |
|
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
16494 |
|
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
16495 |
lt_cv_prog_compiler_c_o_GCJ=yes |
lt_cv_prog_compiler_c_o_GCJ=yes |
16496 |
fi |
fi |
16497 |
fi |
fi |
16571 |
# 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 |
16572 |
# preloaded symbol tables. |
# preloaded symbol tables. |
16573 |
extract_expsyms_cmds= |
extract_expsyms_cmds= |
16574 |
|
# Just being paranoid about ensuring that cc_basename is set. |
16575 |
|
for cc_temp in $compiler""; do |
16576 |
|
case $cc_temp in |
16577 |
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
16578 |
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
16579 |
|
\-*) ;; |
16580 |
|
*) break;; |
16581 |
|
esac |
16582 |
|
done |
16583 |
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
16584 |
|
|
16585 |
case $host_os in |
case $host_os in |
16586 |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
16601 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
# If archive_cmds runs LD, not CC, wlarc should be empty |
16602 |
wlarc='${wl}' |
wlarc='${wl}' |
16603 |
|
|
16604 |
|
# Set some defaults for GNU ld with shared library support. These |
16605 |
|
# are reset later if shared libraries are not supported. Putting them |
16606 |
|
# here allows them to be overridden if necessary. |
16607 |
|
runpath_var=LD_RUN_PATH |
16608 |
|
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' |
16609 |
|
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' |
16610 |
|
# ancient GNU ld didn't support --whole-archive et. al. |
16611 |
|
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
16612 |
|
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
16613 |
|
else |
16614 |
|
whole_archive_flag_spec_GCJ= |
16615 |
|
fi |
16616 |
|
supports_anon_versioning=no |
16617 |
|
case `$LD -v 2>/dev/null` in |
16618 |
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
16619 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
16620 |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
16621 |
|
*\ 2.11.*) ;; # other 2.11 versions |
16622 |
|
*) supports_anon_versioning=yes ;; |
16623 |
|
esac |
16624 |
|
|
16625 |
# See if GNU ld supports shared libraries. |
# See if GNU ld supports shared libraries. |
16626 |
case $host_os in |
case $host_os in |
16627 |
aix3* | aix4* | aix5*) |
aix3* | aix4* | aix5*) |
16672 |
allow_undefined_flag_GCJ=unsupported |
allow_undefined_flag_GCJ=unsupported |
16673 |
always_export_symbols_GCJ=no |
always_export_symbols_GCJ=no |
16674 |
enable_shared_with_static_runtimes_GCJ=yes |
enable_shared_with_static_runtimes_GCJ=yes |
16675 |
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
16676 |
|
|
16677 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
16678 |
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' |
16686 |
fi~ |
fi~ |
16687 |
$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' |
16688 |
else |
else |
16689 |
ld_shlibs=no |
ld_shlibs_GCJ=no |
16690 |
|
fi |
16691 |
|
;; |
16692 |
|
|
16693 |
|
linux*) |
16694 |
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
16695 |
|
tmp_addflag= |
16696 |
|
case $cc_basename,$host_cpu in |
16697 |
|
pgcc*) # Portland Group C compiler |
16698 |
|
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' |
16699 |
|
tmp_addflag=' $pic_flag' |
16700 |
|
;; |
16701 |
|
pgf77* | pgf90* ) # Portland Group f77 and f90 compilers |
16702 |
|
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' |
16703 |
|
tmp_addflag=' $pic_flag -Mnomain' ;; |
16704 |
|
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
16705 |
|
tmp_addflag=' -i_dynamic' ;; |
16706 |
|
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
16707 |
|
tmp_addflag=' -i_dynamic -nofor_main' ;; |
16708 |
|
ifc* | ifort*) # Intel Fortran compiler |
16709 |
|
tmp_addflag=' -nofor_main' ;; |
16710 |
|
esac |
16711 |
|
archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
16712 |
|
|
16713 |
|
if test $supports_anon_versioning = yes; then |
16714 |
|
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ |
16715 |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
16716 |
|
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
16717 |
|
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
16718 |
|
fi |
16719 |
|
else |
16720 |
|
ld_shlibs_GCJ=no |
16721 |
fi |
fi |
16722 |
;; |
;; |
16723 |
|
|
16759 |
hardcode_shlibpath_var_GCJ=no |
hardcode_shlibpath_var_GCJ=no |
16760 |
;; |
;; |
16761 |
|
|
|
linux*) |
|
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
|
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
archive_cmds_GCJ="$tmp_archive_cmds" |
|
|
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 |
|
|
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 $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
|
else |
|
|
archive_expsym_cmds_GCJ="$tmp_archive_cmds" |
|
|
fi |
|
|
else |
|
|
ld_shlibs_GCJ=no |
|
|
fi |
|
|
;; |
|
|
|
|
16762 |
*) |
*) |
16763 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
16764 |
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' |
16769 |
;; |
;; |
16770 |
esac |
esac |
16771 |
|
|
16772 |
if test "$ld_shlibs_GCJ" = yes; then |
if test "$ld_shlibs_GCJ" = no; then |
16773 |
runpath_var=LD_RUN_PATH |
runpath_var= |
16774 |
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' |
hardcode_libdir_flag_spec_GCJ= |
16775 |
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' |
export_dynamic_flag_spec_GCJ= |
16776 |
# ancient GNU ld didn't support --whole-archive et. al. |
whole_archive_flag_spec_GCJ= |
|
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 |
|
16777 |
fi |
fi |
16778 |
else |
else |
16779 |
# 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) |
16837 |
link_all_deplibs_GCJ=yes |
link_all_deplibs_GCJ=yes |
16838 |
|
|
16839 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
16840 |
case $host_os in aix4.012|aix4.012.*) |
case $host_os in aix4.[012]|aix4.[012].*) |
16841 |
# 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 |
16842 |
# below for broken collect2 doesn't work under 4.3+ |
# below for broken collect2 doesn't work under 4.3+ |
16843 |
collect2name=`${CC} -print-prog-name=collect2` |
collect2name=`${CC} -print-prog-name=collect2` |
16858 |
fi |
fi |
16859 |
esac |
esac |
16860 |
shared_flag='-shared' |
shared_flag='-shared' |
16861 |
|
if test "$aix_use_runtimelinking" = yes; then |
16862 |
|
shared_flag="$shared_flag "'${wl}-G' |
16863 |
|
fi |
16864 |
else |
else |
16865 |
# not using gcc |
# not using gcc |
16866 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
17021 |
ld_shlibs_GCJ=no |
ld_shlibs_GCJ=no |
17022 |
;; |
;; |
17023 |
|
|
17024 |
bsdi4*) |
bsdi[45]*) |
17025 |
export_dynamic_flag_spec_GCJ=-rdynamic |
export_dynamic_flag_spec_GCJ=-rdynamic |
17026 |
;; |
;; |
17027 |
|
|
17042 |
old_archive_From_new_cmds_GCJ='true' |
old_archive_From_new_cmds_GCJ='true' |
17043 |
# FIXME: Should let the user specify the lib program. |
# FIXME: Should let the user specify the lib program. |
17044 |
old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' |
old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' |
17045 |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' |
17046 |
enable_shared_with_static_runtimes_GCJ=yes |
enable_shared_with_static_runtimes_GCJ=yes |
17047 |
;; |
;; |
17048 |
|
|
17049 |
darwin* | rhapsody*) |
darwin* | rhapsody*) |
|
if test "$GXX" = yes ; then |
|
|
archive_cmds_need_lc_GCJ=no |
|
17050 |
case "$host_os" in |
case "$host_os" in |
17051 |
rhapsody* | darwin1.[012]) |
rhapsody* | darwin1.[012]) |
17052 |
allow_undefined_flag_GCJ='-undefined suppress' |
allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' |
17053 |
;; |
;; |
17054 |
*) # Darwin 1.3 on |
*) # Darwin 1.3 on |
17055 |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
17056 |
allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' |
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
17057 |
else |
else |
17058 |
case ${MACOSX_DEPLOYMENT_TARGET} in |
case ${MACOSX_DEPLOYMENT_TARGET} in |
17059 |
10.[012]) |
10.[012]) |
17060 |
allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' |
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
17061 |
;; |
;; |
17062 |
10.*) |
10.*) |
17063 |
allow_undefined_flag_GCJ='-undefined dynamic_lookup' |
allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup' |
17064 |
;; |
;; |
17065 |
esac |
esac |
17066 |
fi |
fi |
17067 |
;; |
;; |
17068 |
esac |
esac |
17069 |
lt_int_apple_cc_single_mod=no |
archive_cmds_need_lc_GCJ=no |
|
output_verbose_link_cmd='echo' |
|
|
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then |
|
|
lt_int_apple_cc_single_mod=yes |
|
|
fi |
|
|
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
|
archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
|
|
else |
|
|
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' |
|
|
fi |
|
|
module_cmds_GCJ='$CC ${wl}-bind_at_load $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 |
|
|
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
|
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}' |
|
|
else |
|
|
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}' |
|
|
fi |
|
|
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}' |
|
17070 |
hardcode_direct_GCJ=no |
hardcode_direct_GCJ=no |
17071 |
hardcode_automatic_GCJ=yes |
hardcode_automatic_GCJ=yes |
17072 |
hardcode_shlibpath_var_GCJ=unsupported |
hardcode_shlibpath_var_GCJ=unsupported |
17073 |
whole_archive_flag_spec_GCJ='-all_load $convenience' |
whole_archive_flag_spec_GCJ='' |
17074 |
link_all_deplibs_GCJ=yes |
link_all_deplibs_GCJ=yes |
17075 |
|
if test "$GCC" = yes ; then |
17076 |
|
output_verbose_link_cmd='echo' |
17077 |
|
archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
17078 |
|
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
17079 |
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
17080 |
|
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}' |
17081 |
|
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}' |
17082 |
else |
else |
17083 |
ld_shlibs_GCJ=no |
case $cc_basename in |
17084 |
|
xlc*) |
17085 |
|
output_verbose_link_cmd='echo' |
17086 |
|
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
17087 |
|
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
17088 |
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
17089 |
|
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}' |
17090 |
|
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}' |
17091 |
|
;; |
17092 |
|
*) |
17093 |
|
ld_shlibs_GCJ=no |
17094 |
|
;; |
17095 |
|
esac |
17096 |
fi |
fi |
17097 |
;; |
;; |
17098 |
|
|
17126 |
;; |
;; |
17127 |
|
|
17128 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
17129 |
freebsd* | kfreebsd*-gnu) |
freebsd* | kfreebsd*-gnu | dragonfly*) |
17130 |
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
17131 |
hardcode_libdir_flag_spec_GCJ='-R$libdir' |
hardcode_libdir_flag_spec_GCJ='-R$libdir' |
17132 |
hardcode_direct_GCJ=yes |
hardcode_direct_GCJ=yes |
17237 |
hardcode_shlibpath_var_GCJ=no |
hardcode_shlibpath_var_GCJ=no |
17238 |
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 |
17239 |
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' |
17240 |
|
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
17241 |
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
17242 |
export_dynamic_flag_spec_GCJ='${wl}-E' |
export_dynamic_flag_spec_GCJ='${wl}-E' |
17243 |
else |
else |
17283 |
allow_undefined_flag_GCJ=' -expect_unresolved \*' |
allow_undefined_flag_GCJ=' -expect_unresolved \*' |
17284 |
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' |
17285 |
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~ |
17286 |
$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' |
$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' |
17287 |
|
|
17288 |
# Both c and cxx compiler support -rpath directly |
# Both c and cxx compiler support -rpath directly |
17289 |
hardcode_libdir_flag_spec_GCJ='-rpath $libdir' |
hardcode_libdir_flag_spec_GCJ='-rpath $libdir' |
17302 |
solaris*) |
solaris*) |
17303 |
no_undefined_flag_GCJ=' -z text' |
no_undefined_flag_GCJ=' -z text' |
17304 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
17305 |
|
wlarc='${wl}' |
17306 |
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' |
17307 |
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~ |
17308 |
$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' |
17309 |
else |
else |
17310 |
|
wlarc='' |
17311 |
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' |
17312 |
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~ |
17313 |
$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' |
17316 |
hardcode_shlibpath_var_GCJ=no |
hardcode_shlibpath_var_GCJ=no |
17317 |
case $host_os in |
case $host_os in |
17318 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
17319 |
*) # Supported since Solaris 2.6 (maybe 2.5.1?) |
*) |
17320 |
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; |
# The compiler driver will combine linker options so we |
17321 |
|
# cannot just pass the convience library names through |
17322 |
|
# without $wl, iff we do not link with $LD. |
17323 |
|
# Luckily, gcc supports the same syntax we need for Sun Studio. |
17324 |
|
# Supported since Solaris 2.6 (maybe 2.5.1?) |
17325 |
|
case $wlarc in |
17326 |
|
'') |
17327 |
|
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; |
17328 |
|
*) |
17329 |
|
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' ;; |
17330 |
|
esac ;; |
17331 |
esac |
esac |
17332 |
link_all_deplibs_GCJ=yes |
link_all_deplibs_GCJ=yes |
17333 |
;; |
;; |
17601 |
shlibpath_var=LIBRARY_PATH |
shlibpath_var=LIBRARY_PATH |
17602 |
;; |
;; |
17603 |
|
|
17604 |
bsdi4*) |
bsdi[45]*) |
17605 |
version_type=linux |
version_type=linux |
17606 |
need_version=no |
need_version=no |
17607 |
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}' |
17659 |
;; |
;; |
17660 |
pw32*) |
pw32*) |
17661 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
17662 |
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}' |
17663 |
;; |
;; |
17664 |
esac |
esac |
17665 |
;; |
;; |
17717 |
dynamic_linker='GNU ld.so' |
dynamic_linker='GNU ld.so' |
17718 |
;; |
;; |
17719 |
|
|
17720 |
freebsd*) |
freebsd* | dragonfly*) |
17721 |
|
# DragonFly does not have aout. When/if they implement a new |
17722 |
|
# versioning mechanism, adjust this. |
17723 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
17724 |
version_type=freebsd-$objformat |
version_type=freebsd-$objformat |
17725 |
case $version_type in |
case $version_type in |
17738 |
freebsd2*) |
freebsd2*) |
17739 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
17740 |
;; |
;; |
17741 |
freebsd3.01* | freebsdelf3.01*) |
freebsd3.[01]* | freebsdelf3.[01]*) |
17742 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
17743 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
17744 |
;; |
;; |
17862 |
# before this can be enabled. |
# before this can be enabled. |
17863 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
17864 |
|
|
17865 |
|
# find out which ABI we are using |
17866 |
libsuff= |
libsuff= |
17867 |
if test "$lt_cv_cc_lib64_suffix" = "yes"; then |
case "$host_cpu" in |
17868 |
libsuff=64 |
x86_64*|s390x*|powerpc64*) |
17869 |
fi |
echo '#line 17869 "configure"' > conftest.$ac_ext |
17870 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
17871 |
|
(eval $ac_compile) 2>&5 |
17872 |
|
ac_status=$? |
17873 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17874 |
|
(exit $ac_status); }; then |
17875 |
|
case `/usr/bin/file conftest.$ac_objext` in |
17876 |
|
*64-bit*) |
17877 |
|
libsuff=64 |
17878 |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
17879 |
|
;; |
17880 |
|
esac |
17881 |
|
fi |
17882 |
|
rm -rf conftest* |
17883 |
|
;; |
17884 |
|
esac |
17885 |
|
|
17886 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
17887 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
17888 |
lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` |
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' ' '` |
17889 |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/X11R6/lib${libsuff} $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/X11R6/lib${libsuff} /usr/local/lib${libsuff} $lt_ld_extra" |
|
17890 |
fi |
fi |
17891 |
|
|
17892 |
# 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 |
17948 |
openbsd*) |
openbsd*) |
17949 |
version_type=sunos |
version_type=sunos |
17950 |
need_lib_prefix=no |
need_lib_prefix=no |
17951 |
need_version=yes |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
17952 |
|
case $host_os in |
17953 |
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
17954 |
|
*) need_version=no ;; |
17955 |
|
esac |
17956 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
17957 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
17958 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
18074 |
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 |
18075 |
hardcode_action_GCJ= |
hardcode_action_GCJ= |
18076 |
if test -n "$hardcode_libdir_flag_spec_GCJ" || \ |
if test -n "$hardcode_libdir_flag_spec_GCJ" || \ |
18077 |
test -n "$runpath_var GCJ" || \ |
test -n "$runpath_var_GCJ" || \ |
18078 |
test "X$hardcode_automatic_GCJ"="Xyes" ; then |
test "X$hardcode_automatic_GCJ" = "Xyes" ; then |
18079 |
|
|
18080 |
# We can hardcode non-existant directories. |
# We can hardcode non-existant directories. |
18081 |
if test "$hardcode_direct_GCJ" != no && |
if test "$hardcode_direct_GCJ" != no && |
18741 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18742 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
18743 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
18744 |
#line 18219 "configure" |
#line 18744 "configure" |
18745 |
#include "confdefs.h" |
#include "confdefs.h" |
18746 |
|
|
18747 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
18839 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18840 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
18841 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
18842 |
#line 18317 "configure" |
#line 18842 "configure" |
18843 |
#include "confdefs.h" |
#include "confdefs.h" |
18844 |
|
|
18845 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
19057 |
# The host system. |
# The host system. |
19058 |
host_alias=$host_alias |
host_alias=$host_alias |
19059 |
host=$host |
host=$host |
19060 |
|
host_os=$host_os |
19061 |
|
|
19062 |
|
# The build system. |
19063 |
|
build_alias=$build_alias |
19064 |
|
build=$build |
19065 |
|
build_os=$build_os |
19066 |
|
|
19067 |
# An echo program that does not interpret backslashes. |
# An echo program that does not interpret backslashes. |
19068 |
echo=$lt_echo |
echo=$lt_echo |
19139 |
# Does compiler simultaneously support -c and -o options? |
# Does compiler simultaneously support -c and -o options? |
19140 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ |
19141 |
|
|
19142 |
# Must we lock files when doing compilation ? |
# Must we lock files when doing compilation? |
19143 |
need_locks=$lt_need_locks |
need_locks=$lt_need_locks |
19144 |
|
|
19145 |
# Do we need the lib prefix for modules? |
# Do we need the lib prefix for modules? |
19387 |
compiler=$CC |
compiler=$CC |
19388 |
|
|
19389 |
|
|
19390 |
|
# save warnings/boilerplate of simple test code |
19391 |
|
ac_outfile=conftest.$ac_objext |
19392 |
|
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
19393 |
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
19394 |
|
_lt_compiler_boilerplate=`cat conftest.err` |
19395 |
|
$rm conftest* |
19396 |
|
|
19397 |
|
ac_outfile=conftest.$ac_objext |
19398 |
|
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
19399 |
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
19400 |
|
_lt_linker_boilerplate=`cat conftest.err` |
19401 |
|
$rm conftest* |
19402 |
|
|
19403 |
|
|
19404 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
19405 |
lt_save_CC="$CC" |
lt_save_CC="$CC" |
19406 |
CC=${RC-"windres"} |
CC=${RC-"windres"} |
19407 |
compiler=$CC |
compiler=$CC |
19408 |
compiler_RC=$CC |
compiler_RC=$CC |
19409 |
|
for cc_temp in $compiler""; do |
19410 |
|
case $cc_temp in |
19411 |
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
19412 |
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
19413 |
|
\-*) ;; |
19414 |
|
*) break;; |
19415 |
|
esac |
19416 |
|
done |
19417 |
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
19418 |
|
|
19419 |
lt_cv_prog_compiler_c_o_RC=yes |
lt_cv_prog_compiler_c_o_RC=yes |
19420 |
|
|
19421 |
# The else clause should only fire when bootstrapping the |
# The else clause should only fire when bootstrapping the |
19532 |
# The host system. |
# The host system. |
19533 |
host_alias=$host_alias |
host_alias=$host_alias |
19534 |
host=$host |
host=$host |
19535 |
|
host_os=$host_os |
19536 |
|
|
19537 |
|
# The build system. |
19538 |
|
build_alias=$build_alias |
19539 |
|
build=$build |
19540 |
|
build_os=$build_os |
19541 |
|
|
19542 |
# An echo program that does not interpret backslashes. |
# An echo program that does not interpret backslashes. |
19543 |
echo=$lt_echo |
echo=$lt_echo |
19614 |
# Does compiler simultaneously support -c and -o options? |
# Does compiler simultaneously support -c and -o options? |
19615 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC |
19616 |
|
|
19617 |
# Must we lock files when doing compilation ? |
# Must we lock files when doing compilation? |
19618 |
need_locks=$lt_need_locks |
need_locks=$lt_need_locks |
19619 |
|
|
19620 |
# Do we need the lib prefix for modules? |
# Do we need the lib prefix for modules? |
20082 |
${ROOT_LIBRARY}/libGX11.so ${ROOT_LIBRARY}/libGX11TTF.so \ |
${ROOT_LIBRARY}/libGX11.so ${ROOT_LIBRARY}/libGX11TTF.so \ |
20083 |
${ROOT_LIBRARY}/libX3d.so \ |
${ROOT_LIBRARY}/libX3d.so \ |
20084 |
${ROOT_LIBRARY}/libASImage.so \ |
${ROOT_LIBRARY}/libASImage.so \ |
20085 |
${ROOT_LIBRARY}/libThread.so ${ROOT_LIBRARY}/libRXML.so \ |
${ROOT_LIBRARY}/libThread.so \ |
20086 |
-ldl" |
-ldl" |
20087 |
|
|
20088 |
|
|
20119 |
fi; |
fi; |
20120 |
LOG4CXX_INCLUDES="-I${LOG4CXX}/include" |
LOG4CXX_INCLUDES="-I${LOG4CXX}/include" |
20121 |
|
|
20122 |
|
#------------------------------------------------------------ |
20123 |
|
|
20124 |
|
# Check whether --with-log4cxx or --without-log4cxx was given. |
20125 |
|
if test "${with_log4cxx+set}" = set; then |
20126 |
|
withval="$with_log4cxx" |
20127 |
|
LOG4CXX=$with_log4cxx |
20128 |
|
fi; |
20129 |
|
|
20130 |
|
LOG4CXX_LIBRARY="${LOG4CXX}/lib" |
20131 |
|
LOG4CXX_INCLUDES="-I${LOG4CXX}/include" |
20132 |
|
LOG4CXX_LDFLAGS=" ${LOG4CXX_LIBRARY}/liblog4cxx.so " |
20133 |
|
|
20134 |
|
|
20135 |
|
|
20136 |
|
|
20137 |
|
#------------------------------------------------------------ |
20138 |
|
|
20139 |
|
|
20140 |
|
|
20141 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
20142 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
20143 |
if test "${ac_cv_header_stdc+set}" = set; then |
if test "${ac_cv_header_stdc+set}" = set; then |
20306 |
|
|
20307 |
|
|
20308 |
|
|
20309 |
ac_config_files="$ac_config_files Makefile Doxyfile event/Makefile event/mcmd/Makefile event/tmtc/Makefile event/log/Makefile event/arrDump/Makefile event/tabDump/Makefile event/varDump/Makefile event/physics/Makefile event/physics/tracker/Makefile event/physics/anticounter/Makefile event/physics/calorimeter/Makefile event/physics/neutronDetector/Makefile event/physics/trigger/Makefile event/physics/tof/Makefile event/physics/S4/Makefile techmodel/Makefile techmodel/forroutines/tracker/Makefile techmodel/forroutines/tracker/readraw/Makefile techmodel/forroutines/anticounter/Makefile techmodel/forroutines/calorimeter/Makefile techmodel/forroutines/tof/Makefile techmodel/forroutines/trigger/Makefile techmodel/forroutines/Makefile techmodel/physics/Makefile" |
ac_config_files="$ac_config_files Makefile Doxyfile event/Makefile event/mcmd/Makefile event/tmtc/Makefile event/log/Makefile event/arrDump/Makefile event/tabDump/Makefile event/varDump/Makefile event/tsbt/Makefile event/tsbb/Makefile event/endrun/Makefile event/physics/Makefile event/physics/tracker/Makefile event/physics/anticounter/Makefile event/physics/calorimeter/Makefile event/physics/neutronDetector/Makefile event/physics/trigger/Makefile event/physics/tof/Makefile event/physics/S4/Makefile techmodel/Makefile techmodel/forroutines/tracker/Makefile techmodel/forroutines/tracker/readraw/Makefile techmodel/forroutines/anticounter/Makefile techmodel/forroutines/calorimeter/Makefile techmodel/forroutines/tof/Makefile techmodel/forroutines/trigger/Makefile techmodel/forroutines/Makefile techmodel/physics/Makefile" |
20310 |
cat >confcache <<\_ACEOF |
cat >confcache <<\_ACEOF |
20311 |
# This file is a shell script that caches the results of configure |
# This file is a shell script that caches the results of configure |
20312 |
# tests run on this system so they can be shared between configure |
# tests run on this system so they can be shared between configure |
20872 |
"event/arrDump/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/arrDump/Makefile" ;; |
"event/arrDump/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/arrDump/Makefile" ;; |
20873 |
"event/tabDump/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/tabDump/Makefile" ;; |
"event/tabDump/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/tabDump/Makefile" ;; |
20874 |
"event/varDump/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/varDump/Makefile" ;; |
"event/varDump/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/varDump/Makefile" ;; |
20875 |
|
"event/tsbt/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/tsbt/Makefile" ;; |
20876 |
|
"event/tsbb/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/tsbb/Makefile" ;; |
20877 |
|
"event/endrun/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/endrun/Makefile" ;; |
20878 |
"event/physics/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/physics/Makefile" ;; |
"event/physics/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/physics/Makefile" ;; |
20879 |
"event/physics/tracker/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/physics/tracker/Makefile" ;; |
"event/physics/tracker/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/physics/tracker/Makefile" ;; |
20880 |
"event/physics/anticounter/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/physics/anticounter/Makefile" ;; |
"event/physics/anticounter/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/physics/anticounter/Makefile" ;; |
21046 |
s,@ROOT_INCLUDES@,$ROOT_INCLUDES,;t t |
s,@ROOT_INCLUDES@,$ROOT_INCLUDES,;t t |
21047 |
s,@ROOT_LDFLAGS@,$ROOT_LDFLAGS,;t t |
s,@ROOT_LDFLAGS@,$ROOT_LDFLAGS,;t t |
21048 |
s,@ROOTCINT@,$ROOTCINT,;t t |
s,@ROOTCINT@,$ROOTCINT,;t t |
21049 |
|
s,@LOG4CXX_INCLUDES@,$LOG4CXX_INCLUDES,;t t |
21050 |
|
s,@LOG4CXX_LDFLAGS@,$LOG4CXX_LDFLAGS,;t t |
21051 |
|
s,@LOG4CXX_LIBRARY@,$LOG4CXX_LIBRARY,;t t |
21052 |
s,@LIBOBJS@,$LIBOBJS,;t t |
s,@LIBOBJS@,$LIBOBJS,;t t |
21053 |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
21054 |
CEOF |
CEOF |