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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL pcre_has_bits_type_traits pcre_has_type_traits MAYBE_CPP_TARGETS pcre_has_long_long pcre_has_ulong_long BUILD_EXEEXT BUILD_OBJEXT CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD EBCDIC HAVE_MEMMOVE HAVE_STRERROR LINK_SIZE MATCH_LIMIT NEWLINE NO_RECURSE PCRE_MAJOR PCRE_MINOR PCRE_DATE PCRE_VERSION PCRE_LIB_VERSION PCRE_POSIXLIB_VERSION PCRE_CPPLIB_VERSION POSIX_MALLOC_THRESHOLD UCP UTF8 WIN_PREFIX ON_WINDOWS NOT_ON_WINDOWS POSIX_OBJ POSIX_LOBJ POSIX_LIB 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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL pcre_have_bits_type_traits pcre_have_type_traits MAYBE_CPP_TARGETS HAVE_CPP pcre_have_long_long pcre_have_ulong_long BUILD_EXEEXT BUILD_OBJEXT CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD EBCDIC HAVE_MEMMOVE HAVE_STRERROR LINK_SIZE MATCH_LIMIT NEWLINE NO_RECURSE PCRE_MAJOR PCRE_MINOR PCRE_DATE PCRE_VERSION PCRE_LIB_VERSION PCRE_POSIXLIB_VERSION PCRE_CPPLIB_VERSION POSIX_MALLOC_THRESHOLD UCP UTF8 WIN_PREFIX ON_WINDOWS NOT_ON_WINDOWS POSIX_OBJ POSIX_LOBJ POSIX_LIB LIBOBJS LTLIBOBJS' |
467 |
ac_subst_files='' |
ac_subst_files='' |
468 |
|
|
469 |
# Initialize some variables set by options. |
# Initialize some variables set by options. |
1018 |
Optional Features: |
Optional Features: |
1019 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1020 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1021 |
|
--disable-cpp disable C++ support |
1022 |
--enable-shared[=PKGS] |
--enable-shared[=PKGS] |
1023 |
build shared libraries [default=yes] |
build shared libraries [default=yes] |
1024 |
--enable-static[=PKGS] |
--enable-static[=PKGS] |
1506 |
|
|
1507 |
|
|
1508 |
PCRE_MAJOR=6 |
PCRE_MAJOR=6 |
1509 |
PCRE_MINOR=2 |
PCRE_MINOR=3 |
1510 |
PCRE_DATE=01-Aug-2005 |
PCRE_DATE=15-Aug-2005 |
1511 |
PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} |
PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} |
1512 |
|
|
1513 |
|
|
1519 |
PCRE_CPPLIB_VERSION=0:0:0 |
PCRE_CPPLIB_VERSION=0:0:0 |
1520 |
|
|
1521 |
|
|
1522 |
|
# Check whether --enable-cpp or --disable-cpp was given. |
1523 |
|
if test "${enable_cpp+set}" = set; then |
1524 |
|
enableval="$enable_cpp" |
1525 |
|
want_cpp="$enableval" |
1526 |
|
else |
1527 |
|
want_cpp=yes |
1528 |
|
fi; |
1529 |
|
|
1530 |
|
|
1531 |
ac_ext=c |
ac_ext=c |
1532 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
1533 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3074 |
# Add /usr/xpg4/bin/sed as it is typically found on Solaris |
# Add /usr/xpg4/bin/sed as it is typically found on Solaris |
3075 |
# along with /bin/sed that truncates output. |
# along with /bin/sed that truncates output. |
3076 |
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 |
3077 |
test ! -f $lt_ac_sed && break |
test ! -f $lt_ac_sed && continue |
3078 |
cat /dev/null > conftest.in |
cat /dev/null > conftest.in |
3079 |
lt_ac_count=0 |
lt_ac_count=0 |
3080 |
echo $ECHO_N "0123456789$ECHO_C" >conftest.in |
echo $ECHO_N "0123456789$ECHO_C" >conftest.in |
3361 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
3362 |
;; |
;; |
3363 |
|
|
3364 |
freebsd* | kfreebsd*-gnu) |
freebsd* | kfreebsd*-gnu | dragonfly*) |
3365 |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
3366 |
case $host_cpu in |
case $host_cpu in |
3367 |
i*86 ) |
i*86 ) |
3368 |
# Not sure whether the presence of OpenBSD here was a mistake. |
# Not sure whether the presence of OpenBSD here was a mistake. |
3369 |
# Let's accept both of them until this is cleared up. |
# Let's accept both of them until this is cleared up. |
3370 |
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' |
3371 |
lt_cv_file_magic_cmd=/usr/bin/file |
lt_cv_file_magic_cmd=/usr/bin/file |
3372 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
3373 |
;; |
;; |
3411 |
|
|
3412 |
# This must be Linux ELF. |
# This must be Linux ELF. |
3413 |
linux*) |
linux*) |
|
case $host_cpu in |
|
|
alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*) |
|
|
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` |
|
3414 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
3415 |
;; |
;; |
3416 |
|
|
3529 |
;; |
;; |
3530 |
*-*-irix6*) |
*-*-irix6*) |
3531 |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
3532 |
echo '#line 3531 "configure"' > conftest.$ac_ext |
echo '#line 3532 "configure"' > conftest.$ac_ext |
3533 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3534 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
3535 |
ac_status=$? |
ac_status=$? |
3610 |
rm -rf conftest* |
rm -rf conftest* |
3611 |
;; |
;; |
3612 |
|
|
3613 |
|
*-*-linux*) |
3614 |
|
# Test if the compiler is 64bit |
3615 |
|
echo 'int i;' > conftest.$ac_ext |
3616 |
|
lt_cv_cc_64bit_output=no |
3617 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3618 |
|
(eval $ac_compile) 2>&5 |
3619 |
|
ac_status=$? |
3620 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3621 |
|
(exit $ac_status); }; then |
3622 |
|
case `/usr/bin/file conftest.$ac_objext` in |
3623 |
|
*"ELF 64"*) |
3624 |
|
lt_cv_cc_64bit_output=yes |
3625 |
|
;; |
3626 |
|
esac |
3627 |
|
fi |
3628 |
|
rm -rf conftest* |
3629 |
|
;; |
3630 |
|
|
3631 |
*-*-sco3.2v5*) |
*-*-sco3.2v5*) |
3632 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
3633 |
SAVE_CFLAGS="$CFLAGS" |
SAVE_CFLAGS="$CFLAGS" |
4574 |
|
|
4575 |
done |
done |
4576 |
|
|
4577 |
ac_ext=cc |
|
4578 |
|
|
4579 |
|
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
4580 |
|
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
4581 |
|
(test "X$CXX" != "Xg++"))) ; then |
4582 |
|
ac_ext=cc |
4583 |
ac_cpp='$CXXCPP $CPPFLAGS' |
ac_cpp='$CXXCPP $CPPFLAGS' |
4584 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4585 |
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' |
4809 |
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' |
4810 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4811 |
|
|
4812 |
|
fi |
4813 |
|
|
4814 |
|
|
4815 |
ac_ext=f |
ac_ext=f |
4816 |
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
4904 |
|
|
4905 |
|
|
4906 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
4907 |
echo "$as_me:4881:" \ |
echo "$as_me:4907:" \ |
4908 |
"checking for Fortran 77 compiler version" >&5 |
"checking for Fortran 77 compiler version" >&5 |
4909 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
4910 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
5094 |
lt_cv_sys_max_cmd_len=8192; |
lt_cv_sys_max_cmd_len=8192; |
5095 |
;; |
;; |
5096 |
|
|
5097 |
netbsd* | freebsd* | openbsd* | darwin* ) |
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
5098 |
# This has been around since 386BSD, at least. Likely further. |
# This has been around since 386BSD, at least. Likely further. |
5099 |
if test -x /sbin/sysctl; then |
if test -x /sbin/sysctl; then |
5100 |
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
5105 |
fi |
fi |
5106 |
# And add a safety zone |
# And add a safety zone |
5107 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
5108 |
|
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
5109 |
;; |
;; |
5110 |
|
osf*) |
5111 |
*) |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
5112 |
|
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
5113 |
|
# nice to cause kernel panics so lets avoid the loop below. |
5114 |
|
# First set a reasonable default. |
5115 |
|
lt_cv_sys_max_cmd_len=16384 |
5116 |
|
# |
5117 |
|
if test -x /sbin/sysconfig; then |
5118 |
|
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
5119 |
|
*1*) lt_cv_sys_max_cmd_len=-1 ;; |
5120 |
|
esac |
5121 |
|
fi |
5122 |
|
;; |
5123 |
|
*) |
5124 |
# 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 |
5125 |
# maximum length that is only half of the actual maximum length, but |
# maximum length that is only half of the actual maximum length, but |
5126 |
# we can't tell. |
# we can't tell. |
5171 |
# Regexp to match symbols that can be accessed directly from C. |
# Regexp to match symbols that can be accessed directly from C. |
5172 |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
5173 |
|
|
|
# Transform the above into a raw symbol and a C symbol. |
|
|
symxfrm='\1 \2\3 \3' |
|
|
|
|
5174 |
# Transform an extracted symbol line into a proper C declaration |
# Transform an extracted symbol line into a proper C declaration |
5175 |
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'" |
5176 |
|
|
5192 |
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'" |
5193 |
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'" |
5194 |
;; |
;; |
5195 |
|
linux*) |
5196 |
|
if test "$host_cpu" = ia64; then |
5197 |
|
symcode='[ABCDGIRSTW]' |
5198 |
|
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
5199 |
|
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'" |
5200 |
|
fi |
5201 |
|
;; |
5202 |
irix* | nonstopux*) |
irix* | nonstopux*) |
5203 |
symcode='[BCDEGRST]' |
symcode='[BCDEGRST]' |
5204 |
;; |
;; |
5230 |
# Try without a prefix undercore, then with it. |
# Try without a prefix undercore, then with it. |
5231 |
for ac_symprfx in "" "_"; do |
for ac_symprfx in "" "_"; do |
5232 |
|
|
5233 |
|
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
5234 |
|
symxfrm="\\1 $ac_symprfx\\2 \\2" |
5235 |
|
|
5236 |
# Write the raw and C identifiers. |
# Write the raw and C identifiers. |
5237 |
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'" |
5238 |
|
|
5239 |
# Check to see that the pipe works correctly. |
# Check to see that the pipe works correctly. |
5240 |
pipe_works=no |
pipe_works=no |
5396 |
|
|
5397 |
# Sed substitution that helps us do robust quoting. It backslashifies |
# Sed substitution that helps us do robust quoting. It backslashifies |
5398 |
# metacharacters that are still active within double-quoted strings. |
# metacharacters that are still active within double-quoted strings. |
5399 |
Xsed='sed -e s/^X//' |
Xsed='sed -e 1s/^X//' |
5400 |
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' |
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' |
5401 |
|
|
5402 |
# Same as above, but do not quote variable references. |
# Same as above, but do not quote variable references. |
5701 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
5702 |
fi |
fi |
5703 |
|
|
5704 |
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` |
for cc_temp in $compiler""; do |
5705 |
|
case $cc_temp in |
5706 |
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
5707 |
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
5708 |
|
\-*) ;; |
5709 |
|
*) break;; |
5710 |
|
esac |
5711 |
|
done |
5712 |
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
5713 |
|
|
5714 |
|
|
5715 |
# Only perform the check for file, if the check method requires it |
# Only perform the check for file, if the check method requires it |
5716 |
case $deplibs_check_method in |
case $deplibs_check_method in |
5867 |
fi; |
fi; |
5868 |
test -z "$pic_mode" && pic_mode=default |
test -z "$pic_mode" && pic_mode=default |
5869 |
|
|
5870 |
|
# Check if we have a version mismatch between libtool.m4 and ltmain.sh. |
5871 |
|
# |
5872 |
|
# Note: This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined. |
5873 |
|
# We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually |
5874 |
|
# calls AC_LIBTOOL_CONFIG and creates libtool. |
5875 |
|
# |
5876 |
|
echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5 |
5877 |
|
echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6 |
5878 |
|
if test -z "$ltmain"; then |
5879 |
|
echo "$as_me:$LINENO: result: no" >&5 |
5880 |
|
echo "${ECHO_T}no" >&6 |
5881 |
|
echo |
5882 |
|
echo "*** Gentoo sanity check failed! ***" |
5883 |
|
echo "*** \$ltmain is not defined, please check the patch for consistency! ***" |
5884 |
|
echo |
5885 |
|
exit 1 |
5886 |
|
fi |
5887 |
|
gentoo_lt_version="1.5.18" |
5888 |
|
gentoo_ltmain_version=`grep '^[:space:]*VERSION=' $ltmain | sed -e 's|^[:space:]*VERSION=||'` |
5889 |
|
if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then |
5890 |
|
echo "$as_me:$LINENO: result: no" >&5 |
5891 |
|
echo "${ECHO_T}no" >&6 |
5892 |
|
echo |
5893 |
|
echo "*** Gentoo sanity check failed! ***" |
5894 |
|
echo "*** libtool.m4 and ltmain.sh have a version mismatch! ***" |
5895 |
|
echo "*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***" |
5896 |
|
echo |
5897 |
|
echo "Please run:" |
5898 |
|
echo |
5899 |
|
echo " libtoolize --copy --force" |
5900 |
|
echo |
5901 |
|
echo "if appropriate, please contact the maintainer of this" |
5902 |
|
echo "package (or your distribution) for help." |
5903 |
|
echo |
5904 |
|
exit 1 |
5905 |
|
else |
5906 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
5907 |
|
echo "${ECHO_T}yes" >&6 |
5908 |
|
fi |
5909 |
|
|
5910 |
|
|
5911 |
# Use C for the default configuration in the libtool script |
# Use C for the default configuration in the libtool script |
5912 |
tagname= |
tagname= |
5913 |
lt_save_CC="$CC" |
lt_save_CC="$CC" |
5939 |
compiler=$CC |
compiler=$CC |
5940 |
|
|
5941 |
|
|
5942 |
|
# save warnings/boilerplate of simple test code |
5943 |
|
ac_outfile=conftest.$ac_objext |
5944 |
|
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
5945 |
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
5946 |
|
_lt_compiler_boilerplate=`cat conftest.err` |
5947 |
|
$rm conftest* |
5948 |
|
|
5949 |
|
ac_outfile=conftest.$ac_objext |
5950 |
|
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
5951 |
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
5952 |
|
_lt_linker_boilerplate=`cat conftest.err` |
5953 |
|
$rm conftest* |
5954 |
|
|
5955 |
|
|
5956 |
# |
# |
5957 |
# Check for any special shared library compilation flags. |
# Check for any special shared library compilation flags. |
5958 |
# |
# |
5994 |
if test -s conftest.err; then |
if test -s conftest.err; then |
5995 |
# Append any errors to the config.log. |
# Append any errors to the config.log. |
5996 |
cat conftest.err 1>&5 |
cat conftest.err 1>&5 |
5997 |
|
$echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp |
5998 |
|
$SED '/^$/d' conftest.err >conftest.er2 |
5999 |
|
if diff conftest.exp conftest.er2 >/dev/null; then |
6000 |
|
lt_prog_compiler_static_works=yes |
6001 |
|
fi |
6002 |
else |
else |
6003 |
lt_prog_compiler_static_works=yes |
lt_prog_compiler_static_works=yes |
6004 |
fi |
fi |
6018 |
|
|
6019 |
|
|
6020 |
|
|
|
## CAVEAT EMPTOR: |
|
|
## There is no encapsulation within the following macros, do not change |
|
|
## the running order or otherwise move them around unless you know exactly |
|
|
## what you are doing... |
|
6021 |
|
|
6022 |
lt_prog_compiler_no_builtin_flag= |
lt_prog_compiler_no_builtin_flag= |
6023 |
|
|
6043 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6044 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6045 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
6046 |
(eval echo "\"\$as_me:5935: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6046: $lt_compile\"" >&5) |
6047 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
6048 |
ac_status=$? |
ac_status=$? |
6049 |
cat conftest.err >&5 |
cat conftest.err >&5 |
6050 |
echo "$as_me:5939: \$? = $ac_status" >&5 |
echo "$as_me:6050: \$? = $ac_status" >&5 |
6051 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
6052 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
6053 |
# So say no if there are warnings |
# So say no if there are warnings other than the usual output. |
6054 |
if test ! -s conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
6055 |
|
$SED '/^$/d' conftest.err >conftest.er2 |
6056 |
|
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
6057 |
lt_cv_prog_compiler_rtti_exceptions=yes |
lt_cv_prog_compiler_rtti_exceptions=yes |
6058 |
fi |
fi |
6059 |
fi |
fi |
6159 |
darwin*) |
darwin*) |
6160 |
# PIC is the default on this platform |
# PIC is the default on this platform |
6161 |
# Common symbols not allowed in MH_DYLIB files |
# Common symbols not allowed in MH_DYLIB files |
6162 |
case "$cc_basename" in |
case $cc_basename in |
6163 |
xlc*) |
xlc*) |
6164 |
lt_prog_compiler_pic='-qnocommon' |
lt_prog_compiler_pic='-qnocommon' |
6165 |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
6201 |
;; |
;; |
6202 |
|
|
6203 |
linux*) |
linux*) |
6204 |
case $CC in |
case $cc_basename in |
6205 |
icc* | ecc*) |
icc* | ecc*) |
6206 |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
6207 |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_pic='-KPIC' |
6208 |
lt_prog_compiler_static='-static' |
lt_prog_compiler_static='-static' |
6209 |
;; |
;; |
6210 |
|
pgcc* | pgf77* | pgf90*) |
6211 |
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
6212 |
|
# which looks to be a dead project) |
6213 |
|
lt_prog_compiler_wl='-Wl,' |
6214 |
|
lt_prog_compiler_pic='-fpic' |
6215 |
|
lt_prog_compiler_static='-static' |
6216 |
|
;; |
6217 |
ccc*) |
ccc*) |
6218 |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
6219 |
# All Alpha code is PIC. |
# All Alpha code is PIC. |
6234 |
;; |
;; |
6235 |
|
|
6236 |
solaris*) |
solaris*) |
|
lt_prog_compiler_wl='-Wl,' |
|
6237 |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_pic='-KPIC' |
6238 |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_static='-Bstatic' |
6239 |
|
case $cc_basename in |
6240 |
|
f77* | f90* | f95*) |
6241 |
|
lt_prog_compiler_wl='-Qoption ld ';; |
6242 |
|
*) |
6243 |
|
lt_prog_compiler_wl='-Wl,';; |
6244 |
|
esac |
6245 |
;; |
;; |
6246 |
|
|
6247 |
sunos4*) |
sunos4*) |
6263 |
fi |
fi |
6264 |
;; |
;; |
6265 |
|
|
6266 |
|
unicos*) |
6267 |
|
lt_prog_compiler_wl='-Wl,' |
6268 |
|
lt_prog_compiler_can_build_shared=no |
6269 |
|
;; |
6270 |
|
|
6271 |
uts4*) |
uts4*) |
6272 |
lt_prog_compiler_pic='-pic' |
lt_prog_compiler_pic='-pic' |
6273 |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_static='-Bstatic' |
6305 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6306 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6307 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
6308 |
(eval echo "\"\$as_me:6178: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6308: $lt_compile\"" >&5) |
6309 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
6310 |
ac_status=$? |
ac_status=$? |
6311 |
cat conftest.err >&5 |
cat conftest.err >&5 |
6312 |
echo "$as_me:6182: \$? = $ac_status" >&5 |
echo "$as_me:6312: \$? = $ac_status" >&5 |
6313 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
6314 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
6315 |
# So say no if there are warnings |
# So say no if there are warnings other than the usual output. |
6316 |
if test ! -s conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
6317 |
|
$SED '/^$/d' conftest.err >conftest.er2 |
6318 |
|
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
6319 |
lt_prog_compiler_pic_works=yes |
lt_prog_compiler_pic_works=yes |
6320 |
fi |
fi |
6321 |
fi |
fi |
6367 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6368 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6369 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
6370 |
(eval echo "\"\$as_me:6238: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6370: $lt_compile\"" >&5) |
6371 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
6372 |
ac_status=$? |
ac_status=$? |
6373 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
6374 |
echo "$as_me:6242: \$? = $ac_status" >&5 |
echo "$as_me:6374: \$? = $ac_status" >&5 |
6375 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
6376 |
then |
then |
6377 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
6378 |
# So say no if there are warnings |
# So say no if there are warnings |
6379 |
if test ! -s out/conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
6380 |
|
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
6381 |
|
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
6382 |
lt_cv_prog_compiler_c_o=yes |
lt_cv_prog_compiler_c_o=yes |
6383 |
fi |
fi |
6384 |
fi |
fi |
6458 |
# 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 |
6459 |
# preloaded symbol tables. |
# preloaded symbol tables. |
6460 |
extract_expsyms_cmds= |
extract_expsyms_cmds= |
6461 |
|
# Just being paranoid about ensuring that cc_basename is set. |
6462 |
|
for cc_temp in $compiler""; do |
6463 |
|
case $cc_temp in |
6464 |
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
6465 |
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
6466 |
|
\-*) ;; |
6467 |
|
*) break;; |
6468 |
|
esac |
6469 |
|
done |
6470 |
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
6471 |
|
|
6472 |
case $host_os in |
case $host_os in |
6473 |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
6488 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
# If archive_cmds runs LD, not CC, wlarc should be empty |
6489 |
wlarc='${wl}' |
wlarc='${wl}' |
6490 |
|
|
6491 |
|
# Set some defaults for GNU ld with shared library support. These |
6492 |
|
# are reset later if shared libraries are not supported. Putting them |
6493 |
|
# here allows them to be overridden if necessary. |
6494 |
|
runpath_var=LD_RUN_PATH |
6495 |
|
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' |
6496 |
|
export_dynamic_flag_spec='${wl}--export-dynamic' |
6497 |
|
# ancient GNU ld didn't support --whole-archive et. al. |
6498 |
|
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
6499 |
|
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
6500 |
|
else |
6501 |
|
whole_archive_flag_spec= |
6502 |
|
fi |
6503 |
|
supports_anon_versioning=no |
6504 |
|
case `$LD -v 2>/dev/null` in |
6505 |
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
6506 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
6507 |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
6508 |
|
*\ 2.11.*) ;; # other 2.11 versions |
6509 |
|
*) supports_anon_versioning=yes ;; |
6510 |
|
esac |
6511 |
|
|
6512 |
# See if GNU ld supports shared libraries. |
# See if GNU ld supports shared libraries. |
6513 |
case $host_os in |
case $host_os in |
6514 |
aix3* | aix4* | aix5*) |
aix3* | aix4* | aix5*) |
6559 |
allow_undefined_flag=unsupported |
allow_undefined_flag=unsupported |
6560 |
always_export_symbols=no |
always_export_symbols=no |
6561 |
enable_shared_with_static_runtimes=yes |
enable_shared_with_static_runtimes=yes |
6562 |
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' |
6563 |
|
|
6564 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
6565 |
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' |
6577 |
fi |
fi |
6578 |
;; |
;; |
6579 |
|
|
6580 |
|
linux*) |
6581 |
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
6582 |
|
tmp_addflag= |
6583 |
|
case $cc_basename,$host_cpu in |
6584 |
|
pgcc*) # Portland Group C compiler |
6585 |
|
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' |
6586 |
|
tmp_addflag=' $pic_flag' |
6587 |
|
;; |
6588 |
|
pgf77* | pgf90* ) # Portland Group f77 and f90 compilers |
6589 |
|
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' |
6590 |
|
tmp_addflag=' $pic_flag -Mnomain' ;; |
6591 |
|
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
6592 |
|
tmp_addflag=' -i_dynamic' ;; |
6593 |
|
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
6594 |
|
tmp_addflag=' -i_dynamic -nofor_main' ;; |
6595 |
|
ifc* | ifort*) # Intel Fortran compiler |
6596 |
|
tmp_addflag=' -nofor_main' ;; |
6597 |
|
esac |
6598 |
|
archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
6599 |
|
|
6600 |
|
if test $supports_anon_versioning = yes; then |
6601 |
|
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ |
6602 |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
6603 |
|
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
6604 |
|
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
6605 |
|
fi |
6606 |
|
else |
6607 |
|
ld_shlibs=no |
6608 |
|
fi |
6609 |
|
;; |
6610 |
|
|
6611 |
netbsd*) |
netbsd*) |
6612 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
6613 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
6646 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
6647 |
;; |
;; |
6648 |
|
|
|
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 |
|
|
;; |
|
|
|
|
6649 |
*) |
*) |
6650 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
6651 |
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' |
6656 |
;; |
;; |
6657 |
esac |
esac |
6658 |
|
|
6659 |
if test "$ld_shlibs" = yes; then |
if test "$ld_shlibs" = no; then |
6660 |
runpath_var=LD_RUN_PATH |
runpath_var= |
6661 |
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' |
hardcode_libdir_flag_spec= |
6662 |
export_dynamic_flag_spec='${wl}--export-dynamic' |
export_dynamic_flag_spec= |
6663 |
# 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 |
|
6664 |
fi |
fi |
6665 |
else |
else |
6666 |
# 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) |
6724 |
link_all_deplibs=yes |
link_all_deplibs=yes |
6725 |
|
|
6726 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
6727 |
case $host_os in aix4.012|aix4.012.*) |
case $host_os in aix4.[012]|aix4.[012].*) |
6728 |
# 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 |
6729 |
# below for broken collect2 doesn't work under 4.3+ |
# below for broken collect2 doesn't work under 4.3+ |
6730 |
collect2name=`${CC} -print-prog-name=collect2` |
collect2name=`${CC} -print-prog-name=collect2` |
6745 |
fi |
fi |
6746 |
esac |
esac |
6747 |
shared_flag='-shared' |
shared_flag='-shared' |
6748 |
|
if test "$aix_use_runtimelinking" = yes; then |
6749 |
|
shared_flag="$shared_flag "'${wl}-G' |
6750 |
|
fi |
6751 |
else |
else |
6752 |
# not using gcc |
# not using gcc |
6753 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
6967 |
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}' |
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}' |
6968 |
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}' |
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}' |
6969 |
else |
else |
6970 |
case "$cc_basename" in |
case $cc_basename in |
6971 |
xlc*) |
xlc*) |
6972 |
output_verbose_link_cmd='echo' |
output_verbose_link_cmd='echo' |
6973 |
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
7013 |
;; |
;; |
7014 |
|
|
7015 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
7016 |
freebsd* | kfreebsd*-gnu) |
freebsd* | kfreebsd*-gnu | dragonfly*) |
7017 |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
7018 |
hardcode_libdir_flag_spec='-R$libdir' |
hardcode_libdir_flag_spec='-R$libdir' |
7019 |
hardcode_direct=yes |
hardcode_direct=yes |
7170 |
allow_undefined_flag=' -expect_unresolved \*' |
allow_undefined_flag=' -expect_unresolved \*' |
7171 |
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' |
7172 |
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~ |
7173 |
$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' |
7174 |
|
|
7175 |
# Both c and cxx compiler support -rpath directly |
# Both c and cxx compiler support -rpath directly |
7176 |
hardcode_libdir_flag_spec='-rpath $libdir' |
hardcode_libdir_flag_spec='-rpath $libdir' |
7189 |
solaris*) |
solaris*) |
7190 |
no_undefined_flag=' -z text' |
no_undefined_flag=' -z text' |
7191 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
7192 |
|
wlarc='${wl}' |
7193 |
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' |
7194 |
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~ |
7195 |
$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' |
7196 |
else |
else |
7197 |
|
wlarc='' |
7198 |
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' |
7199 |
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~ |
7200 |
$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' |
7203 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
7204 |
case $host_os in |
case $host_os in |
7205 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
7206 |
*) # Supported since Solaris 2.6 (maybe 2.5.1?) |
*) |
7207 |
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; |
# The compiler driver will combine linker options so we |
7208 |
|
# cannot just pass the convience library names through |
7209 |
|
# without $wl, iff we do not link with $LD. |
7210 |
|
# Luckily, gcc supports the same syntax we need for Sun Studio. |
7211 |
|
# Supported since Solaris 2.6 (maybe 2.5.1?) |
7212 |
|
case $wlarc in |
7213 |
|
'') |
7214 |
|
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; |
7215 |
|
*) |
7216 |
|
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' ;; |
7217 |
|
esac ;; |
7218 |
esac |
esac |
7219 |
link_all_deplibs=yes |
link_all_deplibs=yes |
7220 |
;; |
;; |
7546 |
;; |
;; |
7547 |
pw32*) |
pw32*) |
7548 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
7549 |
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}' |
7550 |
;; |
;; |
7551 |
esac |
esac |
7552 |
;; |
;; |
7553 |
|
|
7554 |
|
linux*) |
7555 |
|
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then |
7556 |
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
7557 |
|
supports_anon_versioning=no |
7558 |
|
case `$LD -v 2>/dev/null` in |
7559 |
|
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
7560 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
7561 |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
7562 |
|
*\ 2.11.*) ;; # other 2.11 versions |
7563 |
|
*) supports_anon_versioning=yes ;; |
7564 |
|
esac |
7565 |
|
if test $supports_anon_versioning = yes; then |
7566 |
|
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ |
7567 |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
7568 |
|
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
7569 |
|
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
7570 |
|
else |
7571 |
|
$archive_expsym_cmds="$archive_cmds" |
7572 |
|
fi |
7573 |
|
else |
7574 |
|
ld_shlibs=no |
7575 |
|
fi |
7576 |
|
;; |
7577 |
|
|
7578 |
*) |
*) |
7579 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
7580 |
;; |
;; |
7628 |
dynamic_linker='GNU ld.so' |
dynamic_linker='GNU ld.so' |
7629 |
;; |
;; |
7630 |
|
|
7631 |
freebsd*) |
freebsd* | dragonfly*) |
7632 |
|
# DragonFly does not have aout. When/if they implement a new |
7633 |
|
# versioning mechanism, adjust this. |
7634 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
7635 |
version_type=freebsd-$objformat |
version_type=freebsd-$objformat |
7636 |
case $version_type in |
case $version_type in |
7649 |
freebsd2*) |
freebsd2*) |
7650 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
7651 |
;; |
;; |
7652 |
freebsd3.01* | freebsdelf3.01*) |
freebsd3.[01]* | freebsdelf3.[01]*) |
7653 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
7654 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
7655 |
;; |
;; |
7775 |
|
|
7776 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
7777 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
7778 |
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' ' '` |
7779 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
7780 |
fi |
fi |
7781 |
|
|
7782 |
|
case $host_cpu:$lt_cv_cc_64bit_output in |
7783 |
|
powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes) |
7784 |
|
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/X11R6/lib64" |
7785 |
|
sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64 /usr/X11R6/lib64" |
7786 |
|
;; |
7787 |
|
esac |
7788 |
|
|
7789 |
# 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 |
7790 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
7791 |
# GNU dynamic linker. Since this was broken with cross compilers, |
# GNU dynamic linker. Since this was broken with cross compilers, |
7793 |
# people can always --disable-shared, the test was removed, and we |
# people can always --disable-shared, the test was removed, and we |
7794 |
# assume the GNU/Linux dynamic linker is in use. |
# assume the GNU/Linux dynamic linker is in use. |
7795 |
dynamic_linker='GNU/Linux ld.so' |
dynamic_linker='GNU/Linux ld.so' |
7796 |
|
|
7797 |
|
# Find out which ABI we are using (multilib Linux x86_64 hack). |
7798 |
|
libsuff= |
7799 |
|
case "$host_cpu" in |
7800 |
|
x86_64*) |
7801 |
|
echo '#line 7801 "configure"' > conftest.$ac_ext |
7802 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7803 |
|
(eval $ac_compile) 2>&5 |
7804 |
|
ac_status=$? |
7805 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7806 |
|
(exit $ac_status); }; then |
7807 |
|
case `/usr/bin/file conftest.$ac_objext` in |
7808 |
|
*64-bit*) |
7809 |
|
libsuff=64 |
7810 |
|
;; |
7811 |
|
esac |
7812 |
|
fi |
7813 |
|
rm -rf conftest* |
7814 |
|
;; |
7815 |
|
*) |
7816 |
|
;; |
7817 |
|
esac |
7818 |
|
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" |
7819 |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
7820 |
;; |
;; |
7821 |
|
|
7822 |
knetbsd*-gnu) |
knetbsd*-gnu) |
7869 |
openbsd*) |
openbsd*) |
7870 |
version_type=sunos |
version_type=sunos |
7871 |
need_lib_prefix=no |
need_lib_prefix=no |
7872 |
need_version=no |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
7873 |
|
case $host_os in |
7874 |
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
7875 |
|
*) need_version=no ;; |
7876 |
|
esac |
7877 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
7878 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
7879 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
8662 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
8663 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
8664 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
8665 |
#line 8423 "configure" |
#line 8665 "configure" |
8666 |
#include "confdefs.h" |
#include "confdefs.h" |
8667 |
|
|
8668 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
8760 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
8761 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
8762 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
8763 |
#line 8521 "configure" |
#line 8763 "configure" |
8764 |
#include "confdefs.h" |
#include "confdefs.h" |
8765 |
|
|
8766 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
9018 |
# |
# |
9019 |
# You should have received a copy of the GNU General Public License |
# You should have received a copy of the GNU General Public License |
9020 |
# along with this program; if not, write to the Free Software |
# along with this program; if not, write to the Free Software |
9021 |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
9022 |
# |
# |
9023 |
# As a special exception to the GNU General Public License, if you |
# As a special exception to the GNU General Public License, if you |
9024 |
# distribute this file as part of a program that contains a |
# distribute this file as part of a program that contains a |
9029 |
SED=$lt_SED |
SED=$lt_SED |
9030 |
|
|
9031 |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
9032 |
Xsed="$SED -e s/^X//" |
Xsed="$SED -e 1s/^X//" |
9033 |
|
|
9034 |
# 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 |
9035 |
# if CDPATH is set. |
# if CDPATH is set. |
9063 |
# The host system. |
# The host system. |
9064 |
host_alias=$host_alias |
host_alias=$host_alias |
9065 |
host=$host |
host=$host |
9066 |
|
host_os=$host_os |
9067 |
|
|
9068 |
|
# The build system. |
9069 |
|
build_alias=$build_alias |
9070 |
|
build=$build |
9071 |
|
build_os=$build_os |
9072 |
|
|
9073 |
# An echo program that does not interpret backslashes. |
# An echo program that does not interpret backslashes. |
9074 |
echo=$lt_echo |
echo=$lt_echo |
9145 |
# Does compiler simultaneously support -c and -o options? |
# Does compiler simultaneously support -c and -o options? |
9146 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
9147 |
|
|
9148 |
# Must we lock files when doing compilation ? |
# Must we lock files when doing compilation? |
9149 |
need_locks=$lt_need_locks |
need_locks=$lt_need_locks |
9150 |
|
|
9151 |
# Do we need the lib prefix for modules? |
# Do we need the lib prefix for modules? |
9440 |
|
|
9441 |
case $tagname in |
case $tagname in |
9442 |
CXX) |
CXX) |
9443 |
if test -n "$CXX" && test "X$CXX" != "Xno"; then |
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
9444 |
|
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
9445 |
|
(test "X$CXX" != "Xg++"))) ; then |
9446 |
ac_ext=cc |
ac_ext=cc |
9447 |
ac_cpp='$CXXCPP $CPPFLAGS' |
ac_cpp='$CXXCPP $CPPFLAGS' |
9448 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
9500 |
compiler=$CC |
compiler=$CC |
9501 |
|
|
9502 |
|
|
9503 |
|
# save warnings/boilerplate of simple test code |
9504 |
|
ac_outfile=conftest.$ac_objext |
9505 |
|
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
9506 |
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
9507 |
|
_lt_compiler_boilerplate=`cat conftest.err` |
9508 |
|
$rm conftest* |
9509 |
|
|
9510 |
|
ac_outfile=conftest.$ac_objext |
9511 |
|
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
9512 |
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
9513 |
|
_lt_linker_boilerplate=`cat conftest.err` |
9514 |
|
$rm conftest* |
9515 |
|
|
9516 |
|
|
9517 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
9518 |
lt_save_CC=$CC |
lt_save_CC=$CC |
9519 |
lt_save_LD=$LD |
lt_save_LD=$LD |
9535 |
CC=${CXX-"c++"} |
CC=${CXX-"c++"} |
9536 |
compiler=$CC |
compiler=$CC |
9537 |
compiler_CXX=$CC |
compiler_CXX=$CC |
9538 |
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` |
for cc_temp in $compiler""; do |
9539 |
|
case $cc_temp in |
9540 |
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
9541 |
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
9542 |
|
\-*) ;; |
9543 |
|
*) break;; |
9544 |
|
esac |
9545 |
|
done |
9546 |
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
9547 |
|
|
9548 |
|
|
9549 |
# 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 |
9550 |
# no_builtin_flag separately |
# no_builtin_flag separately |
9758 |
link_all_deplibs_CXX=yes |
link_all_deplibs_CXX=yes |
9759 |
|
|
9760 |
if test "$GXX" = yes; then |
if test "$GXX" = yes; then |
9761 |
case $host_os in aix4.012|aix4.012.*) |
case $host_os in aix4.[012]|aix4.[012].*) |
9762 |
# 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 |
9763 |
# below for broken collect2 doesn't work under 4.3+ |
# below for broken collect2 doesn't work under 4.3+ |
9764 |
collect2name=`${CC} -print-prog-name=collect2` |
collect2name=`${CC} -print-prog-name=collect2` |
9779 |
fi |
fi |
9780 |
esac |
esac |
9781 |
shared_flag='-shared' |
shared_flag='-shared' |
9782 |
|
if test "$aix_use_runtimelinking" = yes; then |
9783 |
|
shared_flag="$shared_flag "'${wl}-G' |
9784 |
|
fi |
9785 |
else |
else |
9786 |
# not using gcc |
# not using gcc |
9787 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
10014 |
fi |
fi |
10015 |
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}' |
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}' |
10016 |
else |
else |
10017 |
case "$cc_basename" in |
case $cc_basename in |
10018 |
xlc*) |
xlc*) |
10019 |
output_verbose_link_cmd='echo' |
output_verbose_link_cmd='echo' |
10020 |
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' |
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' |
10032 |
|
|
10033 |
dgux*) |
dgux*) |
10034 |
case $cc_basename in |
case $cc_basename in |
10035 |
ec++) |
ec++*) |
10036 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10037 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10038 |
;; |
;; |
10039 |
ghcx) |
ghcx*) |
10040 |
# Green Hills C++ Compiler |
# Green Hills C++ Compiler |
10041 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10042 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10047 |
;; |
;; |
10048 |
esac |
esac |
10049 |
;; |
;; |
10050 |
freebsd12*) |
freebsd[12]*) |
10051 |
# C++ shared libraries reported to be fairly broken before switch to ELF |
# C++ shared libraries reported to be fairly broken before switch to ELF |
10052 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10053 |
;; |
;; |
10054 |
freebsd-elf*) |
freebsd-elf*) |
10055 |
archive_cmds_need_lc_CXX=no |
archive_cmds_need_lc_CXX=no |
10056 |
;; |
;; |
10057 |
freebsd* | kfreebsd*-gnu) |
freebsd* | kfreebsd*-gnu | dragonfly*) |
10058 |
# 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 |
10059 |
# conventions |
# conventions |
10060 |
ld_shlibs_CXX=yes |
ld_shlibs_CXX=yes |
10071 |
# location of the library. |
# location of the library. |
10072 |
|
|
10073 |
case $cc_basename in |
case $cc_basename in |
10074 |
CC) |
CC*) |
10075 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10076 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10077 |
;; |
;; |
10078 |
aCC) |
aCC*) |
10079 |
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' |
10080 |
# Commands to make compiler produce verbose output that lists |
# Commands to make compiler produce verbose output that lists |
10081 |
# what "hidden" libraries, object files and flags are used when |
# what "hidden" libraries, object files and flags are used when |
10085 |
# explicitly linking system object files so we need to strip them |
# explicitly linking system object files so we need to strip them |
10086 |
# 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 |
10087 |
# dependencies. |
# dependencies. |
10088 |
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' |
10089 |
;; |
;; |
10090 |
*) |
*) |
10091 |
if test "$GXX" = yes; then |
if test "$GXX" = yes; then |
10136 |
esac |
esac |
10137 |
|
|
10138 |
case $cc_basename in |
case $cc_basename in |
10139 |
CC) |
CC*) |
10140 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10141 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10142 |
;; |
;; |
10143 |
aCC) |
aCC*) |
10144 |
case "$host_cpu" in |
case "$host_cpu" in |
10145 |
hppa*64*|ia64*) |
hppa*64*|ia64*) |
10146 |
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' |
10180 |
;; |
;; |
10181 |
irix5* | irix6*) |
irix5* | irix6*) |
10182 |
case $cc_basename in |
case $cc_basename in |
10183 |
CC) |
CC*) |
10184 |
# SGI C++ |
# SGI C++ |
10185 |
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' |
10186 |
|
|
10187 |
# Archives containing C++ object files must be created using |
# Archives containing C++ object files must be created using |
10188 |
# "CC -ar", where "CC" is the IRIX C++ compiler. This is |
# "CC -ar", where "CC" is the IRIX C++ compiler. This is |
10193 |
*) |
*) |
10194 |
if test "$GXX" = yes; then |
if test "$GXX" = yes; then |
10195 |
if test "$with_gnu_ld" = no; then |
if test "$with_gnu_ld" = no; then |
10196 |
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' |
10197 |
else |
else |
10198 |
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' |
10199 |
fi |
fi |
10206 |
;; |
;; |
10207 |
linux*) |
linux*) |
10208 |
case $cc_basename in |
case $cc_basename in |
10209 |
KCC) |
KCC*) |
10210 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
10211 |
|
|
10212 |
# KCC will only create a shared library if the output file |
# KCC will only create a shared library if the output file |
10231 |
# "CC -Bstatic", where "CC" is the KAI C++ compiler. |
# "CC -Bstatic", where "CC" is the KAI C++ compiler. |
10232 |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
10233 |
;; |
;; |
10234 |
icpc) |
icpc*) |
10235 |
# Intel C++ |
# Intel C++ |
10236 |
with_gnu_ld=yes |
with_gnu_ld=yes |
10237 |
# version 8.0 and above of icpc choke on multiply defined symbols |
# version 8.0 and above of icpc choke on multiply defined symbols |
10243 |
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' |
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' |
10244 |
;; |
;; |
10245 |
*) # Version 8.0 or newer |
*) # Version 8.0 or newer |
10246 |
archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
tmp_idyn= |
10247 |
archive_expsym_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
case $host_cpu in |
10248 |
|
ia64*) tmp_idyn=' -i_dynamic';; |
10249 |
|
esac |
10250 |
|
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
10251 |
|
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' |
10252 |
;; |
;; |
10253 |
esac |
esac |
10254 |
archive_cmds_need_lc_CXX=no |
archive_cmds_need_lc_CXX=no |
10256 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
10257 |
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' |
10258 |
;; |
;; |
10259 |
cxx) |
pgCC*) |
10260 |
|
# Portland Group C++ compiler |
10261 |
|
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
10262 |
|
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' |
10263 |
|
|
10264 |
|
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' |
10265 |
|
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
10266 |
|
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' |
10267 |
|
;; |
10268 |
|
cxx*) |
10269 |
# Compaq C++ |
# Compaq C++ |
10270 |
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' |
10271 |
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' |
10296 |
;; |
;; |
10297 |
mvs*) |
mvs*) |
10298 |
case $cc_basename in |
case $cc_basename in |
10299 |
cxx) |
cxx*) |
10300 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10301 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10302 |
;; |
;; |
10322 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10323 |
;; |
;; |
10324 |
openbsd*) |
openbsd*) |
10325 |
|
hardcode_direct_CXX=yes |
10326 |
|
hardcode_shlibpath_var_CXX=no |
10327 |
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
10328 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
10329 |
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 |
10335 |
;; |
;; |
10336 |
osf3*) |
osf3*) |
10337 |
case $cc_basename in |
case $cc_basename in |
10338 |
KCC) |
KCC*) |
10339 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
10340 |
|
|
10341 |
# KCC will only create a shared library if the output file |
# KCC will only create a shared library if the output file |
10351 |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
10352 |
|
|
10353 |
;; |
;; |
10354 |
RCC) |
RCC*) |
10355 |
# Rational C++ 2.4.1 |
# Rational C++ 2.4.1 |
10356 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10357 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10358 |
;; |
;; |
10359 |
cxx) |
cxx*) |
10360 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
10361 |
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' |
10362 |
|
|
10363 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
10364 |
hardcode_libdir_separator_CXX=: |
hardcode_libdir_separator_CXX=: |
10376 |
*) |
*) |
10377 |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
10378 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
10379 |
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' |
10380 |
|
|
10381 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
10382 |
hardcode_libdir_separator_CXX=: |
hardcode_libdir_separator_CXX=: |
10395 |
;; |
;; |
10396 |
osf4* | osf5*) |
osf4* | osf5*) |
10397 |
case $cc_basename in |
case $cc_basename in |
10398 |
KCC) |
KCC*) |
10399 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
10400 |
|
|
10401 |
# KCC will only create a shared library if the output file |
# KCC will only create a shared library if the output file |
10410 |
# the KAI C++ compiler. |
# the KAI C++ compiler. |
10411 |
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' |
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' |
10412 |
;; |
;; |
10413 |
RCC) |
RCC*) |
10414 |
# Rational C++ 2.4.1 |
# Rational C++ 2.4.1 |
10415 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10416 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10417 |
;; |
;; |
10418 |
cxx) |
cxx*) |
10419 |
allow_undefined_flag_CXX=' -expect_unresolved \*' |
allow_undefined_flag_CXX=' -expect_unresolved \*' |
10420 |
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' |
10421 |
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~ |
10422 |
echo "-hidden">> $lib.exp~ |
echo "-hidden">> $lib.exp~ |
10423 |
$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~ |
10424 |
$rm $lib.exp' |
$rm $lib.exp' |
10425 |
|
|
10426 |
hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
10439 |
*) |
*) |
10440 |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
10441 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
10442 |
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' |
10443 |
|
|
10444 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
10445 |
hardcode_libdir_separator_CXX=: |
hardcode_libdir_separator_CXX=: |
10463 |
sco*) |
sco*) |
10464 |
archive_cmds_need_lc_CXX=no |
archive_cmds_need_lc_CXX=no |
10465 |
case $cc_basename in |
case $cc_basename in |
10466 |
CC) |
CC*) |
10467 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10468 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10469 |
;; |
;; |
10475 |
;; |
;; |
10476 |
sunos4*) |
sunos4*) |
10477 |
case $cc_basename in |
case $cc_basename in |
10478 |
CC) |
CC*) |
10479 |
# Sun C++ 4.x |
# Sun C++ 4.x |
10480 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10481 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10482 |
;; |
;; |
10483 |
lcc) |
lcc*) |
10484 |
# Lucid |
# Lucid |
10485 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10486 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10493 |
;; |
;; |
10494 |
solaris*) |
solaris*) |
10495 |
case $cc_basename in |
case $cc_basename in |
10496 |
CC) |
CC*) |
10497 |
# Sun C++ 4.2, 5.x and Centerline C++ |
# Sun C++ 4.2, 5.x and Centerline C++ |
10498 |
no_undefined_flag_CXX=' -zdefs' |
no_undefined_flag_CXX=' -zdefs' |
10499 |
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' |
10503 |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
10504 |
hardcode_shlibpath_var_CXX=no |
hardcode_shlibpath_var_CXX=no |
10505 |
case $host_os in |
case $host_os in |
10506 |
solaris2.0-5 | solaris2.0-5.*) ;; |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
10507 |
*) |
*) |
10508 |
# The C++ compiler is used as linker so we must use $wl |
# The C++ compiler is used as linker so we must use $wl |
10509 |
# flag to pass the commands to the underlying system |
# flag to pass the commands to the underlying system |
10510 |
# linker. |
# linker. We must also pass each convience library through |
10511 |
|
# to the system linker between allextract/defaultextract. |
10512 |
|
# The C++ compiler will combine linker options so we |
10513 |
|
# cannot just pass the convience library names through |
10514 |
|
# without $wl. |
10515 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
10516 |
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' |
10517 |
;; |
;; |
10518 |
esac |
esac |
10519 |
link_all_deplibs_CXX=yes |
link_all_deplibs_CXX=yes |
10534 |
# in the archive. |
# in the archive. |
10535 |
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
10536 |
;; |
;; |
10537 |
gcx) |
gcx*) |
10538 |
# Green Hills C++ Compiler |
# Green Hills C++ Compiler |
10539 |
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' |
10540 |
|
|
10577 |
;; |
;; |
10578 |
tandem*) |
tandem*) |
10579 |
case $cc_basename in |
case $cc_basename in |
10580 |
NCC) |
NCC*) |
10581 |
# NonStop-UX NCC 3.20 |
# NonStop-UX NCC 3.20 |
10582 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
10583 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
10604 |
GCC_CXX="$GXX" |
GCC_CXX="$GXX" |
10605 |
LD_CXX="$LD" |
LD_CXX="$LD" |
10606 |
|
|
|
## CAVEAT EMPTOR: |
|
|
## There is no encapsulation within the following macros, do not change |
|
|
## the running order or otherwise move them around unless you know exactly |
|
|
## what you are doing... |
|
10607 |
|
|
10608 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
10609 |
class Foo |
class Foo |
10786 |
;; |
;; |
10787 |
chorus*) |
chorus*) |
10788 |
case $cc_basename in |
case $cc_basename in |
10789 |
cxch68) |
cxch68*) |
10790 |
# Green Hills C++ Compiler |
# Green Hills C++ Compiler |
10791 |
# _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" |
10792 |
;; |
;; |
10795 |
darwin*) |
darwin*) |
10796 |
# PIC is the default on this platform |
# PIC is the default on this platform |
10797 |
# Common symbols not allowed in MH_DYLIB files |
# Common symbols not allowed in MH_DYLIB files |
10798 |
case "$cc_basename" in |
case $cc_basename in |
10799 |
xlc*) |
xlc*) |
10800 |
lt_prog_compiler_pic_CXX='-qnocommon' |
lt_prog_compiler_pic_CXX='-qnocommon' |
10801 |
lt_prog_compiler_wl_CXX='-Wl,' |
lt_prog_compiler_wl_CXX='-Wl,' |
10804 |
;; |
;; |
10805 |
dgux*) |
dgux*) |
10806 |
case $cc_basename in |
case $cc_basename in |
10807 |
ec++) |
ec++*) |
10808 |
lt_prog_compiler_pic_CXX='-KPIC' |
lt_prog_compiler_pic_CXX='-KPIC' |
10809 |
;; |
;; |
10810 |
ghcx) |
ghcx*) |
10811 |
# Green Hills C++ Compiler |
# Green Hills C++ Compiler |
10812 |
lt_prog_compiler_pic_CXX='-pic' |
lt_prog_compiler_pic_CXX='-pic' |
10813 |
;; |
;; |
10815 |
;; |
;; |
10816 |
esac |
esac |
10817 |
;; |
;; |
10818 |
freebsd* | kfreebsd*-gnu) |
freebsd* | kfreebsd*-gnu | dragonfly*) |
10819 |
# FreeBSD uses GNU C++ |
# FreeBSD uses GNU C++ |
10820 |
;; |
;; |
10821 |
hpux9* | hpux10* | hpux11*) |
hpux9* | hpux10* | hpux11*) |
10822 |
case $cc_basename in |
case $cc_basename in |
10823 |
CC) |
CC*) |
10824 |
lt_prog_compiler_wl_CXX='-Wl,' |
lt_prog_compiler_wl_CXX='-Wl,' |
10825 |
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" |
10826 |
if test "$host_cpu" != ia64; then |
if test "$host_cpu" != ia64; then |
10827 |
lt_prog_compiler_pic_CXX='+Z' |
lt_prog_compiler_pic_CXX='+Z' |
10828 |
fi |
fi |
10829 |
;; |
;; |
10830 |
aCC) |
aCC*) |
10831 |
lt_prog_compiler_wl_CXX='-Wl,' |
lt_prog_compiler_wl_CXX='-Wl,' |
10832 |
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" |
10833 |
case "$host_cpu" in |
case "$host_cpu" in |
10845 |
;; |
;; |
10846 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
10847 |
case $cc_basename in |
case $cc_basename in |
10848 |
CC) |
CC*) |
10849 |
lt_prog_compiler_wl_CXX='-Wl,' |
lt_prog_compiler_wl_CXX='-Wl,' |
10850 |
lt_prog_compiler_static_CXX='-non_shared' |
lt_prog_compiler_static_CXX='-non_shared' |
10851 |
# CC pic flag -KPIC is the default. |
# CC pic flag -KPIC is the default. |
10856 |
;; |
;; |
10857 |
linux*) |
linux*) |
10858 |
case $cc_basename in |
case $cc_basename in |
10859 |
KCC) |
KCC*) |
10860 |
# KAI C++ Compiler |
# KAI C++ Compiler |
10861 |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
10862 |
lt_prog_compiler_pic_CXX='-fPIC' |
lt_prog_compiler_pic_CXX='-fPIC' |
10863 |
;; |
;; |
10864 |
icpc) |
icpc* | ecpc*) |
10865 |
# Intel C++ |
# Intel C++ |
10866 |
lt_prog_compiler_wl_CXX='-Wl,' |
lt_prog_compiler_wl_CXX='-Wl,' |
10867 |
lt_prog_compiler_pic_CXX='-KPIC' |
lt_prog_compiler_pic_CXX='-KPIC' |
10868 |
lt_prog_compiler_static_CXX='-static' |
lt_prog_compiler_static_CXX='-static' |
10869 |
;; |
;; |
10870 |
cxx) |
pgCC*) |
10871 |
|
# Portland Group C++ compiler. |
10872 |
|
lt_prog_compiler_wl_CXX='-Wl,' |
10873 |
|
lt_prog_compiler_pic_CXX='-fpic' |
10874 |
|
lt_prog_compiler_static_CXX='-static' |
10875 |
|
;; |
10876 |
|
cxx*) |
10877 |
# Compaq C++ |
# Compaq C++ |
10878 |
# Make sure the PIC flag is empty. It appears that all Alpha |
# Make sure the PIC flag is empty. It appears that all Alpha |
10879 |
# Linux and Compaq Tru64 Unix objects are PIC. |
# Linux and Compaq Tru64 Unix objects are PIC. |
10890 |
;; |
;; |
10891 |
mvs*) |
mvs*) |
10892 |
case $cc_basename in |
case $cc_basename in |
10893 |
cxx) |
cxx*) |
10894 |
lt_prog_compiler_pic_CXX='-W c,exportall' |
lt_prog_compiler_pic_CXX='-W c,exportall' |
10895 |
;; |
;; |
10896 |
*) |
*) |
10901 |
;; |
;; |
10902 |
osf3* | osf4* | osf5*) |
osf3* | osf4* | osf5*) |
10903 |
case $cc_basename in |
case $cc_basename in |
10904 |
KCC) |
KCC*) |
10905 |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
10906 |
;; |
;; |
10907 |
RCC) |
RCC*) |
10908 |
# Rational C++ 2.4.1 |
# Rational C++ 2.4.1 |
10909 |
lt_prog_compiler_pic_CXX='-pic' |
lt_prog_compiler_pic_CXX='-pic' |
10910 |
;; |
;; |
10911 |
cxx) |
cxx*) |
10912 |
# Digital/Compaq C++ |
# Digital/Compaq C++ |
10913 |
lt_prog_compiler_wl_CXX='-Wl,' |
lt_prog_compiler_wl_CXX='-Wl,' |
10914 |
# Make sure the PIC flag is empty. It appears that all Alpha |
# Make sure the PIC flag is empty. It appears that all Alpha |
10924 |
;; |
;; |
10925 |
sco*) |
sco*) |
10926 |
case $cc_basename in |
case $cc_basename in |
10927 |
CC) |
CC*) |
10928 |
lt_prog_compiler_pic_CXX='-fPIC' |
lt_prog_compiler_pic_CXX='-fPIC' |
10929 |
;; |
;; |
10930 |
*) |
*) |
10933 |
;; |
;; |
10934 |
solaris*) |
solaris*) |
10935 |
case $cc_basename in |
case $cc_basename in |
10936 |
CC) |
CC*) |
10937 |
# Sun C++ 4.2, 5.x and Centerline C++ |
# Sun C++ 4.2, 5.x and Centerline C++ |
10938 |
lt_prog_compiler_pic_CXX='-KPIC' |
lt_prog_compiler_pic_CXX='-KPIC' |
10939 |
lt_prog_compiler_static_CXX='-Bstatic' |
lt_prog_compiler_static_CXX='-Bstatic' |
10940 |
lt_prog_compiler_wl_CXX='-Qoption ld ' |
lt_prog_compiler_wl_CXX='-Qoption ld ' |
10941 |
;; |
;; |
10942 |
gcx) |
gcx*) |
10943 |
# Green Hills C++ Compiler |
# Green Hills C++ Compiler |
10944 |
lt_prog_compiler_pic_CXX='-PIC' |
lt_prog_compiler_pic_CXX='-PIC' |
10945 |
;; |
;; |
10949 |
;; |
;; |
10950 |
sunos4*) |
sunos4*) |
10951 |
case $cc_basename in |
case $cc_basename in |
10952 |
CC) |
CC*) |
10953 |
# Sun C++ 4.x |
# Sun C++ 4.x |
10954 |
lt_prog_compiler_pic_CXX='-pic' |
lt_prog_compiler_pic_CXX='-pic' |
10955 |
lt_prog_compiler_static_CXX='-Bstatic' |
lt_prog_compiler_static_CXX='-Bstatic' |
10956 |
;; |
;; |
10957 |
lcc) |
lcc*) |
10958 |
# Lucid |
# Lucid |
10959 |
lt_prog_compiler_pic_CXX='-pic' |
lt_prog_compiler_pic_CXX='-pic' |
10960 |
;; |
;; |
10964 |
;; |
;; |
10965 |
tandem*) |
tandem*) |
10966 |
case $cc_basename in |
case $cc_basename in |
10967 |
NCC) |
NCC*) |
10968 |
# NonStop-UX NCC 3.20 |
# NonStop-UX NCC 3.20 |
10969 |
lt_prog_compiler_pic_CXX='-KPIC' |
lt_prog_compiler_pic_CXX='-KPIC' |
10970 |
;; |
;; |
11008 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11009 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11010 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
11011 |
(eval echo "\"\$as_me:10714: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11011: $lt_compile\"" >&5) |
11012 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
11013 |
ac_status=$? |
ac_status=$? |
11014 |
cat conftest.err >&5 |
cat conftest.err >&5 |
11015 |
echo "$as_me:10718: \$? = $ac_status" >&5 |
echo "$as_me:11015: \$? = $ac_status" >&5 |
11016 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
11017 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
11018 |
# So say no if there are warnings |
# So say no if there are warnings other than the usual output. |
11019 |
if test ! -s conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
11020 |
|
$SED '/^$/d' conftest.err >conftest.er2 |
11021 |
|
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
11022 |
lt_prog_compiler_pic_works_CXX=yes |
lt_prog_compiler_pic_works_CXX=yes |
11023 |
fi |
fi |
11024 |
fi |
fi |
11070 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11071 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11072 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
11073 |
(eval echo "\"\$as_me:10774: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11073: $lt_compile\"" >&5) |
11074 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
11075 |
ac_status=$? |
ac_status=$? |
11076 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
11077 |
echo "$as_me:10778: \$? = $ac_status" >&5 |
echo "$as_me:11077: \$? = $ac_status" >&5 |
11078 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
11079 |
then |
then |
11080 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
11081 |
# So say no if there are warnings |
# So say no if there are warnings |
11082 |
if test ! -s out/conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
11083 |
|
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
11084 |
|
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
11085 |
lt_cv_prog_compiler_c_o_CXX=yes |
lt_cv_prog_compiler_c_o_CXX=yes |
11086 |
fi |
fi |
11087 |
fi |
fi |
11140 |
export_symbols_cmds_CXX="$ltdll_cmds" |
export_symbols_cmds_CXX="$ltdll_cmds" |
11141 |
;; |
;; |
11142 |
cygwin* | mingw*) |
cygwin* | mingw*) |
11143 |
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' |
11144 |
;; |
;; |
11145 |
*) |
*) |
11146 |
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' |
11378 |
;; |
;; |
11379 |
pw32*) |
pw32*) |
11380 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
11381 |
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}' |
11382 |
;; |
;; |
11383 |
esac |
esac |
11384 |
;; |
;; |
11385 |
|
|
11386 |
|
linux*) |
11387 |
|
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then |
11388 |
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
11389 |
|
supports_anon_versioning=no |
11390 |
|
case `$LD -v 2>/dev/null` in |
11391 |
|
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
11392 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
11393 |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
11394 |
|
*\ 2.11.*) ;; # other 2.11 versions |
11395 |
|
*) supports_anon_versioning=yes ;; |
11396 |
|
esac |
11397 |
|
if test $supports_anon_versioning = yes; then |
11398 |
|
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ |
11399 |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
11400 |
|
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
11401 |
|
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
11402 |
|
else |
11403 |
|
$archive_expsym_cmds="$archive_cmds" |
11404 |
|
fi |
11405 |
|
else |
11406 |
|
ld_shlibs=no |
11407 |
|
fi |
11408 |
|
;; |
11409 |
|
|
11410 |
*) |
*) |
11411 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
11412 |
;; |
;; |
11460 |
dynamic_linker='GNU ld.so' |
dynamic_linker='GNU ld.so' |
11461 |
;; |
;; |
11462 |
|
|
11463 |
freebsd*) |
freebsd* | dragonfly*) |
11464 |
|
# DragonFly does not have aout. When/if they implement a new |
11465 |
|
# versioning mechanism, adjust this. |
11466 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
11467 |
version_type=freebsd-$objformat |
version_type=freebsd-$objformat |
11468 |
case $version_type in |
case $version_type in |
11481 |
freebsd2*) |
freebsd2*) |
11482 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
11483 |
;; |
;; |
11484 |
freebsd3.01* | freebsdelf3.01*) |
freebsd3.[01]* | freebsdelf3.[01]*) |
11485 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
11486 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
11487 |
;; |
;; |
11607 |
|
|
11608 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
11609 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
11610 |
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' ' '` |
11611 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
11612 |
fi |
fi |
11613 |
|
|
11614 |
|
case $host_cpu:$lt_cv_cc_64bit_output in |
11615 |
|
powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes) |
11616 |
|
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/X11R6/lib64" |
11617 |
|
sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64 /usr/X11R6/lib64" |
11618 |
|
;; |
11619 |
|
esac |
11620 |
|
|
11621 |
# 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 |
11622 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
11623 |
# GNU dynamic linker. Since this was broken with cross compilers, |
# GNU dynamic linker. Since this was broken with cross compilers, |
11625 |
# people can always --disable-shared, the test was removed, and we |
# people can always --disable-shared, the test was removed, and we |
11626 |
# assume the GNU/Linux dynamic linker is in use. |
# assume the GNU/Linux dynamic linker is in use. |
11627 |
dynamic_linker='GNU/Linux ld.so' |
dynamic_linker='GNU/Linux ld.so' |
11628 |
|
|
11629 |
|
# Find out which ABI we are using (multilib Linux x86_64 hack). |
11630 |
|
libsuff= |
11631 |
|
case "$host_cpu" in |
11632 |
|
x86_64*) |
11633 |
|
echo '#line 11633 "configure"' > conftest.$ac_ext |
11634 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
11635 |
|
(eval $ac_compile) 2>&5 |
11636 |
|
ac_status=$? |
11637 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11638 |
|
(exit $ac_status); }; then |
11639 |
|
case `/usr/bin/file conftest.$ac_objext` in |
11640 |
|
*64-bit*) |
11641 |
|
libsuff=64 |
11642 |
|
;; |
11643 |
|
esac |
11644 |
|
fi |
11645 |
|
rm -rf conftest* |
11646 |
|
;; |
11647 |
|
*) |
11648 |
|
;; |
11649 |
|
esac |
11650 |
|
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" |
11651 |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
11652 |
;; |
;; |
11653 |
|
|
11654 |
knetbsd*-gnu) |
knetbsd*-gnu) |
11701 |
openbsd*) |
openbsd*) |
11702 |
version_type=sunos |
version_type=sunos |
11703 |
need_lib_prefix=no |
need_lib_prefix=no |
11704 |
need_version=no |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
11705 |
|
case $host_os in |
11706 |
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
11707 |
|
*) need_version=no ;; |
11708 |
|
esac |
11709 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
11710 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
11711 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
12494 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12495 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
12496 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
12497 |
#line 12135 "configure" |
#line 12497 "configure" |
12498 |
#include "confdefs.h" |
#include "confdefs.h" |
12499 |
|
|
12500 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
12592 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12593 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
12594 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
12595 |
#line 12233 "configure" |
#line 12595 "configure" |
12596 |
#include "confdefs.h" |
#include "confdefs.h" |
12597 |
|
|
12598 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
12810 |
# The host system. |
# The host system. |
12811 |
host_alias=$host_alias |
host_alias=$host_alias |
12812 |
host=$host |
host=$host |
12813 |
|
host_os=$host_os |
12814 |
|
|
12815 |
|
# The build system. |
12816 |
|
build_alias=$build_alias |
12817 |
|
build=$build |
12818 |
|
build_os=$build_os |
12819 |
|
|
12820 |
# An echo program that does not interpret backslashes. |
# An echo program that does not interpret backslashes. |
12821 |
echo=$lt_echo |
echo=$lt_echo |
12892 |
# Does compiler simultaneously support -c and -o options? |
# Does compiler simultaneously support -c and -o options? |
12893 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX |
12894 |
|
|
12895 |
# Must we lock files when doing compilation ? |
# Must we lock files when doing compilation? |
12896 |
need_locks=$lt_need_locks |
need_locks=$lt_need_locks |
12897 |
|
|
12898 |
# Do we need the lib prefix for modules? |
# Do we need the lib prefix for modules? |
13173 |
compiler=$CC |
compiler=$CC |
13174 |
|
|
13175 |
|
|
13176 |
|
# save warnings/boilerplate of simple test code |
13177 |
|
ac_outfile=conftest.$ac_objext |
13178 |
|
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
13179 |
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
13180 |
|
_lt_compiler_boilerplate=`cat conftest.err` |
13181 |
|
$rm conftest* |
13182 |
|
|
13183 |
|
ac_outfile=conftest.$ac_objext |
13184 |
|
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
13185 |
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
13186 |
|
_lt_linker_boilerplate=`cat conftest.err` |
13187 |
|
$rm conftest* |
13188 |
|
|
13189 |
|
|
13190 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
13191 |
lt_save_CC="$CC" |
lt_save_CC="$CC" |
13192 |
CC=${F77-"f77"} |
CC=${F77-"f77"} |
13193 |
compiler=$CC |
compiler=$CC |
13194 |
compiler_F77=$CC |
compiler_F77=$CC |
13195 |
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` |
for cc_temp in $compiler""; do |
13196 |
|
case $cc_temp in |
13197 |
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
13198 |
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
13199 |
|
\-*) ;; |
13200 |
|
*) break;; |
13201 |
|
esac |
13202 |
|
done |
13203 |
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
13204 |
|
|
13205 |
|
|
13206 |
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
13207 |
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 |
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 |
13223 |
fi |
fi |
13224 |
;; |
;; |
13225 |
aix4* | aix5*) |
aix4* | aix5*) |
13226 |
test "$enable_shared" = yes && enable_static=no |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
13227 |
|
test "$enable_shared" = yes && enable_static=no |
13228 |
|
fi |
13229 |
;; |
;; |
13230 |
esac |
esac |
13231 |
echo "$as_me:$LINENO: result: $enable_shared" >&5 |
echo "$as_me:$LINENO: result: $enable_shared" >&5 |
13331 |
darwin*) |
darwin*) |
13332 |
# PIC is the default on this platform |
# PIC is the default on this platform |
13333 |
# Common symbols not allowed in MH_DYLIB files |
# Common symbols not allowed in MH_DYLIB files |
13334 |
case "$cc_basename" in |
case $cc_basename in |
13335 |
xlc*) |
xlc*) |
13336 |
lt_prog_compiler_pic_F77='-qnocommon' |
lt_prog_compiler_pic_F77='-qnocommon' |
13337 |
lt_prog_compiler_wl_F77='-Wl,' |
lt_prog_compiler_wl_F77='-Wl,' |
13373 |
;; |
;; |
13374 |
|
|
13375 |
linux*) |
linux*) |
13376 |
case $CC in |
case $cc_basename in |
13377 |
icc* | ecc*) |
icc* | ecc*) |
13378 |
lt_prog_compiler_wl_F77='-Wl,' |
lt_prog_compiler_wl_F77='-Wl,' |
13379 |
lt_prog_compiler_pic_F77='-KPIC' |
lt_prog_compiler_pic_F77='-KPIC' |
13380 |
lt_prog_compiler_static_F77='-static' |
lt_prog_compiler_static_F77='-static' |
13381 |
;; |
;; |
13382 |
|
pgcc* | pgf77* | pgf90*) |
13383 |
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
13384 |
|
# which looks to be a dead project) |
13385 |
|
lt_prog_compiler_wl_F77='-Wl,' |
13386 |
|
lt_prog_compiler_pic_F77='-fpic' |
13387 |
|
lt_prog_compiler_static_F77='-static' |
13388 |
|
;; |
13389 |
ccc*) |
ccc*) |
13390 |
lt_prog_compiler_wl_F77='-Wl,' |
lt_prog_compiler_wl_F77='-Wl,' |
13391 |
# All Alpha code is PIC. |
# All Alpha code is PIC. |
13406 |
;; |
;; |
13407 |
|
|
13408 |
solaris*) |
solaris*) |
|
lt_prog_compiler_wl_F77='-Wl,' |
|
13409 |
lt_prog_compiler_pic_F77='-KPIC' |
lt_prog_compiler_pic_F77='-KPIC' |
13410 |
lt_prog_compiler_static_F77='-Bstatic' |
lt_prog_compiler_static_F77='-Bstatic' |
13411 |
|
case $cc_basename in |
13412 |
|
f77* | f90* | f95*) |
13413 |
|
lt_prog_compiler_wl_F77='-Qoption ld ';; |
13414 |
|
*) |
13415 |
|
lt_prog_compiler_wl_F77='-Wl,';; |
13416 |
|
esac |
13417 |
;; |
;; |
13418 |
|
|
13419 |
sunos4*) |
sunos4*) |
13435 |
fi |
fi |
13436 |
;; |
;; |
13437 |
|
|
13438 |
|
unicos*) |
13439 |
|
lt_prog_compiler_wl_F77='-Wl,' |
13440 |
|
lt_prog_compiler_can_build_shared_F77=no |
13441 |
|
;; |
13442 |
|
|
13443 |
uts4*) |
uts4*) |
13444 |
lt_prog_compiler_pic_F77='-pic' |
lt_prog_compiler_pic_F77='-pic' |
13445 |
lt_prog_compiler_static_F77='-Bstatic' |
lt_prog_compiler_static_F77='-Bstatic' |
13477 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
13478 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13479 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
13480 |
(eval echo "\"\$as_me:13070: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:13480: $lt_compile\"" >&5) |
13481 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
13482 |
ac_status=$? |
ac_status=$? |
13483 |
cat conftest.err >&5 |
cat conftest.err >&5 |
13484 |
echo "$as_me:13074: \$? = $ac_status" >&5 |
echo "$as_me:13484: \$? = $ac_status" >&5 |
13485 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
13486 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
13487 |
# So say no if there are warnings |
# So say no if there are warnings other than the usual output. |
13488 |
if test ! -s conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
13489 |
|
$SED '/^$/d' conftest.err >conftest.er2 |
13490 |
|
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
13491 |
lt_prog_compiler_pic_works_F77=yes |
lt_prog_compiler_pic_works_F77=yes |
13492 |
fi |
fi |
13493 |
fi |
fi |
13539 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
13540 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13541 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
13542 |
(eval echo "\"\$as_me:13130: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:13542: $lt_compile\"" >&5) |
13543 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
13544 |
ac_status=$? |
ac_status=$? |
13545 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
13546 |
echo "$as_me:13134: \$? = $ac_status" >&5 |
echo "$as_me:13546: \$? = $ac_status" >&5 |
13547 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
13548 |
then |
then |
13549 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
13550 |
# So say no if there are warnings |
# So say no if there are warnings |
13551 |
if test ! -s out/conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
13552 |
|
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
13553 |
|
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
13554 |
lt_cv_prog_compiler_c_o_F77=yes |
lt_cv_prog_compiler_c_o_F77=yes |
13555 |
fi |
fi |
13556 |
fi |
fi |
13630 |
# 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 |
13631 |
# preloaded symbol tables. |
# preloaded symbol tables. |
13632 |
extract_expsyms_cmds= |
extract_expsyms_cmds= |
13633 |
|
# Just being paranoid about ensuring that cc_basename is set. |
13634 |
|
for cc_temp in $compiler""; do |
13635 |
|
case $cc_temp in |
13636 |
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
13637 |
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
13638 |
|
\-*) ;; |
13639 |
|
*) break;; |
13640 |
|
esac |
13641 |
|
done |
13642 |
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
13643 |
|
|
13644 |
case $host_os in |
case $host_os in |
13645 |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
13660 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
# If archive_cmds runs LD, not CC, wlarc should be empty |
13661 |
wlarc='${wl}' |
wlarc='${wl}' |
13662 |
|
|
13663 |
|
# Set some defaults for GNU ld with shared library support. These |
13664 |
|
# are reset later if shared libraries are not supported. Putting them |
13665 |
|
# here allows them to be overridden if necessary. |
13666 |
|
runpath_var=LD_RUN_PATH |
13667 |
|
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' |
13668 |
|
export_dynamic_flag_spec_F77='${wl}--export-dynamic' |
13669 |
|
# ancient GNU ld didn't support --whole-archive et. al. |
13670 |
|
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
13671 |
|
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
13672 |
|
else |
13673 |
|
whole_archive_flag_spec_F77= |
13674 |
|
fi |
13675 |
|
supports_anon_versioning=no |
13676 |
|
case `$LD -v 2>/dev/null` in |
13677 |
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
13678 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
13679 |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
13680 |
|
*\ 2.11.*) ;; # other 2.11 versions |
13681 |
|
*) supports_anon_versioning=yes ;; |
13682 |
|
esac |
13683 |
|
|
13684 |
# See if GNU ld supports shared libraries. |
# See if GNU ld supports shared libraries. |
13685 |
case $host_os in |
case $host_os in |
13686 |
aix3* | aix4* | aix5*) |
aix3* | aix4* | aix5*) |
13731 |
allow_undefined_flag_F77=unsupported |
allow_undefined_flag_F77=unsupported |
13732 |
always_export_symbols_F77=no |
always_export_symbols_F77=no |
13733 |
enable_shared_with_static_runtimes_F77=yes |
enable_shared_with_static_runtimes_F77=yes |
13734 |
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' |
13735 |
|
|
13736 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
13737 |
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' |
13745 |
fi~ |
fi~ |
13746 |
$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' |
13747 |
else |
else |
13748 |
ld_shlibs=no |
ld_shlibs_F77=no |
13749 |
|
fi |
13750 |
|
;; |
13751 |
|
|
13752 |
|
linux*) |
13753 |
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
13754 |
|
tmp_addflag= |
13755 |
|
case $cc_basename,$host_cpu in |
13756 |
|
pgcc*) # Portland Group C compiler |
13757 |
|
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' |
13758 |
|
tmp_addflag=' $pic_flag' |
13759 |
|
;; |
13760 |
|
pgf77* | pgf90* ) # Portland Group f77 and f90 compilers |
13761 |
|
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' |
13762 |
|
tmp_addflag=' $pic_flag -Mnomain' ;; |
13763 |
|
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
13764 |
|
tmp_addflag=' -i_dynamic' ;; |
13765 |
|
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
13766 |
|
tmp_addflag=' -i_dynamic -nofor_main' ;; |
13767 |
|
ifc* | ifort*) # Intel Fortran compiler |
13768 |
|
tmp_addflag=' -nofor_main' ;; |
13769 |
|
esac |
13770 |
|
archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
13771 |
|
|
13772 |
|
if test $supports_anon_versioning = yes; then |
13773 |
|
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ |
13774 |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
13775 |
|
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
13776 |
|
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
13777 |
|
fi |
13778 |
|
else |
13779 |
|
ld_shlibs_F77=no |
13780 |
fi |
fi |
13781 |
;; |
;; |
13782 |
|
|
13818 |
hardcode_shlibpath_var_F77=no |
hardcode_shlibpath_var_F77=no |
13819 |
;; |
;; |
13820 |
|
|
|
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 |
|
|
;; |
|
|
|
|
13821 |
*) |
*) |
13822 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
13823 |
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' |
13828 |
;; |
;; |
13829 |
esac |
esac |
13830 |
|
|
13831 |
if test "$ld_shlibs_F77" = yes; then |
if test "$ld_shlibs_F77" = no; then |
13832 |
runpath_var=LD_RUN_PATH |
runpath_var= |
13833 |
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' |
hardcode_libdir_flag_spec_F77= |
13834 |
export_dynamic_flag_spec_F77='${wl}--export-dynamic' |
export_dynamic_flag_spec_F77= |
13835 |
# 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 |
|
13836 |
fi |
fi |
13837 |
else |
else |
13838 |
# 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) |
13896 |
link_all_deplibs_F77=yes |
link_all_deplibs_F77=yes |
13897 |
|
|
13898 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
13899 |
case $host_os in aix4.012|aix4.012.*) |
case $host_os in aix4.[012]|aix4.[012].*) |
13900 |
# 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 |
13901 |
# below for broken collect2 doesn't work under 4.3+ |
# below for broken collect2 doesn't work under 4.3+ |
13902 |
collect2name=`${CC} -print-prog-name=collect2` |
collect2name=`${CC} -print-prog-name=collect2` |
13917 |
fi |
fi |
13918 |
esac |
esac |
13919 |
shared_flag='-shared' |
shared_flag='-shared' |
13920 |
|
if test "$aix_use_runtimelinking" = yes; then |
13921 |
|
shared_flag="$shared_flag "'${wl}-G' |
13922 |
|
fi |
13923 |
else |
else |
13924 |
# not using gcc |
# not using gcc |
13925 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
14081 |
old_archive_From_new_cmds_F77='true' |
old_archive_From_new_cmds_F77='true' |
14082 |
# FIXME: Should let the user specify the lib program. |
# FIXME: Should let the user specify the lib program. |
14083 |
old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' |
old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' |
14084 |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
fix_srcfile_path_F77='`cygpath -w "$srcfile"`' |
14085 |
enable_shared_with_static_runtimes_F77=yes |
enable_shared_with_static_runtimes_F77=yes |
14086 |
;; |
;; |
14087 |
|
|
14119 |
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}' |
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}' |
14120 |
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}' |
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}' |
14121 |
else |
else |
14122 |
case "$cc_basename" in |
case $cc_basename in |
14123 |
xlc*) |
xlc*) |
14124 |
output_verbose_link_cmd='echo' |
output_verbose_link_cmd='echo' |
14125 |
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
14165 |
;; |
;; |
14166 |
|
|
14167 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
14168 |
freebsd* | kfreebsd*-gnu) |
freebsd* | kfreebsd*-gnu | dragonfly*) |
14169 |
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
14170 |
hardcode_libdir_flag_spec_F77='-R$libdir' |
hardcode_libdir_flag_spec_F77='-R$libdir' |
14171 |
hardcode_direct_F77=yes |
hardcode_direct_F77=yes |
14322 |
allow_undefined_flag_F77=' -expect_unresolved \*' |
allow_undefined_flag_F77=' -expect_unresolved \*' |
14323 |
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' |
14324 |
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~ |
14325 |
$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' |
14326 |
|
|
14327 |
# Both c and cxx compiler support -rpath directly |
# Both c and cxx compiler support -rpath directly |
14328 |
hardcode_libdir_flag_spec_F77='-rpath $libdir' |
hardcode_libdir_flag_spec_F77='-rpath $libdir' |
14341 |
solaris*) |
solaris*) |
14342 |
no_undefined_flag_F77=' -z text' |
no_undefined_flag_F77=' -z text' |
14343 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
14344 |
|
wlarc='${wl}' |
14345 |
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' |
14346 |
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~ |
14347 |
$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' |
14348 |
else |
else |
14349 |
|
wlarc='' |
14350 |
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' |
14351 |
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~ |
14352 |
$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' |
14355 |
hardcode_shlibpath_var_F77=no |
hardcode_shlibpath_var_F77=no |
14356 |
case $host_os in |
case $host_os in |
14357 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
14358 |
*) # Supported since Solaris 2.6 (maybe 2.5.1?) |
*) |
14359 |
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; |
# The compiler driver will combine linker options so we |
14360 |
|
# cannot just pass the convience library names through |
14361 |
|
# without $wl, iff we do not link with $LD. |
14362 |
|
# Luckily, gcc supports the same syntax we need for Sun Studio. |
14363 |
|
# Supported since Solaris 2.6 (maybe 2.5.1?) |
14364 |
|
case $wlarc in |
14365 |
|
'') |
14366 |
|
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; |
14367 |
|
*) |
14368 |
|
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' ;; |
14369 |
|
esac ;; |
14370 |
esac |
esac |
14371 |
link_all_deplibs_F77=yes |
link_all_deplibs_F77=yes |
14372 |
;; |
;; |
14698 |
;; |
;; |
14699 |
pw32*) |
pw32*) |
14700 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
14701 |
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}' |
14702 |
;; |
;; |
14703 |
esac |
esac |
14704 |
;; |
;; |
14705 |
|
|
14706 |
|
linux*) |
14707 |
|
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then |
14708 |
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
14709 |
|
supports_anon_versioning=no |
14710 |
|
case `$LD -v 2>/dev/null` in |
14711 |
|
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
14712 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
14713 |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
14714 |
|
*\ 2.11.*) ;; # other 2.11 versions |
14715 |
|
*) supports_anon_versioning=yes ;; |
14716 |
|
esac |
14717 |
|
if test $supports_anon_versioning = yes; then |
14718 |
|
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ |
14719 |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
14720 |
|
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
14721 |
|
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
14722 |
|
else |
14723 |
|
$archive_expsym_cmds="$archive_cmds" |
14724 |
|
fi |
14725 |
|
else |
14726 |
|
ld_shlibs=no |
14727 |
|
fi |
14728 |
|
;; |
14729 |
|
|
14730 |
*) |
*) |
14731 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
14732 |
;; |
;; |
14780 |
dynamic_linker='GNU ld.so' |
dynamic_linker='GNU ld.so' |
14781 |
;; |
;; |
14782 |
|
|
14783 |
freebsd*) |
freebsd* | dragonfly*) |
14784 |
|
# DragonFly does not have aout. When/if they implement a new |
14785 |
|
# versioning mechanism, adjust this. |
14786 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
14787 |
version_type=freebsd-$objformat |
version_type=freebsd-$objformat |
14788 |
case $version_type in |
case $version_type in |
14801 |
freebsd2*) |
freebsd2*) |
14802 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
14803 |
;; |
;; |
14804 |
freebsd3.01* | freebsdelf3.01*) |
freebsd3.[01]* | freebsdelf3.[01]*) |
14805 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
14806 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
14807 |
;; |
;; |
14927 |
|
|
14928 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
14929 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
14930 |
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' ' '` |
14931 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
14932 |
fi |
fi |
14933 |
|
|
14934 |
|
case $host_cpu:$lt_cv_cc_64bit_output in |
14935 |
|
powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes) |
14936 |
|
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/X11R6/lib64" |
14937 |
|
sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64 /usr/X11R6/lib64" |
14938 |
|
;; |
14939 |
|
esac |
14940 |
|
|
14941 |
# 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 |
14942 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
14943 |
# GNU dynamic linker. Since this was broken with cross compilers, |
# GNU dynamic linker. Since this was broken with cross compilers, |
14945 |
# people can always --disable-shared, the test was removed, and we |
# people can always --disable-shared, the test was removed, and we |
14946 |
# assume the GNU/Linux dynamic linker is in use. |
# assume the GNU/Linux dynamic linker is in use. |
14947 |
dynamic_linker='GNU/Linux ld.so' |
dynamic_linker='GNU/Linux ld.so' |
14948 |
|
|
14949 |
|
# Find out which ABI we are using (multilib Linux x86_64 hack). |
14950 |
|
libsuff= |
14951 |
|
case "$host_cpu" in |
14952 |
|
x86_64*) |
14953 |
|
echo '#line 14953 "configure"' > conftest.$ac_ext |
14954 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
14955 |
|
(eval $ac_compile) 2>&5 |
14956 |
|
ac_status=$? |
14957 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14958 |
|
(exit $ac_status); }; then |
14959 |
|
case `/usr/bin/file conftest.$ac_objext` in |
14960 |
|
*64-bit*) |
14961 |
|
libsuff=64 |
14962 |
|
;; |
14963 |
|
esac |
14964 |
|
fi |
14965 |
|
rm -rf conftest* |
14966 |
|
;; |
14967 |
|
*) |
14968 |
|
;; |
14969 |
|
esac |
14970 |
|
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" |
14971 |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
14972 |
;; |
;; |
14973 |
|
|
14974 |
knetbsd*-gnu) |
knetbsd*-gnu) |
15021 |
openbsd*) |
openbsd*) |
15022 |
version_type=sunos |
version_type=sunos |
15023 |
need_lib_prefix=no |
need_lib_prefix=no |
15024 |
need_version=no |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
15025 |
|
case $host_os in |
15026 |
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
15027 |
|
*) need_version=no ;; |
15028 |
|
esac |
15029 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
15030 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
15031 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
15325 |
# The host system. |
# The host system. |
15326 |
host_alias=$host_alias |
host_alias=$host_alias |
15327 |
host=$host |
host=$host |
15328 |
|
host_os=$host_os |
15329 |
|
|
15330 |
|
# The build system. |
15331 |
|
build_alias=$build_alias |
15332 |
|
build=$build |
15333 |
|
build_os=$build_os |
15334 |
|
|
15335 |
# An echo program that does not interpret backslashes. |
# An echo program that does not interpret backslashes. |
15336 |
echo=$lt_echo |
echo=$lt_echo |
15407 |
# Does compiler simultaneously support -c and -o options? |
# Does compiler simultaneously support -c and -o options? |
15408 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 |
15409 |
|
|
15410 |
# Must we lock files when doing compilation ? |
# Must we lock files when doing compilation? |
15411 |
need_locks=$lt_need_locks |
need_locks=$lt_need_locks |
15412 |
|
|
15413 |
# Do we need the lib prefix for modules? |
# Do we need the lib prefix for modules? |
15645 |
lt_simple_compile_test_code="class foo {}\n" |
lt_simple_compile_test_code="class foo {}\n" |
15646 |
|
|
15647 |
# Code to be used in simple link tests |
# Code to be used in simple link tests |
15648 |
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' |
15649 |
|
|
15650 |
# 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. |
15651 |
|
|
15656 |
compiler=$CC |
compiler=$CC |
15657 |
|
|
15658 |
|
|
15659 |
|
# save warnings/boilerplate of simple test code |
15660 |
|
ac_outfile=conftest.$ac_objext |
15661 |
|
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
15662 |
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
15663 |
|
_lt_compiler_boilerplate=`cat conftest.err` |
15664 |
|
$rm conftest* |
15665 |
|
|
15666 |
|
ac_outfile=conftest.$ac_objext |
15667 |
|
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
15668 |
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
15669 |
|
_lt_linker_boilerplate=`cat conftest.err` |
15670 |
|
$rm conftest* |
15671 |
|
|
15672 |
|
|
15673 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
15674 |
lt_save_CC="$CC" |
lt_save_CC="$CC" |
15675 |
CC=${GCJ-"gcj"} |
CC=${GCJ-"gcj"} |
15676 |
compiler=$CC |
compiler=$CC |
15677 |
compiler_GCJ=$CC |
compiler_GCJ=$CC |
15678 |
|
for cc_temp in $compiler""; do |
15679 |
|
case $cc_temp in |
15680 |
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
15681 |
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
15682 |
|
\-*) ;; |
15683 |
|
*) break;; |
15684 |
|
esac |
15685 |
|
done |
15686 |
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
15687 |
|
|
15688 |
|
|
15689 |
# 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. |
15690 |
archive_cmds_need_lc_GCJ=no |
archive_cmds_need_lc_GCJ=no |
15691 |
|
|
15692 |
## CAVEAT EMPTOR: |
old_archive_cmds_GCJ=$old_archive_cmds |
15693 |
## There is no encapsulation within the following macros, do not change |
|
|
## the running order or otherwise move them around unless you know exactly |
|
|
## what you are doing... |
|
15694 |
|
|
15695 |
lt_prog_compiler_no_builtin_flag_GCJ= |
lt_prog_compiler_no_builtin_flag_GCJ= |
15696 |
|
|
15716 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
15717 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15718 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
15719 |
(eval echo "\"\$as_me:15169: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:15719: $lt_compile\"" >&5) |
15720 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
15721 |
ac_status=$? |
ac_status=$? |
15722 |
cat conftest.err >&5 |
cat conftest.err >&5 |
15723 |
echo "$as_me:15173: \$? = $ac_status" >&5 |
echo "$as_me:15723: \$? = $ac_status" >&5 |
15724 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
15725 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
15726 |
# So say no if there are warnings |
# So say no if there are warnings other than the usual output. |
15727 |
if test ! -s conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
15728 |
|
$SED '/^$/d' conftest.err >conftest.er2 |
15729 |
|
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
15730 |
lt_cv_prog_compiler_rtti_exceptions=yes |
lt_cv_prog_compiler_rtti_exceptions=yes |
15731 |
fi |
fi |
15732 |
fi |
fi |
15832 |
darwin*) |
darwin*) |
15833 |
# PIC is the default on this platform |
# PIC is the default on this platform |
15834 |
# Common symbols not allowed in MH_DYLIB files |
# Common symbols not allowed in MH_DYLIB files |
15835 |
case "$cc_basename" in |
case $cc_basename in |
15836 |
xlc*) |
xlc*) |
15837 |
lt_prog_compiler_pic_GCJ='-qnocommon' |
lt_prog_compiler_pic_GCJ='-qnocommon' |
15838 |
lt_prog_compiler_wl_GCJ='-Wl,' |
lt_prog_compiler_wl_GCJ='-Wl,' |
15874 |
;; |
;; |
15875 |
|
|
15876 |
linux*) |
linux*) |
15877 |
case $CC in |
case $cc_basename in |
15878 |
icc* | ecc*) |
icc* | ecc*) |
15879 |
lt_prog_compiler_wl_GCJ='-Wl,' |
lt_prog_compiler_wl_GCJ='-Wl,' |
15880 |
lt_prog_compiler_pic_GCJ='-KPIC' |
lt_prog_compiler_pic_GCJ='-KPIC' |
15881 |
lt_prog_compiler_static_GCJ='-static' |
lt_prog_compiler_static_GCJ='-static' |
15882 |
;; |
;; |
15883 |
|
pgcc* | pgf77* | pgf90*) |
15884 |
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
15885 |
|
# which looks to be a dead project) |
15886 |
|
lt_prog_compiler_wl_GCJ='-Wl,' |
15887 |
|
lt_prog_compiler_pic_GCJ='-fpic' |
15888 |
|
lt_prog_compiler_static_GCJ='-static' |
15889 |
|
;; |
15890 |
ccc*) |
ccc*) |
15891 |
lt_prog_compiler_wl_GCJ='-Wl,' |
lt_prog_compiler_wl_GCJ='-Wl,' |
15892 |
# All Alpha code is PIC. |
# All Alpha code is PIC. |
15907 |
;; |
;; |
15908 |
|
|
15909 |
solaris*) |
solaris*) |
|
lt_prog_compiler_wl_GCJ='-Wl,' |
|
15910 |
lt_prog_compiler_pic_GCJ='-KPIC' |
lt_prog_compiler_pic_GCJ='-KPIC' |
15911 |
lt_prog_compiler_static_GCJ='-Bstatic' |
lt_prog_compiler_static_GCJ='-Bstatic' |
15912 |
|
case $cc_basename in |
15913 |
|
f77* | f90* | f95*) |
15914 |
|
lt_prog_compiler_wl_GCJ='-Qoption ld ';; |
15915 |
|
*) |
15916 |
|
lt_prog_compiler_wl_GCJ='-Wl,';; |
15917 |
|
esac |
15918 |
;; |
;; |
15919 |
|
|
15920 |
sunos4*) |
sunos4*) |
15936 |
fi |
fi |
15937 |
;; |
;; |
15938 |
|
|
15939 |
|
unicos*) |
15940 |
|
lt_prog_compiler_wl_GCJ='-Wl,' |
15941 |
|
lt_prog_compiler_can_build_shared_GCJ=no |
15942 |
|
;; |
15943 |
|
|
15944 |
uts4*) |
uts4*) |
15945 |
lt_prog_compiler_pic_GCJ='-pic' |
lt_prog_compiler_pic_GCJ='-pic' |
15946 |
lt_prog_compiler_static_GCJ='-Bstatic' |
lt_prog_compiler_static_GCJ='-Bstatic' |
15978 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
15979 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15980 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
15981 |
(eval echo "\"\$as_me:15412: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:15981: $lt_compile\"" >&5) |
15982 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
15983 |
ac_status=$? |
ac_status=$? |
15984 |
cat conftest.err >&5 |
cat conftest.err >&5 |
15985 |
echo "$as_me:15416: \$? = $ac_status" >&5 |
echo "$as_me:15985: \$? = $ac_status" >&5 |
15986 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
15987 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
15988 |
# So say no if there are warnings |
# So say no if there are warnings other than the usual output. |
15989 |
if test ! -s conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
15990 |
|
$SED '/^$/d' conftest.err >conftest.er2 |
15991 |
|
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
15992 |
lt_prog_compiler_pic_works_GCJ=yes |
lt_prog_compiler_pic_works_GCJ=yes |
15993 |
fi |
fi |
15994 |
fi |
fi |
16040 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16041 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16042 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
16043 |
(eval echo "\"\$as_me:15472: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:16043: $lt_compile\"" >&5) |
16044 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
16045 |
ac_status=$? |
ac_status=$? |
16046 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
16047 |
echo "$as_me:15476: \$? = $ac_status" >&5 |
echo "$as_me:16047: \$? = $ac_status" >&5 |
16048 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
16049 |
then |
then |
16050 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
16051 |
# So say no if there are warnings |
# So say no if there are warnings |
16052 |
if test ! -s out/conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
16053 |
|
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
16054 |
|
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
16055 |
lt_cv_prog_compiler_c_o_GCJ=yes |
lt_cv_prog_compiler_c_o_GCJ=yes |
16056 |
fi |
fi |
16057 |
fi |
fi |
16131 |
# 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 |
16132 |
# preloaded symbol tables. |
# preloaded symbol tables. |
16133 |
extract_expsyms_cmds= |
extract_expsyms_cmds= |
16134 |
|
# Just being paranoid about ensuring that cc_basename is set. |
16135 |
|
for cc_temp in $compiler""; do |
16136 |
|
case $cc_temp in |
16137 |
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
16138 |
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
16139 |
|
\-*) ;; |
16140 |
|
*) break;; |
16141 |
|
esac |
16142 |
|
done |
16143 |
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
16144 |
|
|
16145 |
case $host_os in |
case $host_os in |
16146 |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
16161 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
# If archive_cmds runs LD, not CC, wlarc should be empty |
16162 |
wlarc='${wl}' |
wlarc='${wl}' |
16163 |
|
|
16164 |
|
# Set some defaults for GNU ld with shared library support. These |
16165 |
|
# are reset later if shared libraries are not supported. Putting them |
16166 |
|
# here allows them to be overridden if necessary. |
16167 |
|
runpath_var=LD_RUN_PATH |
16168 |
|
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' |
16169 |
|
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' |
16170 |
|
# ancient GNU ld didn't support --whole-archive et. al. |
16171 |
|
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
16172 |
|
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
16173 |
|
else |
16174 |
|
whole_archive_flag_spec_GCJ= |
16175 |
|
fi |
16176 |
|
supports_anon_versioning=no |
16177 |
|
case `$LD -v 2>/dev/null` in |
16178 |
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
16179 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
16180 |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
16181 |
|
*\ 2.11.*) ;; # other 2.11 versions |
16182 |
|
*) supports_anon_versioning=yes ;; |
16183 |
|
esac |
16184 |
|
|
16185 |
# See if GNU ld supports shared libraries. |
# See if GNU ld supports shared libraries. |
16186 |
case $host_os in |
case $host_os in |
16187 |
aix3* | aix4* | aix5*) |
aix3* | aix4* | aix5*) |
16232 |
allow_undefined_flag_GCJ=unsupported |
allow_undefined_flag_GCJ=unsupported |
16233 |
always_export_symbols_GCJ=no |
always_export_symbols_GCJ=no |
16234 |
enable_shared_with_static_runtimes_GCJ=yes |
enable_shared_with_static_runtimes_GCJ=yes |
16235 |
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' |
16236 |
|
|
16237 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
16238 |
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' |
16246 |
fi~ |
fi~ |
16247 |
$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' |
16248 |
else |
else |
16249 |
ld_shlibs=no |
ld_shlibs_GCJ=no |
16250 |
|
fi |
16251 |
|
;; |
16252 |
|
|
16253 |
|
linux*) |
16254 |
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
16255 |
|
tmp_addflag= |
16256 |
|
case $cc_basename,$host_cpu in |
16257 |
|
pgcc*) # Portland Group C compiler |
16258 |
|
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' |
16259 |
|
tmp_addflag=' $pic_flag' |
16260 |
|
;; |
16261 |
|
pgf77* | pgf90* ) # Portland Group f77 and f90 compilers |
16262 |
|
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' |
16263 |
|
tmp_addflag=' $pic_flag -Mnomain' ;; |
16264 |
|
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
16265 |
|
tmp_addflag=' -i_dynamic' ;; |
16266 |
|
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
16267 |
|
tmp_addflag=' -i_dynamic -nofor_main' ;; |
16268 |
|
ifc* | ifort*) # Intel Fortran compiler |
16269 |
|
tmp_addflag=' -nofor_main' ;; |
16270 |
|
esac |
16271 |
|
archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
16272 |
|
|
16273 |
|
if test $supports_anon_versioning = yes; then |
16274 |
|
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ |
16275 |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
16276 |
|
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
16277 |
|
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
16278 |
|
fi |
16279 |
|
else |
16280 |
|
ld_shlibs_GCJ=no |
16281 |
fi |
fi |
16282 |
;; |
;; |
16283 |
|
|
16319 |
hardcode_shlibpath_var_GCJ=no |
hardcode_shlibpath_var_GCJ=no |
16320 |
;; |
;; |
16321 |
|
|
|
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 |
|
|
;; |
|
|
|
|
16322 |
*) |
*) |
16323 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
16324 |
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' |
16329 |
;; |
;; |
16330 |
esac |
esac |
16331 |
|
|
16332 |
if test "$ld_shlibs_GCJ" = yes; then |
if test "$ld_shlibs_GCJ" = no; then |
16333 |
runpath_var=LD_RUN_PATH |
runpath_var= |
16334 |
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' |
hardcode_libdir_flag_spec_GCJ= |
16335 |
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' |
export_dynamic_flag_spec_GCJ= |
16336 |
# 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 |
|
16337 |
fi |
fi |
16338 |
else |
else |
16339 |
# 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) |
16397 |
link_all_deplibs_GCJ=yes |
link_all_deplibs_GCJ=yes |
16398 |
|
|
16399 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
16400 |
case $host_os in aix4.012|aix4.012.*) |
case $host_os in aix4.[012]|aix4.[012].*) |
16401 |
# 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 |
16402 |
# below for broken collect2 doesn't work under 4.3+ |
# below for broken collect2 doesn't work under 4.3+ |
16403 |
collect2name=`${CC} -print-prog-name=collect2` |
collect2name=`${CC} -print-prog-name=collect2` |
16418 |
fi |
fi |
16419 |
esac |
esac |
16420 |
shared_flag='-shared' |
shared_flag='-shared' |
16421 |
|
if test "$aix_use_runtimelinking" = yes; then |
16422 |
|
shared_flag="$shared_flag "'${wl}-G' |
16423 |
|
fi |
16424 |
else |
else |
16425 |
# not using gcc |
# not using gcc |
16426 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
16602 |
old_archive_From_new_cmds_GCJ='true' |
old_archive_From_new_cmds_GCJ='true' |
16603 |
# FIXME: Should let the user specify the lib program. |
# FIXME: Should let the user specify the lib program. |
16604 |
old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' |
old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' |
16605 |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' |
16606 |
enable_shared_with_static_runtimes_GCJ=yes |
enable_shared_with_static_runtimes_GCJ=yes |
16607 |
;; |
;; |
16608 |
|
|
16640 |
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}' |
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}' |
16641 |
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}' |
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}' |
16642 |
else |
else |
16643 |
case "$cc_basename" in |
case $cc_basename in |
16644 |
xlc*) |
xlc*) |
16645 |
output_verbose_link_cmd='echo' |
output_verbose_link_cmd='echo' |
16646 |
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
16686 |
;; |
;; |
16687 |
|
|
16688 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
16689 |
freebsd* | kfreebsd*-gnu) |
freebsd* | kfreebsd*-gnu | dragonfly*) |
16690 |
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
16691 |
hardcode_libdir_flag_spec_GCJ='-R$libdir' |
hardcode_libdir_flag_spec_GCJ='-R$libdir' |
16692 |
hardcode_direct_GCJ=yes |
hardcode_direct_GCJ=yes |
16843 |
allow_undefined_flag_GCJ=' -expect_unresolved \*' |
allow_undefined_flag_GCJ=' -expect_unresolved \*' |
16844 |
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' |
16845 |
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~ |
16846 |
$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' |
16847 |
|
|
16848 |
# Both c and cxx compiler support -rpath directly |
# Both c and cxx compiler support -rpath directly |
16849 |
hardcode_libdir_flag_spec_GCJ='-rpath $libdir' |
hardcode_libdir_flag_spec_GCJ='-rpath $libdir' |
16862 |
solaris*) |
solaris*) |
16863 |
no_undefined_flag_GCJ=' -z text' |
no_undefined_flag_GCJ=' -z text' |
16864 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
16865 |
|
wlarc='${wl}' |
16866 |
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' |
16867 |
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~ |
16868 |
$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' |
16869 |
else |
else |
16870 |
|
wlarc='' |
16871 |
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' |
16872 |
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~ |
16873 |
$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' |
16876 |
hardcode_shlibpath_var_GCJ=no |
hardcode_shlibpath_var_GCJ=no |
16877 |
case $host_os in |
case $host_os in |
16878 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
16879 |
*) # Supported since Solaris 2.6 (maybe 2.5.1?) |
*) |
16880 |
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; |
# The compiler driver will combine linker options so we |
16881 |
|
# cannot just pass the convience library names through |
16882 |
|
# without $wl, iff we do not link with $LD. |
16883 |
|
# Luckily, gcc supports the same syntax we need for Sun Studio. |
16884 |
|
# Supported since Solaris 2.6 (maybe 2.5.1?) |
16885 |
|
case $wlarc in |
16886 |
|
'') |
16887 |
|
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; |
16888 |
|
*) |
16889 |
|
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' ;; |
16890 |
|
esac ;; |
16891 |
esac |
esac |
16892 |
link_all_deplibs_GCJ=yes |
link_all_deplibs_GCJ=yes |
16893 |
;; |
;; |
17219 |
;; |
;; |
17220 |
pw32*) |
pw32*) |
17221 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
17222 |
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}' |
17223 |
;; |
;; |
17224 |
esac |
esac |
17225 |
;; |
;; |
17226 |
|
|
17227 |
|
linux*) |
17228 |
|
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then |
17229 |
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
17230 |
|
supports_anon_versioning=no |
17231 |
|
case `$LD -v 2>/dev/null` in |
17232 |
|
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
17233 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
17234 |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
17235 |
|
*\ 2.11.*) ;; # other 2.11 versions |
17236 |
|
*) supports_anon_versioning=yes ;; |
17237 |
|
esac |
17238 |
|
if test $supports_anon_versioning = yes; then |
17239 |
|
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ |
17240 |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
17241 |
|
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
17242 |
|
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
17243 |
|
else |
17244 |
|
$archive_expsym_cmds="$archive_cmds" |
17245 |
|
fi |
17246 |
|
else |
17247 |
|
ld_shlibs=no |
17248 |
|
fi |
17249 |
|
;; |
17250 |
|
|
17251 |
*) |
*) |
17252 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
17253 |
;; |
;; |
17301 |
dynamic_linker='GNU ld.so' |
dynamic_linker='GNU ld.so' |
17302 |
;; |
;; |
17303 |
|
|
17304 |
freebsd*) |
freebsd* | dragonfly*) |
17305 |
|
# DragonFly does not have aout. When/if they implement a new |
17306 |
|
# versioning mechanism, adjust this. |
17307 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
17308 |
version_type=freebsd-$objformat |
version_type=freebsd-$objformat |
17309 |
case $version_type in |
case $version_type in |
17322 |
freebsd2*) |
freebsd2*) |
17323 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
17324 |
;; |
;; |
17325 |
freebsd3.01* | freebsdelf3.01*) |
freebsd3.[01]* | freebsdelf3.[01]*) |
17326 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
17327 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
17328 |
;; |
;; |
17448 |
|
|
17449 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
17450 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
17451 |
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' ' '` |
17452 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
17453 |
fi |
fi |
17454 |
|
|
17455 |
|
case $host_cpu:$lt_cv_cc_64bit_output in |
17456 |
|
powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes) |
17457 |
|
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/X11R6/lib64" |
17458 |
|
sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64 /usr/X11R6/lib64" |
17459 |
|
;; |
17460 |
|
esac |
17461 |
|
|
17462 |
# 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 |
17463 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
17464 |
# GNU dynamic linker. Since this was broken with cross compilers, |
# GNU dynamic linker. Since this was broken with cross compilers, |
17466 |
# people can always --disable-shared, the test was removed, and we |
# people can always --disable-shared, the test was removed, and we |
17467 |
# assume the GNU/Linux dynamic linker is in use. |
# assume the GNU/Linux dynamic linker is in use. |
17468 |
dynamic_linker='GNU/Linux ld.so' |
dynamic_linker='GNU/Linux ld.so' |
17469 |
|
|
17470 |
|
# Find out which ABI we are using (multilib Linux x86_64 hack). |
17471 |
|
libsuff= |
17472 |
|
case "$host_cpu" in |
17473 |
|
x86_64*) |
17474 |
|
echo '#line 17474 "configure"' > conftest.$ac_ext |
17475 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
17476 |
|
(eval $ac_compile) 2>&5 |
17477 |
|
ac_status=$? |
17478 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17479 |
|
(exit $ac_status); }; then |
17480 |
|
case `/usr/bin/file conftest.$ac_objext` in |
17481 |
|
*64-bit*) |
17482 |
|
libsuff=64 |
17483 |
|
;; |
17484 |
|
esac |
17485 |
|
fi |
17486 |
|
rm -rf conftest* |
17487 |
|
;; |
17488 |
|
*) |
17489 |
|
;; |
17490 |
|
esac |
17491 |
|
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" |
17492 |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
17493 |
;; |
;; |
17494 |
|
|
17495 |
knetbsd*-gnu) |
knetbsd*-gnu) |
17542 |
openbsd*) |
openbsd*) |
17543 |
version_type=sunos |
version_type=sunos |
17544 |
need_lib_prefix=no |
need_lib_prefix=no |
17545 |
need_version=no |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
17546 |
|
case $host_os in |
17547 |
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
17548 |
|
*) need_version=no ;; |
17549 |
|
esac |
17550 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
17551 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
17552 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
18335 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18336 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
18337 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
18338 |
#line 17657 "configure" |
#line 18338 "configure" |
18339 |
#include "confdefs.h" |
#include "confdefs.h" |
18340 |
|
|
18341 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
18433 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18434 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
18435 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
18436 |
#line 17755 "configure" |
#line 18436 "configure" |
18437 |
#include "confdefs.h" |
#include "confdefs.h" |
18438 |
|
|
18439 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
18651 |
# The host system. |
# The host system. |
18652 |
host_alias=$host_alias |
host_alias=$host_alias |
18653 |
host=$host |
host=$host |
18654 |
|
host_os=$host_os |
18655 |
|
|
18656 |
|
# The build system. |
18657 |
|
build_alias=$build_alias |
18658 |
|
build=$build |
18659 |
|
build_os=$build_os |
18660 |
|
|
18661 |
# An echo program that does not interpret backslashes. |
# An echo program that does not interpret backslashes. |
18662 |
echo=$lt_echo |
echo=$lt_echo |
18733 |
# Does compiler simultaneously support -c and -o options? |
# Does compiler simultaneously support -c and -o options? |
18734 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ |
18735 |
|
|
18736 |
# Must we lock files when doing compilation ? |
# Must we lock files when doing compilation? |
18737 |
need_locks=$lt_need_locks |
need_locks=$lt_need_locks |
18738 |
|
|
18739 |
# Do we need the lib prefix for modules? |
# Do we need the lib prefix for modules? |
18981 |
compiler=$CC |
compiler=$CC |
18982 |
|
|
18983 |
|
|
18984 |
|
# save warnings/boilerplate of simple test code |
18985 |
|
ac_outfile=conftest.$ac_objext |
18986 |
|
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
18987 |
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
18988 |
|
_lt_compiler_boilerplate=`cat conftest.err` |
18989 |
|
$rm conftest* |
18990 |
|
|
18991 |
|
ac_outfile=conftest.$ac_objext |
18992 |
|
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
18993 |
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
18994 |
|
_lt_linker_boilerplate=`cat conftest.err` |
18995 |
|
$rm conftest* |
18996 |
|
|
18997 |
|
|
18998 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
18999 |
lt_save_CC="$CC" |
lt_save_CC="$CC" |
19000 |
CC=${RC-"windres"} |
CC=${RC-"windres"} |
19001 |
compiler=$CC |
compiler=$CC |
19002 |
compiler_RC=$CC |
compiler_RC=$CC |
19003 |
|
for cc_temp in $compiler""; do |
19004 |
|
case $cc_temp in |
19005 |
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
19006 |
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
19007 |
|
\-*) ;; |
19008 |
|
*) break;; |
19009 |
|
esac |
19010 |
|
done |
19011 |
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
19012 |
|
|
19013 |
lt_cv_prog_compiler_c_o_RC=yes |
lt_cv_prog_compiler_c_o_RC=yes |
19014 |
|
|
19015 |
# The else clause should only fire when bootstrapping the |
# The else clause should only fire when bootstrapping the |
19126 |
# The host system. |
# The host system. |
19127 |
host_alias=$host_alias |
host_alias=$host_alias |
19128 |
host=$host |
host=$host |
19129 |
|
host_os=$host_os |
19130 |
|
|
19131 |
|
# The build system. |
19132 |
|
build_alias=$build_alias |
19133 |
|
build=$build |
19134 |
|
build_os=$build_os |
19135 |
|
|
19136 |
# An echo program that does not interpret backslashes. |
# An echo program that does not interpret backslashes. |
19137 |
echo=$lt_echo |
echo=$lt_echo |
19208 |
# Does compiler simultaneously support -c and -o options? |
# Does compiler simultaneously support -c and -o options? |
19209 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC |
19210 |
|
|
19211 |
# Must we lock files when doing compilation ? |
# Must we lock files when doing compilation? |
19212 |
need_locks=$lt_need_locks |
need_locks=$lt_need_locks |
19213 |
|
|
19214 |
# Do we need the lib prefix for modules? |
# Do we need the lib prefix for modules? |
19812 |
|
|
19813 |
|
|
19814 |
|
|
19815 |
|
if test "x$want_cpp" = "xyes" -a -n "$CXX" |
19816 |
|
then |
19817 |
|
|
19818 |
|
|
19819 |
ac_ext=cc |
ac_ext=cc |
19824 |
|
|
19825 |
|
|
19826 |
|
|
19827 |
|
|
19828 |
for ac_header in string |
for ac_header in string |
19829 |
do |
do |
19830 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19969 |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
19970 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
19971 |
_ACEOF |
_ACEOF |
19972 |
pcre_has_cpp_headers="1" |
pcre_have_cpp_headers="1" |
19973 |
else |
else |
19974 |
pcre_has_cpp_headers="0" |
pcre_have_cpp_headers="0" |
19975 |
fi |
fi |
19976 |
|
|
19977 |
done |
done |
20121 |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
20122 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20123 |
_ACEOF |
_ACEOF |
20124 |
pcre_has_bits_type_traits="1" |
pcre_have_bits_type_traits="1" |
20125 |
else |
else |
20126 |
pcre_has_bits_type_traits="0" |
pcre_have_bits_type_traits="0" |
20127 |
fi |
fi |
20128 |
|
|
20129 |
done |
done |
20273 |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
20274 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20275 |
_ACEOF |
_ACEOF |
20276 |
pcre_has_type_traits="1" |
pcre_have_type_traits="1" |
20277 |
else |
else |
20278 |
pcre_has_type_traits="0" |
pcre_have_type_traits="0" |
20279 |
fi |
fi |
20280 |
|
|
20281 |
done |
done |
20288 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
20289 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
20290 |
|
|
20291 |
|
fi |
20292 |
|
|
20293 |
if test -n "$ac_cv_prog_ac_ct_CXX" -a "$pcre_has_cpp_headers" = 1; then |
if test "x$want_cpp" = "xyes" -a -n "$CXX" -a "$pcre_have_cpp_headers" = 1; then |
20294 |
MAYBE_CPP_TARGETS='$(CPP_TARGETS)' |
MAYBE_CPP_TARGETS='$(CPP_TARGETS)' |
20295 |
|
HAVE_CPP= |
20296 |
|
else |
20297 |
|
MAYBE_CPP_TARGETS= |
20298 |
|
HAVE_CPP="#" |
20299 |
fi |
fi |
20300 |
|
|
20301 |
|
|
20537 |
#define HAVE_LONG_LONG 1 |
#define HAVE_LONG_LONG 1 |
20538 |
_ACEOF |
_ACEOF |
20539 |
|
|
20540 |
pcre_has_long_long="1" |
pcre_have_long_long="1" |
20541 |
else |
else |
20542 |
pcre_has_long_long="0" |
pcre_have_long_long="0" |
20543 |
fi |
fi |
20544 |
|
|
20545 |
echo "$as_me:$LINENO: checking for unsigned long long" >&5 |
echo "$as_me:$LINENO: checking for unsigned long long" >&5 |
20604 |
#define HAVE_UNSIGNED_LONG_LONG 1 |
#define HAVE_UNSIGNED_LONG_LONG 1 |
20605 |
_ACEOF |
_ACEOF |
20606 |
|
|
20607 |
pcre_has_ulong_long="1" |
pcre_have_ulong_long="1" |
20608 |
else |
else |
20609 |
pcre_has_ulong_long="0" |
pcre_have_ulong_long="0" |
20610 |
fi |
fi |
20611 |
|
|
20612 |
|
|
21539 |
s,@FFLAGS@,$FFLAGS,;t t |
s,@FFLAGS@,$FFLAGS,;t t |
21540 |
s,@ac_ct_F77@,$ac_ct_F77,;t t |
s,@ac_ct_F77@,$ac_ct_F77,;t t |
21541 |
s,@LIBTOOL@,$LIBTOOL,;t t |
s,@LIBTOOL@,$LIBTOOL,;t t |
21542 |
s,@pcre_has_bits_type_traits@,$pcre_has_bits_type_traits,;t t |
s,@pcre_have_bits_type_traits@,$pcre_have_bits_type_traits,;t t |
21543 |
s,@pcre_has_type_traits@,$pcre_has_type_traits,;t t |
s,@pcre_have_type_traits@,$pcre_have_type_traits,;t t |
21544 |
s,@MAYBE_CPP_TARGETS@,$MAYBE_CPP_TARGETS,;t t |
s,@MAYBE_CPP_TARGETS@,$MAYBE_CPP_TARGETS,;t t |
21545 |
s,@pcre_has_long_long@,$pcre_has_long_long,;t t |
s,@HAVE_CPP@,$HAVE_CPP,;t t |
21546 |
s,@pcre_has_ulong_long@,$pcre_has_ulong_long,;t t |
s,@pcre_have_long_long@,$pcre_have_long_long,;t t |
21547 |
|
s,@pcre_have_ulong_long@,$pcre_have_ulong_long,;t t |
21548 |
s,@BUILD_EXEEXT@,$BUILD_EXEEXT,;t t |
s,@BUILD_EXEEXT@,$BUILD_EXEEXT,;t t |
21549 |
s,@BUILD_OBJEXT@,$BUILD_OBJEXT,;t t |
s,@BUILD_OBJEXT@,$BUILD_OBJEXT,;t t |
21550 |
s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t |
s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t |