| 466 |
# include <unistd.h> |
# include <unistd.h> |
| 467 |
#endif" |
#endif" |
| 468 |
|
|
| 469 |
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP LN_S RANLIB ac_ct_RANLIB EGREP ECHO AR ac_ct_AR CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL XML2_CONFIG XML_CPPFLAGS XML_LIBS IODBC_CONFIG IODBC_CFLAGS IODBC_LIBS IODBC_STATIC_LIBS IODBC_LIBTOOL_LIBS IODBC_ODBCVERSION IODBC_ODBCINI IODBC_ODBCINSTINI IODBC_VERSION UNIXODBC_CONFIG UNIXODBC_CFLAGS UNIXODBC_LIBS UNIXODBC_STATIC_LIBS UNIXODBC_LIBTOOL_LIBS UNIXODBC_ODBCVERSION UNIXODBC_ODBCINI UNIXODBC_ODBCINSTINI UNIXODBC_VERSION ZLIB_CFLAGS ZLIB_LIBS OPENSSL_CFLAGS OPENSSL_LIBS PHP_CONFIG PHP_PREFIX PHP_INCLUDES PHP_LDFLAGS PHP_LIBS PHP_EXTENSION_DIR PHP_VERSION XNPAL_CFLAGS XNPAL_LIBADD USE_SYSLOG LIBOBJS POW_LIB 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP LN_S RANLIB ac_ct_RANLIB EGREP ECHO AR ac_ct_AR CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL XML2_CONFIG XML_CPPFLAGS XML_LIBS IODBC_CONFIG IODBC_CFLAGS IODBC_LIBS IODBC_STATIC_LIBS IODBC_LIBTOOL_LIBS IODBC_ODBCVERSION IODBC_ODBCINI IODBC_ODBCINSTINI IODBC_VERSION UNIXODBC_CONFIG UNIXODBC_CFLAGS UNIXODBC_LIBS UNIXODBC_STATIC_LIBS UNIXODBC_LIBTOOL_LIBS UNIXODBC_ODBCVERSION UNIXODBC_ODBCINI UNIXODBC_ODBCINSTINI UNIXODBC_VERSION ZLIB_CFLAGS ZLIB_LIBS OPENSSL_CFLAGS OPENSSL_LIBS PHP_CONFIG PHP_PREFIX PHP_INCLUDES PHP_LDFLAGS PHP_LIBS PHP_EXTENSION_DIR PHP_VERSION XNPAL_CFLAGS XNPAL_LIBADD MYSQL_CHARSET USE_MYSQL_CHARSET USE_SYSLOG LIBOBJS POW_LIB LTLIBOBJS' |
| 470 |
ac_subst_files='' |
ac_subst_files='' |
| 471 |
|
|
| 472 |
# Initialize some variables set by options. |
# Initialize some variables set by options. |
| 1069 |
--with-php-prefix=PFX Prefix where php is installed (optional) |
--with-php-prefix=PFX Prefix where php is installed (optional) |
| 1070 |
--with-php-exec-prefix=PFX |
--with-php-exec-prefix=PFX |
| 1071 |
Exec prefix where php is installed (optional) |
Exec prefix where php is installed (optional) |
| 1072 |
|
--with-mysql-charset Set MySQL charset (for version 4.1 or higher) |
| 1073 |
|
|
| 1074 |
Some influential environment variables: |
Some influential environment variables: |
| 1075 |
CXX C++ compiler command |
CXX C++ compiler command |
| 4358 |
case $host_os in |
case $host_os in |
| 4359 |
darwin*) |
darwin*) |
| 4360 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
| 4361 |
reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs' |
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
| 4362 |
else |
else |
| 4363 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 4364 |
fi |
fi |
| 4374 |
# Let the user override the test. |
# Let the user override the test. |
| 4375 |
lt_cv_path_NM="$NM" |
lt_cv_path_NM="$NM" |
| 4376 |
else |
else |
| 4377 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
lt_nm_to_check="${ac_tool_prefix}nm" |
| 4378 |
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do |
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
| 4379 |
IFS="$lt_save_ifs" |
lt_nm_to_check="$lt_nm_to_check nm" |
| 4380 |
test -z "$ac_dir" && ac_dir=. |
fi |
| 4381 |
tmp_nm="$ac_dir/${ac_tool_prefix}nm" |
for lt_tmp_nm in $lt_nm_to_check; do |
| 4382 |
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 4383 |
# Check to see if the nm accepts a BSD-compat flag. |
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
| 4384 |
# Adding the `sed 1q' prevents false positives on HP-UX, which says: |
IFS="$lt_save_ifs" |
| 4385 |
# nm: unknown option "B" ignored |
test -z "$ac_dir" && ac_dir=. |
| 4386 |
# Tru64's nm complains that /dev/null is an invalid object file |
tmp_nm="$ac_dir/$lt_tmp_nm" |
| 4387 |
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
| 4388 |
*/dev/null* | *'Invalid file or object type'*) |
# Check to see if the nm accepts a BSD-compat flag. |
| 4389 |
lt_cv_path_NM="$tmp_nm -B" |
# Adding the `sed 1q' prevents false positives on HP-UX, which says: |
| 4390 |
break |
# nm: unknown option "B" ignored |
| 4391 |
;; |
# Tru64's nm complains that /dev/null is an invalid object file |
| 4392 |
*) |
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
| 4393 |
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
*/dev/null* | *'Invalid file or object type'*) |
| 4394 |
*/dev/null*) |
lt_cv_path_NM="$tmp_nm -B" |
|
lt_cv_path_NM="$tmp_nm -p" |
|
| 4395 |
break |
break |
| 4396 |
;; |
;; |
| 4397 |
*) |
*) |
| 4398 |
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
| 4399 |
continue # so that we can try to find one that supports BSD flags |
*/dev/null*) |
| 4400 |
|
lt_cv_path_NM="$tmp_nm -p" |
| 4401 |
|
break |
| 4402 |
|
;; |
| 4403 |
|
*) |
| 4404 |
|
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
| 4405 |
|
continue # so that we can try to find one that supports BSD flags |
| 4406 |
|
;; |
| 4407 |
|
esac |
| 4408 |
;; |
;; |
| 4409 |
esac |
esac |
| 4410 |
esac |
fi |
| 4411 |
fi |
done |
| 4412 |
|
IFS="$lt_save_ifs" |
| 4413 |
done |
done |
|
IFS="$lt_save_ifs" |
|
| 4414 |
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm |
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm |
| 4415 |
fi |
fi |
| 4416 |
fi |
fi |
| 4507 |
esac |
esac |
| 4508 |
;; |
;; |
| 4509 |
|
|
| 4510 |
|
interix3*) |
| 4511 |
|
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
| 4512 |
|
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
| 4513 |
|
;; |
| 4514 |
|
|
| 4515 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
| 4516 |
case $LD in |
case $LD in |
| 4517 |
*-32|*"-32 ") libmagic=32-bit;; |
*-32|*"-32 ") libmagic=32-bit;; |
| 4557 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
| 4558 |
;; |
;; |
| 4559 |
|
|
|
sco3.2v5*) |
|
|
lt_cv_deplibs_check_method=pass_all |
|
|
;; |
|
|
|
|
| 4560 |
solaris*) |
solaris*) |
| 4561 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
| 4562 |
;; |
;; |
| 4563 |
|
|
| 4564 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
sysv4 | sysv4.3*) |
| 4565 |
case $host_vendor in |
case $host_vendor in |
| 4566 |
motorola) |
motorola) |
| 4567 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' |
| 4582 |
siemens) |
siemens) |
| 4583 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
| 4584 |
;; |
;; |
| 4585 |
|
pc) |
| 4586 |
|
lt_cv_deplibs_check_method=pass_all |
| 4587 |
|
;; |
| 4588 |
esac |
esac |
| 4589 |
;; |
;; |
| 4590 |
|
|
| 4591 |
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 4592 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
| 4593 |
;; |
;; |
| 4594 |
esac |
esac |
| 4606 |
# If no C compiler was specified, use CC. |
# If no C compiler was specified, use CC. |
| 4607 |
LTCC=${LTCC-"$CC"} |
LTCC=${LTCC-"$CC"} |
| 4608 |
|
|
| 4609 |
|
# If no C compiler flags were specified, use CFLAGS. |
| 4610 |
|
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
| 4611 |
|
|
| 4612 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
| 4613 |
compiler=$CC |
compiler=$CC |
| 4614 |
|
|
| 4644 |
;; |
;; |
| 4645 |
*-*-irix6*) |
*-*-irix6*) |
| 4646 |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
| 4647 |
echo '#line 4632 "configure"' > conftest.$ac_ext |
echo '#line 4647 "configure"' > conftest.$ac_ext |
| 4648 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4649 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
| 4650 |
ac_status=$? |
ac_status=$? |
| 4800 |
CFLAGS="$SAVE_CFLAGS" |
CFLAGS="$SAVE_CFLAGS" |
| 4801 |
fi |
fi |
| 4802 |
;; |
;; |
| 4803 |
|
sparc*-*solaris*) |
| 4804 |
|
# Find out which ABI we are using. |
| 4805 |
|
echo 'int i;' > conftest.$ac_ext |
| 4806 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4807 |
|
(eval $ac_compile) 2>&5 |
| 4808 |
|
ac_status=$? |
| 4809 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4810 |
|
(exit $ac_status); }; then |
| 4811 |
|
case `/usr/bin/file conftest.o` in |
| 4812 |
|
*64-bit*) |
| 4813 |
|
case $lt_cv_prog_gnu_ld in |
| 4814 |
|
yes*) LD="${LD-ld} -m elf64_sparc" ;; |
| 4815 |
|
*) LD="${LD-ld} -64" ;; |
| 4816 |
|
esac |
| 4817 |
|
;; |
| 4818 |
|
esac |
| 4819 |
|
fi |
| 4820 |
|
rm -rf conftest* |
| 4821 |
|
;; |
| 4822 |
|
|
| 4823 |
|
|
| 4824 |
esac |
esac |
| 4825 |
|
|
| 5545 |
|
|
| 5546 |
|
|
| 5547 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
| 5548 |
echo "$as_me:5513:" \ |
echo "$as_me:5548:" \ |
| 5549 |
"checking for Fortran 77 compiler version" >&5 |
"checking for Fortran 77 compiler version" >&5 |
| 5550 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
| 5551 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 5748 |
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` |
| 5749 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
| 5750 |
;; |
;; |
| 5751 |
|
|
| 5752 |
|
interix*) |
| 5753 |
|
# We know the value 262144 and hardcode it with a safety zone (like BSD) |
| 5754 |
|
lt_cv_sys_max_cmd_len=196608 |
| 5755 |
|
;; |
| 5756 |
|
|
| 5757 |
osf*) |
osf*) |
| 5758 |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
| 5759 |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
| 5767 |
esac |
esac |
| 5768 |
fi |
fi |
| 5769 |
;; |
;; |
| 5770 |
|
sco3.2v5*) |
| 5771 |
|
lt_cv_sys_max_cmd_len=102400 |
| 5772 |
|
;; |
| 5773 |
|
sysv5* | sco5v6* | sysv4.2uw2*) |
| 5774 |
|
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
| 5775 |
|
if test -n "$kargmax"; then |
| 5776 |
|
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` |
| 5777 |
|
else |
| 5778 |
|
lt_cv_sys_max_cmd_len=32768 |
| 5779 |
|
fi |
| 5780 |
|
;; |
| 5781 |
*) |
*) |
| 5782 |
# 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 |
| 5783 |
# maximum length that is only half of the actual maximum length, but |
# maximum length that is only half of the actual maximum length, but |
| 5863 |
osf*) |
osf*) |
| 5864 |
symcode='[BCDEGQRST]' |
symcode='[BCDEGQRST]' |
| 5865 |
;; |
;; |
| 5866 |
solaris* | sysv5*) |
solaris*) |
| 5867 |
symcode='[BDRT]' |
symcode='[BDRT]' |
| 5868 |
;; |
;; |
| 5869 |
|
sco3.2v5*) |
| 5870 |
|
symcode='[DT]' |
| 5871 |
|
;; |
| 5872 |
|
sysv4.2uw2*) |
| 5873 |
|
symcode='[DT]' |
| 5874 |
|
;; |
| 5875 |
|
sysv5* | sco5v6* | unixware* | OpenUNIX*) |
| 5876 |
|
symcode='[ABDT]' |
| 5877 |
|
;; |
| 5878 |
sysv4) |
sysv4) |
| 5879 |
symcode='[DFNSTU]' |
symcode='[DFNSTU]' |
| 5880 |
;; |
;; |
| 6340 |
test -z "$AS" && AS=as |
test -z "$AS" && AS=as |
| 6341 |
test -z "$CC" && CC=cc |
test -z "$CC" && CC=cc |
| 6342 |
test -z "$LTCC" && LTCC=$CC |
test -z "$LTCC" && LTCC=$CC |
| 6343 |
|
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
| 6344 |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
| 6345 |
test -z "$LD" && LD=ld |
test -z "$LD" && LD=ld |
| 6346 |
test -z "$LN_S" && LN_S="ln -s" |
test -z "$LN_S" && LN_S="ln -s" |
| 6360 |
if test -n "$RANLIB"; then |
if test -n "$RANLIB"; then |
| 6361 |
case $host_os in |
case $host_os in |
| 6362 |
openbsd*) |
openbsd*) |
| 6363 |
old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
| 6364 |
;; |
;; |
| 6365 |
*) |
*) |
| 6366 |
old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
| 6367 |
;; |
;; |
| 6368 |
esac |
esac |
| 6369 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
| 6562 |
# If no C compiler was specified, use CC. |
# If no C compiler was specified, use CC. |
| 6563 |
LTCC=${LTCC-"$CC"} |
LTCC=${LTCC-"$CC"} |
| 6564 |
|
|
| 6565 |
|
# If no C compiler flags were specified, use CFLAGS. |
| 6566 |
|
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
| 6567 |
|
|
| 6568 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
| 6569 |
compiler=$CC |
compiler=$CC |
| 6570 |
|
|
| 6572 |
# save warnings/boilerplate of simple test code |
# save warnings/boilerplate of simple test code |
| 6573 |
ac_outfile=conftest.$ac_objext |
ac_outfile=conftest.$ac_objext |
| 6574 |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
| 6575 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
| 6576 |
_lt_compiler_boilerplate=`cat conftest.err` |
_lt_compiler_boilerplate=`cat conftest.err` |
| 6577 |
$rm conftest* |
$rm conftest* |
| 6578 |
|
|
| 6579 |
ac_outfile=conftest.$ac_objext |
ac_outfile=conftest.$ac_objext |
| 6580 |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
| 6581 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
| 6582 |
_lt_linker_boilerplate=`cat conftest.err` |
_lt_linker_boilerplate=`cat conftest.err` |
| 6583 |
$rm conftest* |
$rm conftest* |
| 6584 |
|
|
| 6585 |
|
|
|
# |
|
|
# Check for any special shared library compilation flags. |
|
|
# |
|
|
lt_prog_cc_shlib= |
|
|
if test "$GCC" = no; then |
|
|
case $host_os in |
|
|
sco3.2v5*) |
|
|
lt_prog_cc_shlib='-belf' |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
if test -n "$lt_prog_cc_shlib"; then |
|
|
{ echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 |
|
|
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} |
|
|
if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then : |
|
|
else |
|
|
{ echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 |
|
|
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} |
|
|
lt_cv_prog_cc_can_build_shared=no |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
# |
|
|
# Check to make sure the static flag actually works. |
|
|
# |
|
|
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 |
|
|
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6 |
|
|
if test "${lt_prog_compiler_static_works+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
lt_prog_compiler_static_works=no |
|
|
save_LDFLAGS="$LDFLAGS" |
|
|
LDFLAGS="$LDFLAGS $lt_prog_compiler_static" |
|
|
printf "$lt_simple_link_test_code" > conftest.$ac_ext |
|
|
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
|
# The linker can only warn and ignore the option if not recognized |
|
|
# So say no if there are warnings |
|
|
if test -s conftest.err; then |
|
|
# Append any errors to the config.log. |
|
|
cat conftest.err 1>&5 |
|
|
$echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp |
|
|
$SED '/^$/d' conftest.err >conftest.er2 |
|
|
if diff conftest.exp conftest.er2 >/dev/null; then |
|
|
lt_prog_compiler_static_works=yes |
|
|
fi |
|
|
else |
|
|
lt_prog_compiler_static_works=yes |
|
|
fi |
|
|
fi |
|
|
$rm conftest* |
|
|
LDFLAGS="$save_LDFLAGS" |
|
|
|
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 |
|
|
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 |
|
|
|
|
|
if test x"$lt_prog_compiler_static_works" = xyes; then |
|
|
: |
|
|
else |
|
|
lt_prog_compiler_static= |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
| 6586 |
## CAVEAT EMPTOR: |
## CAVEAT EMPTOR: |
| 6587 |
## There is no encapsulation within the following macros, do not change |
## There is no encapsulation within the following macros, do not change |
| 6588 |
## the running order or otherwise move them around unless you know exactly |
## the running order or otherwise move them around unless you know exactly |
| 6620 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 6621 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 6622 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 6623 |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
| 6624 |
$SED '/^$/d' conftest.err >conftest.er2 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 6625 |
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 6626 |
lt_cv_prog_compiler_rtti_exceptions=yes |
lt_cv_prog_compiler_rtti_exceptions=yes |
| 6627 |
fi |
fi |
| 6628 |
fi |
fi |
| 6683 |
lt_prog_compiler_pic='-fno-common' |
lt_prog_compiler_pic='-fno-common' |
| 6684 |
;; |
;; |
| 6685 |
|
|
| 6686 |
|
interix3*) |
| 6687 |
|
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
| 6688 |
|
# Instead, we relocate shared libraries at runtime. |
| 6689 |
|
;; |
| 6690 |
|
|
| 6691 |
msdosdjgpp*) |
msdosdjgpp*) |
| 6692 |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
| 6693 |
# on systems that don't support them. |
# on systems that don't support them. |
| 6802 |
lt_prog_compiler_static='-non_shared' |
lt_prog_compiler_static='-non_shared' |
| 6803 |
;; |
;; |
| 6804 |
|
|
|
sco3.2v5*) |
|
|
lt_prog_compiler_pic='-Kpic' |
|
|
lt_prog_compiler_static='-dn' |
|
|
;; |
|
|
|
|
| 6805 |
solaris*) |
solaris*) |
| 6806 |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_pic='-KPIC' |
| 6807 |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_static='-Bstatic' |
| 6819 |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_static='-Bstatic' |
| 6820 |
;; |
;; |
| 6821 |
|
|
| 6822 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
sysv4 | sysv4.2uw2* | sysv4.3*) |
| 6823 |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
| 6824 |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_pic='-KPIC' |
| 6825 |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_static='-Bstatic' |
| 6832 |
fi |
fi |
| 6833 |
;; |
;; |
| 6834 |
|
|
| 6835 |
|
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 6836 |
|
lt_prog_compiler_wl='-Wl,' |
| 6837 |
|
lt_prog_compiler_pic='-KPIC' |
| 6838 |
|
lt_prog_compiler_static='-Bstatic' |
| 6839 |
|
;; |
| 6840 |
|
|
| 6841 |
unicos*) |
unicos*) |
| 6842 |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
| 6843 |
lt_prog_compiler_can_build_shared=no |
lt_prog_compiler_can_build_shared=no |
| 6880 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 6881 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 6882 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 6883 |
(eval echo "\"\$as_me:6877: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6883: $lt_compile\"" >&5) |
| 6884 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 6885 |
ac_status=$? |
ac_status=$? |
| 6886 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 6887 |
echo "$as_me:6881: \$? = $ac_status" >&5 |
echo "$as_me:6887: \$? = $ac_status" >&5 |
| 6888 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 6889 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 6890 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 6891 |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
| 6892 |
$SED '/^$/d' conftest.err >conftest.er2 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 6893 |
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 6894 |
lt_prog_compiler_pic_works=yes |
lt_prog_compiler_pic_works=yes |
| 6895 |
fi |
fi |
| 6896 |
fi |
fi |
| 6921 |
;; |
;; |
| 6922 |
esac |
esac |
| 6923 |
|
|
| 6924 |
|
# |
| 6925 |
|
# Check to make sure the static flag actually works. |
| 6926 |
|
# |
| 6927 |
|
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
| 6928 |
|
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 6929 |
|
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 |
| 6930 |
|
if test "${lt_prog_compiler_static_works+set}" = set; then |
| 6931 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6932 |
|
else |
| 6933 |
|
lt_prog_compiler_static_works=no |
| 6934 |
|
save_LDFLAGS="$LDFLAGS" |
| 6935 |
|
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 6936 |
|
printf "$lt_simple_link_test_code" > conftest.$ac_ext |
| 6937 |
|
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 6938 |
|
# The linker can only warn and ignore the option if not recognized |
| 6939 |
|
# So say no if there are warnings |
| 6940 |
|
if test -s conftest.err; then |
| 6941 |
|
# Append any errors to the config.log. |
| 6942 |
|
cat conftest.err 1>&5 |
| 6943 |
|
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
| 6944 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 6945 |
|
if diff conftest.exp conftest.er2 >/dev/null; then |
| 6946 |
|
lt_prog_compiler_static_works=yes |
| 6947 |
|
fi |
| 6948 |
|
else |
| 6949 |
|
lt_prog_compiler_static_works=yes |
| 6950 |
|
fi |
| 6951 |
|
fi |
| 6952 |
|
$rm conftest* |
| 6953 |
|
LDFLAGS="$save_LDFLAGS" |
| 6954 |
|
|
| 6955 |
|
fi |
| 6956 |
|
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 |
| 6957 |
|
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 |
| 6958 |
|
|
| 6959 |
|
if test x"$lt_prog_compiler_static_works" = xyes; then |
| 6960 |
|
: |
| 6961 |
|
else |
| 6962 |
|
lt_prog_compiler_static= |
| 6963 |
|
fi |
| 6964 |
|
|
| 6965 |
|
|
| 6966 |
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 6967 |
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
| 6968 |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
| 6984 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 6985 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 6986 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 6987 |
(eval echo "\"\$as_me:6939: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6987: $lt_compile\"" >&5) |
| 6988 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 6989 |
ac_status=$? |
ac_status=$? |
| 6990 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 6991 |
echo "$as_me:6943: \$? = $ac_status" >&5 |
echo "$as_me:6991: \$? = $ac_status" >&5 |
| 6992 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 6993 |
then |
then |
| 6994 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 6995 |
# So say no if there are warnings |
# So say no if there are warnings |
| 6996 |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
| 6997 |
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
| 6998 |
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 6999 |
lt_cv_prog_compiler_c_o=yes |
lt_cv_prog_compiler_c_o=yes |
| 7000 |
fi |
fi |
| 7001 |
fi |
fi |
| 7095 |
with_gnu_ld=no |
with_gnu_ld=no |
| 7096 |
fi |
fi |
| 7097 |
;; |
;; |
| 7098 |
|
interix*) |
| 7099 |
|
# we just hope/assume this is gcc and not c89 (= MSVC++) |
| 7100 |
|
with_gnu_ld=yes |
| 7101 |
|
;; |
| 7102 |
openbsd*) |
openbsd*) |
| 7103 |
with_gnu_ld=no |
with_gnu_ld=no |
| 7104 |
;; |
;; |
| 7183 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
| 7184 |
|
|
| 7185 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
| 7186 |
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}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 7187 |
# If the export-symbols file already is a .def file (1st line |
# If the export-symbols file already is a .def file (1st line |
| 7188 |
# is EXPORTS), use it as is; otherwise, prepend... |
# is EXPORTS), use it as is; otherwise, prepend... |
| 7189 |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
| 7192 |
echo EXPORTS > $output_objdir/$soname.def; |
echo EXPORTS > $output_objdir/$soname.def; |
| 7193 |
cat $export_symbols >> $output_objdir/$soname.def; |
cat $export_symbols >> $output_objdir/$soname.def; |
| 7194 |
fi~ |
fi~ |
| 7195 |
$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}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 7196 |
else |
else |
| 7197 |
ld_shlibs=no |
ld_shlibs=no |
| 7198 |
fi |
fi |
| 7199 |
;; |
;; |
| 7200 |
|
|
| 7201 |
|
interix3*) |
| 7202 |
|
hardcode_direct=no |
| 7203 |
|
hardcode_shlibpath_var=no |
| 7204 |
|
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
| 7205 |
|
export_dynamic_flag_spec='${wl}-E' |
| 7206 |
|
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
| 7207 |
|
# Instead, shared libraries are loaded at an image base (0x10000000 by |
| 7208 |
|
# default) and relocated if they conflict, which is a slow very memory |
| 7209 |
|
# consuming and fragmenting process. To avoid this, we pick a random, |
| 7210 |
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
| 7211 |
|
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
| 7212 |
|
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 7213 |
|
archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 7214 |
|
;; |
| 7215 |
|
|
| 7216 |
linux*) |
linux*) |
| 7217 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
| 7218 |
tmp_addflag= |
tmp_addflag= |
| 7254 |
fi |
fi |
| 7255 |
;; |
;; |
| 7256 |
|
|
| 7257 |
solaris* | sysv5*) |
solaris*) |
| 7258 |
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
| 7259 |
ld_shlibs=no |
ld_shlibs=no |
| 7260 |
cat <<EOF 1>&2 |
cat <<EOF 1>&2 |
| 7275 |
fi |
fi |
| 7276 |
;; |
;; |
| 7277 |
|
|
| 7278 |
|
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
| 7279 |
|
case `$LD -v 2>&1` in |
| 7280 |
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
| 7281 |
|
ld_shlibs=no |
| 7282 |
|
cat <<_LT_EOF 1>&2 |
| 7283 |
|
|
| 7284 |
|
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
| 7285 |
|
*** reliably create shared libraries on SCO systems. Therefore, libtool |
| 7286 |
|
*** is disabling shared libraries support. We urge you to upgrade GNU |
| 7287 |
|
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
| 7288 |
|
*** your PATH or compiler configuration so that the native linker is |
| 7289 |
|
*** used, and then restart. |
| 7290 |
|
|
| 7291 |
|
_LT_EOF |
| 7292 |
|
;; |
| 7293 |
|
*) |
| 7294 |
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
| 7295 |
|
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' |
| 7296 |
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' |
| 7297 |
|
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' |
| 7298 |
|
else |
| 7299 |
|
ld_shlibs=no |
| 7300 |
|
fi |
| 7301 |
|
;; |
| 7302 |
|
esac |
| 7303 |
|
;; |
| 7304 |
|
|
| 7305 |
sunos4*) |
sunos4*) |
| 7306 |
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 7307 |
wlarc= |
wlarc= |
| 7335 |
# Note: this linker hardcodes the directories in LIBPATH if there |
# Note: this linker hardcodes the directories in LIBPATH if there |
| 7336 |
# are no directories specified by -L. |
# are no directories specified by -L. |
| 7337 |
hardcode_minus_L=yes |
hardcode_minus_L=yes |
| 7338 |
if test "$GCC" = yes && test -z "$link_static_flag"; then |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
| 7339 |
# Neither direct hardcoding nor static linking is supported with a |
# Neither direct hardcoding nor static linking is supported with a |
| 7340 |
# broken collect2. |
# broken collect2. |
| 7341 |
hardcode_direct=unsupported |
hardcode_direct=unsupported |
| 7369 |
break |
break |
| 7370 |
fi |
fi |
| 7371 |
done |
done |
| 7372 |
|
;; |
| 7373 |
esac |
esac |
| 7374 |
|
|
| 7375 |
exp_sym_flag='-bexport' |
exp_sym_flag='-bexport' |
| 7407 |
hardcode_libdir_flag_spec='-L$libdir' |
hardcode_libdir_flag_spec='-L$libdir' |
| 7408 |
hardcode_libdir_separator= |
hardcode_libdir_separator= |
| 7409 |
fi |
fi |
| 7410 |
|
;; |
| 7411 |
esac |
esac |
| 7412 |
shared_flag='-shared' |
shared_flag='-shared' |
| 7413 |
if test "$aix_use_runtimelinking" = yes; then |
if test "$aix_use_runtimelinking" = yes; then |
| 7420 |
# chokes on -Wl,-G. The following line is correct: |
# chokes on -Wl,-G. The following line is correct: |
| 7421 |
shared_flag='-G' |
shared_flag='-G' |
| 7422 |
else |
else |
| 7423 |
if test "$aix_use_runtimelinking" = yes; then |
if test "$aix_use_runtimelinking" = yes; then |
| 7424 |
shared_flag='${wl}-G' |
shared_flag='${wl}-G' |
| 7425 |
else |
else |
| 7426 |
shared_flag='${wl}-bM:SRE' |
shared_flag='${wl}-bM:SRE' |
| 7427 |
fi |
fi |
| 7428 |
fi |
fi |
| 7429 |
fi |
fi |
| 7430 |
|
|
| 7489 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 7490 |
|
|
| 7491 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 7492 |
archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
| 7493 |
else |
else |
| 7494 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
| 7495 |
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
| 7496 |
allow_undefined_flag="-z nodefs" |
allow_undefined_flag="-z nodefs" |
| 7497 |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" |
| 7498 |
else |
else |
| 7499 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
| 7500 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| 7554 |
# -berok will link without error, but may produce a broken library. |
# -berok will link without error, but may produce a broken library. |
| 7555 |
no_undefined_flag=' ${wl}-bernotok' |
no_undefined_flag=' ${wl}-bernotok' |
| 7556 |
allow_undefined_flag=' ${wl}-berok' |
allow_undefined_flag=' ${wl}-berok' |
|
# -bexpall does not export symbols beginning with underscore (_) |
|
|
always_export_symbols=yes |
|
| 7557 |
# Exported symbols can be pulled into shared objects from archives |
# Exported symbols can be pulled into shared objects from archives |
| 7558 |
whole_archive_flag_spec=' ' |
whole_archive_flag_spec='$convenience' |
| 7559 |
archive_cmds_need_lc=yes |
archive_cmds_need_lc=yes |
| 7560 |
# This is similar to how AIX traditionally builds its shared libraries. |
# This is similar to how AIX traditionally builds its shared libraries. |
| 7561 |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
| 7562 |
fi |
fi |
| 7563 |
fi |
fi |
| 7564 |
;; |
;; |
| 7699 |
export_dynamic_flag_spec='${wl}-E' |
export_dynamic_flag_spec='${wl}-E' |
| 7700 |
;; |
;; |
| 7701 |
|
|
| 7702 |
hpux10* | hpux11*) |
hpux10*) |
| 7703 |
|
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
| 7704 |
|
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 7705 |
|
else |
| 7706 |
|
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 7707 |
|
fi |
| 7708 |
|
if test "$with_gnu_ld" = no; then |
| 7709 |
|
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 7710 |
|
hardcode_libdir_separator=: |
| 7711 |
|
|
| 7712 |
|
hardcode_direct=yes |
| 7713 |
|
export_dynamic_flag_spec='${wl}-E' |
| 7714 |
|
|
| 7715 |
|
# hardcode_minus_L: Not really in the search PATH, |
| 7716 |
|
# but as the default location of the library. |
| 7717 |
|
hardcode_minus_L=yes |
| 7718 |
|
fi |
| 7719 |
|
;; |
| 7720 |
|
|
| 7721 |
|
hpux11*) |
| 7722 |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
| 7723 |
case $host_cpu in |
case $host_cpu in |
| 7724 |
hppa*64*|ia64*) |
hppa*64*) |
| 7725 |
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' |
| 7726 |
;; |
;; |
| 7727 |
|
ia64*) |
| 7728 |
|
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 7729 |
|
;; |
| 7730 |
*) |
*) |
| 7731 |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 7732 |
;; |
;; |
| 7733 |
esac |
esac |
| 7734 |
else |
else |
| 7735 |
case $host_cpu in |
case $host_cpu in |
| 7736 |
hppa*64*|ia64*) |
hppa*64*) |
| 7737 |
archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 7738 |
|
;; |
| 7739 |
|
ia64*) |
| 7740 |
|
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 7741 |
;; |
;; |
| 7742 |
*) |
*) |
| 7743 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 7744 |
;; |
;; |
| 7745 |
esac |
esac |
| 7746 |
fi |
fi |
| 7747 |
if test "$with_gnu_ld" = no; then |
if test "$with_gnu_ld" = no; then |
| 7748 |
|
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 7749 |
|
hardcode_libdir_separator=: |
| 7750 |
|
|
| 7751 |
case $host_cpu in |
case $host_cpu in |
| 7752 |
hppa*64*) |
hppa*64*|ia64*) |
|
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
| 7753 |
hardcode_libdir_flag_spec_ld='+b $libdir' |
hardcode_libdir_flag_spec_ld='+b $libdir' |
|
hardcode_libdir_separator=: |
|
| 7754 |
hardcode_direct=no |
hardcode_direct=no |
| 7755 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
| 7756 |
;; |
;; |
|
ia64*) |
|
|
hardcode_libdir_flag_spec='-L$libdir' |
|
|
hardcode_direct=no |
|
|
hardcode_shlibpath_var=no |
|
|
|
|
|
# hardcode_minus_L: Not really in the search PATH, |
|
|
# but as the default location of the library. |
|
|
hardcode_minus_L=yes |
|
|
;; |
|
| 7757 |
*) |
*) |
|
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
|
hardcode_libdir_separator=: |
|
| 7758 |
hardcode_direct=yes |
hardcode_direct=yes |
| 7759 |
export_dynamic_flag_spec='${wl}-E' |
export_dynamic_flag_spec='${wl}-E' |
| 7760 |
|
|
| 7856 |
hardcode_libdir_separator=: |
hardcode_libdir_separator=: |
| 7857 |
;; |
;; |
| 7858 |
|
|
|
sco3.2v5*) |
|
|
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
hardcode_shlibpath_var=no |
|
|
export_dynamic_flag_spec='${wl}-Bexport' |
|
|
runpath_var=LD_RUN_PATH |
|
|
hardcode_runpath_var=yes |
|
|
;; |
|
|
|
|
| 7859 |
solaris*) |
solaris*) |
| 7860 |
no_undefined_flag=' -z text' |
no_undefined_flag=' -z text' |
| 7861 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
| 7941 |
fi |
fi |
| 7942 |
;; |
;; |
| 7943 |
|
|
| 7944 |
sysv4.2uw2*) |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) |
| 7945 |
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
no_undefined_flag='${wl}-z,text' |
| 7946 |
hardcode_direct=yes |
archive_cmds_need_lc=no |
|
hardcode_minus_L=no |
|
| 7947 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
| 7948 |
hardcode_runpath_var=yes |
runpath_var='LD_RUN_PATH' |
|
runpath_var=LD_RUN_PATH |
|
|
;; |
|
| 7949 |
|
|
|
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) |
|
|
no_undefined_flag='${wl}-z ${wl}text' |
|
| 7950 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
| 7951 |
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 7952 |
|
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 7953 |
else |
else |
| 7954 |
archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 7955 |
|
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 7956 |
fi |
fi |
|
runpath_var='LD_RUN_PATH' |
|
|
hardcode_shlibpath_var=no |
|
| 7957 |
;; |
;; |
| 7958 |
|
|
| 7959 |
sysv5*) |
sysv5* | sco3.2v5* | sco5v6*) |
| 7960 |
no_undefined_flag=' -z text' |
# Note: We can NOT use -z defs as we might desire, because we do not |
| 7961 |
# $CC -shared without GNU ld will not create a library from C++ |
# link with -lc, and that would cause any symbols used from libc to |
| 7962 |
# object files and a static libstdc++, better avoid it by now |
# always be unresolved, which means just about no library would |
| 7963 |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
# ever link correctly. If we're not using GNU ld we use -z text |
| 7964 |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
# though, which does catch some bad symbols but isn't as heavy-handed |
| 7965 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
# as -z defs. |
| 7966 |
hardcode_libdir_flag_spec= |
no_undefined_flag='${wl}-z,text' |
| 7967 |
|
allow_undefined_flag='${wl}-z,nodefs' |
| 7968 |
|
archive_cmds_need_lc=no |
| 7969 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
| 7970 |
|
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
| 7971 |
|
hardcode_libdir_separator=':' |
| 7972 |
|
link_all_deplibs=yes |
| 7973 |
|
export_dynamic_flag_spec='${wl}-Bexport' |
| 7974 |
runpath_var='LD_RUN_PATH' |
runpath_var='LD_RUN_PATH' |
| 7975 |
|
|
| 7976 |
|
if test "$GCC" = yes; then |
| 7977 |
|
archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 7978 |
|
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 7979 |
|
else |
| 7980 |
|
archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 7981 |
|
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 7982 |
|
fi |
| 7983 |
;; |
;; |
| 7984 |
|
|
| 7985 |
uts4*) |
uts4*) |
| 7998 |
echo "${ECHO_T}$ld_shlibs" >&6 |
echo "${ECHO_T}$ld_shlibs" >&6 |
| 7999 |
test "$ld_shlibs" = no && can_build_shared=no |
test "$ld_shlibs" = no && can_build_shared=no |
| 8000 |
|
|
|
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
|
if test "$GCC" = yes; then |
|
|
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
|
fi |
|
|
|
|
| 8001 |
# |
# |
| 8002 |
# Do we need to explicitly link libc? |
# Do we need to explicitly link libc? |
| 8003 |
# |
# |
| 8030 |
libobjs=conftest.$ac_objext |
libobjs=conftest.$ac_objext |
| 8031 |
deplibs= |
deplibs= |
| 8032 |
wl=$lt_prog_compiler_wl |
wl=$lt_prog_compiler_wl |
| 8033 |
|
pic_flag=$lt_prog_compiler_pic |
| 8034 |
compiler_flags=-v |
compiler_flags=-v |
| 8035 |
linker_flags=-v |
linker_flags=-v |
| 8036 |
verstring= |
verstring= |
| 8312 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
| 8313 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 8314 |
;; |
;; |
| 8315 |
*) # from 3.2 on |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
| 8316 |
|
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
| 8317 |
shlibpath_overrides_runpath=no |
shlibpath_overrides_runpath=no |
| 8318 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 8319 |
;; |
;; |
| 8320 |
|
freebsd*) # from 4.6 on |
| 8321 |
|
shlibpath_overrides_runpath=yes |
| 8322 |
|
hardcode_into_libs=yes |
| 8323 |
|
;; |
| 8324 |
esac |
esac |
| 8325 |
;; |
;; |
| 8326 |
|
|
| 8380 |
postinstall_cmds='chmod 555 $lib' |
postinstall_cmds='chmod 555 $lib' |
| 8381 |
;; |
;; |
| 8382 |
|
|
| 8383 |
|
interix3*) |
| 8384 |
|
version_type=linux |
| 8385 |
|
need_lib_prefix=no |
| 8386 |
|
need_version=no |
| 8387 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 8388 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 8389 |
|
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
| 8390 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 8391 |
|
shlibpath_overrides_runpath=no |
| 8392 |
|
hardcode_into_libs=yes |
| 8393 |
|
;; |
| 8394 |
|
|
| 8395 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
| 8396 |
case $host_os in |
case $host_os in |
| 8397 |
nonstopux*) version_type=nonstopux ;; |
nonstopux*) version_type=nonstopux ;; |
| 8449 |
# before this can be enabled. |
# before this can be enabled. |
| 8450 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 8451 |
|
|
| 8452 |
|
# find out which ABI we are using |
| 8453 |
|
libsuff= |
| 8454 |
|
case "$host_cpu" in |
| 8455 |
|
x86_64*|s390x*|powerpc64*) |
| 8456 |
|
echo '#line 8456 "configure"' > conftest.$ac_ext |
| 8457 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8458 |
|
(eval $ac_compile) 2>&5 |
| 8459 |
|
ac_status=$? |
| 8460 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8461 |
|
(exit $ac_status); }; then |
| 8462 |
|
case `/usr/bin/file conftest.$ac_objext` in |
| 8463 |
|
*64-bit*) |
| 8464 |
|
libsuff=64 |
| 8465 |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
| 8466 |
|
;; |
| 8467 |
|
esac |
| 8468 |
|
fi |
| 8469 |
|
rm -rf conftest* |
| 8470 |
|
;; |
| 8471 |
|
esac |
| 8472 |
|
|
| 8473 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
| 8474 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
| 8475 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
lt_ld_extra=`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' ' '` |
| 8476 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
| 8477 |
fi |
fi |
| 8478 |
|
|
| 8479 |
# 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 |
| 8534 |
|
|
| 8535 |
openbsd*) |
openbsd*) |
| 8536 |
version_type=sunos |
version_type=sunos |
| 8537 |
|
sys_lib_dlsearch_path_spec="/usr/lib" |
| 8538 |
need_lib_prefix=no |
need_lib_prefix=no |
| 8539 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
| 8540 |
case $host_os in |
case $host_os in |
| 8578 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
| 8579 |
;; |
;; |
| 8580 |
|
|
|
sco3.2v5*) |
|
|
version_type=osf |
|
|
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
shlibpath_var=LD_LIBRARY_PATH |
|
|
;; |
|
|
|
|
| 8581 |
solaris*) |
solaris*) |
| 8582 |
version_type=linux |
version_type=linux |
| 8583 |
need_lib_prefix=no |
need_lib_prefix=no |
| 8603 |
need_version=yes |
need_version=yes |
| 8604 |
;; |
;; |
| 8605 |
|
|
| 8606 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
sysv4 | sysv4.3*) |
| 8607 |
version_type=linux |
version_type=linux |
| 8608 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 8609 |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
| 8636 |
fi |
fi |
| 8637 |
;; |
;; |
| 8638 |
|
|
| 8639 |
|
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 8640 |
|
version_type=freebsd-elf |
| 8641 |
|
need_lib_prefix=no |
| 8642 |
|
need_version=no |
| 8643 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
| 8644 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 8645 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 8646 |
|
hardcode_into_libs=yes |
| 8647 |
|
if test "$with_gnu_ld" = yes; then |
| 8648 |
|
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
| 8649 |
|
shlibpath_overrides_runpath=no |
| 8650 |
|
else |
| 8651 |
|
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
| 8652 |
|
shlibpath_overrides_runpath=yes |
| 8653 |
|
case $host_os in |
| 8654 |
|
sco3.2v5*) |
| 8655 |
|
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
| 8656 |
|
;; |
| 8657 |
|
esac |
| 8658 |
|
fi |
| 8659 |
|
sys_lib_dlsearch_path_spec='/usr/lib' |
| 8660 |
|
;; |
| 8661 |
|
|
| 8662 |
uts4*) |
uts4*) |
| 8663 |
version_type=linux |
version_type=linux |
| 8664 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 8674 |
echo "${ECHO_T}$dynamic_linker" >&6 |
echo "${ECHO_T}$dynamic_linker" >&6 |
| 8675 |
test "$dynamic_linker" = no && can_build_shared=no |
test "$dynamic_linker" = no && can_build_shared=no |
| 8676 |
|
|
| 8677 |
|
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 8678 |
|
if test "$GCC" = yes; then |
| 8679 |
|
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
| 8680 |
|
fi |
| 8681 |
|
|
| 8682 |
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
| 8683 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
| 8684 |
hardcode_action= |
hardcode_action= |
| 9334 |
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
| 9335 |
|
|
| 9336 |
save_LDFLAGS="$LDFLAGS" |
save_LDFLAGS="$LDFLAGS" |
| 9337 |
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
| 9338 |
|
|
| 9339 |
save_LIBS="$LIBS" |
save_LIBS="$LIBS" |
| 9340 |
LIBS="$lt_cv_dlopen_libs $LIBS" |
LIBS="$lt_cv_dlopen_libs $LIBS" |
| 9350 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 9351 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
| 9352 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 9353 |
#line 9187 "configure" |
#line 9353 "configure" |
| 9354 |
#include "confdefs.h" |
#include "confdefs.h" |
| 9355 |
|
|
| 9356 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
| 9407 |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 9408 |
/* dlclose (self); */ |
/* dlclose (self); */ |
| 9409 |
} |
} |
| 9410 |
|
else |
| 9411 |
|
puts (dlerror ()); |
| 9412 |
|
|
| 9413 |
exit (status); |
exit (status); |
| 9414 |
} |
} |
| 9423 |
case x$lt_status in |
case x$lt_status in |
| 9424 |
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
| 9425 |
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
| 9426 |
x$lt_unknown|x*) lt_cv_dlopen_self=no ;; |
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
| 9427 |
esac |
esac |
| 9428 |
else : |
else : |
| 9429 |
# compilation failed |
# compilation failed |
| 9438 |
echo "${ECHO_T}$lt_cv_dlopen_self" >&6 |
echo "${ECHO_T}$lt_cv_dlopen_self" >&6 |
| 9439 |
|
|
| 9440 |
if test "x$lt_cv_dlopen_self" = xyes; then |
if test "x$lt_cv_dlopen_self" = xyes; then |
| 9441 |
LDFLAGS="$LDFLAGS $link_static_flag" |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
| 9442 |
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
| 9443 |
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 |
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 |
| 9444 |
if test "${lt_cv_dlopen_self_static+set}" = set; then |
if test "${lt_cv_dlopen_self_static+set}" = set; then |
| 9450 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 9451 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
| 9452 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 9453 |
#line 9285 "configure" |
#line 9453 "configure" |
| 9454 |
#include "confdefs.h" |
#include "confdefs.h" |
| 9455 |
|
|
| 9456 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
| 9507 |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 9508 |
/* dlclose (self); */ |
/* dlclose (self); */ |
| 9509 |
} |
} |
| 9510 |
|
else |
| 9511 |
|
puts (dlerror ()); |
| 9512 |
|
|
| 9513 |
exit (status); |
exit (status); |
| 9514 |
} |
} |
| 9523 |
case x$lt_status in |
case x$lt_status in |
| 9524 |
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
| 9525 |
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
| 9526 |
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; |
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
| 9527 |
esac |
esac |
| 9528 |
else : |
else : |
| 9529 |
# compilation failed |
# compilation failed |
| 9556 |
fi |
fi |
| 9557 |
|
|
| 9558 |
|
|
| 9559 |
# Report which librarie types wil actually be built |
# Report which library types will actually be built |
| 9560 |
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
| 9561 |
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 |
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 |
| 9562 |
echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
| 9606 |
# Now quote all the things that may contain metacharacters while being |
# Now quote all the things that may contain metacharacters while being |
| 9607 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
| 9608 |
# variables and quote the copies for generation of the libtool script. |
# variables and quote the copies for generation of the libtool script. |
| 9609 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
| 9610 |
SED SHELL STRIP \ |
SED SHELL STRIP \ |
| 9611 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
| 9612 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
| 9772 |
# A C compiler. |
# A C compiler. |
| 9773 |
LTCC=$lt_LTCC |
LTCC=$lt_LTCC |
| 9774 |
|
|
| 9775 |
|
# LTCC compiler flags. |
| 9776 |
|
LTCFLAGS=$lt_LTCFLAGS |
| 9777 |
|
|
| 9778 |
# A language-specific compiler. |
# A language-specific compiler. |
| 9779 |
CC=$lt_compiler |
CC=$lt_compiler |
| 9780 |
|
|
| 10105 |
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} |
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} |
| 10106 |
fi |
fi |
| 10107 |
fi |
fi |
| 10108 |
|
if test -z "$LTCFLAGS"; then |
| 10109 |
|
eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" |
| 10110 |
|
fi |
| 10111 |
|
|
| 10112 |
# Extract list of available tagged configurations in $ofile. |
# Extract list of available tagged configurations in $ofile. |
| 10113 |
# Note that this assumes the entire list is on one line. |
# Note that this assumes the entire list is on one line. |
| 10160 |
hardcode_libdir_flag_spec_ld_CXX= |
hardcode_libdir_flag_spec_ld_CXX= |
| 10161 |
hardcode_libdir_separator_CXX= |
hardcode_libdir_separator_CXX= |
| 10162 |
hardcode_minus_L_CXX=no |
hardcode_minus_L_CXX=no |
| 10163 |
|
hardcode_shlibpath_var_CXX=unsupported |
| 10164 |
hardcode_automatic_CXX=no |
hardcode_automatic_CXX=no |
| 10165 |
module_cmds_CXX= |
module_cmds_CXX= |
| 10166 |
module_expsym_cmds_CXX= |
module_expsym_cmds_CXX= |
| 10188 |
lt_simple_compile_test_code="int some_variable = 0;\n" |
lt_simple_compile_test_code="int some_variable = 0;\n" |
| 10189 |
|
|
| 10190 |
# Code to be used in simple link tests |
# Code to be used in simple link tests |
| 10191 |
lt_simple_link_test_code='int main(int, char *) { return(0); }\n' |
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' |
| 10192 |
|
|
| 10193 |
# 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. |
| 10194 |
|
|
| 10195 |
# If no C compiler was specified, use CC. |
# If no C compiler was specified, use CC. |
| 10196 |
LTCC=${LTCC-"$CC"} |
LTCC=${LTCC-"$CC"} |
| 10197 |
|
|
| 10198 |
|
# If no C compiler flags were specified, use CFLAGS. |
| 10199 |
|
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
| 10200 |
|
|
| 10201 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
| 10202 |
compiler=$CC |
compiler=$CC |
| 10203 |
|
|
| 10205 |
# save warnings/boilerplate of simple test code |
# save warnings/boilerplate of simple test code |
| 10206 |
ac_outfile=conftest.$ac_objext |
ac_outfile=conftest.$ac_objext |
| 10207 |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
| 10208 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
| 10209 |
_lt_compiler_boilerplate=`cat conftest.err` |
_lt_compiler_boilerplate=`cat conftest.err` |
| 10210 |
$rm conftest* |
$rm conftest* |
| 10211 |
|
|
| 10212 |
ac_outfile=conftest.$ac_objext |
ac_outfile=conftest.$ac_objext |
| 10213 |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
| 10214 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
| 10215 |
_lt_linker_boilerplate=`cat conftest.err` |
_lt_linker_boilerplate=`cat conftest.err` |
| 10216 |
$rm conftest* |
$rm conftest* |
| 10217 |
|
|
| 10226 |
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then |
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then |
| 10227 |
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx |
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx |
| 10228 |
else |
else |
| 10229 |
unset lt_cv_prog_gnu_ld |
$as_unset lt_cv_prog_gnu_ld |
| 10230 |
fi |
fi |
| 10231 |
if test -n "${lt_cv_path_LDCXX+set}"; then |
if test -n "${lt_cv_path_LDCXX+set}"; then |
| 10232 |
lt_cv_path_LD=$lt_cv_path_LDCXX |
lt_cv_path_LD=$lt_cv_path_LDCXX |
| 10233 |
else |
else |
| 10234 |
unset lt_cv_path_LD |
$as_unset lt_cv_path_LD |
| 10235 |
fi |
fi |
| 10236 |
test -z "${LDCXX+set}" || LD=$LDCXX |
test -z "${LDCXX+set}" || LD=$LDCXX |
| 10237 |
CC=${CXX-"c++"} |
CC=${CXX-"c++"} |
| 10442 |
;; |
;; |
| 10443 |
esac |
esac |
| 10444 |
done |
done |
| 10445 |
|
;; |
| 10446 |
esac |
esac |
| 10447 |
|
|
| 10448 |
exp_sym_flag='-bexport' |
exp_sym_flag='-bexport' |
| 10480 |
hardcode_libdir_flag_spec_CXX='-L$libdir' |
hardcode_libdir_flag_spec_CXX='-L$libdir' |
| 10481 |
hardcode_libdir_separator_CXX= |
hardcode_libdir_separator_CXX= |
| 10482 |
fi |
fi |
| 10483 |
|
;; |
| 10484 |
esac |
esac |
| 10485 |
shared_flag='-shared' |
shared_flag='-shared' |
| 10486 |
if test "$aix_use_runtimelinking" = yes; then |
if test "$aix_use_runtimelinking" = yes; then |
| 10563 |
|
|
| 10564 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 10565 |
|
|
| 10566 |
archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
| 10567 |
else |
else |
| 10568 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
| 10569 |
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' |
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' |
| 10570 |
allow_undefined_flag_CXX="-z nodefs" |
allow_undefined_flag_CXX="-z nodefs" |
| 10571 |
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" |
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" |
| 10572 |
else |
else |
| 10573 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
| 10574 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| 10628 |
# -berok will link without error, but may produce a broken library. |
# -berok will link without error, but may produce a broken library. |
| 10629 |
no_undefined_flag_CXX=' ${wl}-bernotok' |
no_undefined_flag_CXX=' ${wl}-bernotok' |
| 10630 |
allow_undefined_flag_CXX=' ${wl}-berok' |
allow_undefined_flag_CXX=' ${wl}-berok' |
|
# -bexpall does not export symbols beginning with underscore (_) |
|
|
always_export_symbols_CXX=yes |
|
| 10631 |
# Exported symbols can be pulled into shared objects from archives |
# Exported symbols can be pulled into shared objects from archives |
| 10632 |
whole_archive_flag_spec_CXX=' ' |
whole_archive_flag_spec_CXX='$convenience' |
| 10633 |
archive_cmds_need_lc_CXX=yes |
archive_cmds_need_lc_CXX=yes |
| 10634 |
# This is similar to how AIX traditionally builds its shared libraries. |
# This is similar to how AIX traditionally builds its shared libraries. |
| 10635 |
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
| 10636 |
fi |
fi |
| 10637 |
fi |
fi |
| 10638 |
;; |
;; |
| 10639 |
|
|
| 10640 |
|
beos*) |
| 10641 |
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
| 10642 |
|
allow_undefined_flag_CXX=unsupported |
| 10643 |
|
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
| 10644 |
|
# support --undefined. This deserves some investigation. FIXME |
| 10645 |
|
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 10646 |
|
else |
| 10647 |
|
ld_shlibs_CXX=no |
| 10648 |
|
fi |
| 10649 |
|
;; |
| 10650 |
|
|
| 10651 |
chorus*) |
chorus*) |
| 10652 |
case $cc_basename in |
case $cc_basename in |
| 10653 |
*) |
*) |
| 10657 |
esac |
esac |
| 10658 |
;; |
;; |
| 10659 |
|
|
|
|
|
| 10660 |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
| 10661 |
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, |
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, |
| 10662 |
# as there is no search path for DLLs. |
# as there is no search path for DLLs. |
| 10666 |
enable_shared_with_static_runtimes_CXX=yes |
enable_shared_with_static_runtimes_CXX=yes |
| 10667 |
|
|
| 10668 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
| 10669 |
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 10670 |
# If the export-symbols file already is a .def file (1st line |
# If the export-symbols file already is a .def file (1st line |
| 10671 |
# is EXPORTS), use it as is; otherwise, prepend... |
# is EXPORTS), use it as is; otherwise, prepend... |
| 10672 |
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
| 10675 |
echo EXPORTS > $output_objdir/$soname.def; |
echo EXPORTS > $output_objdir/$soname.def; |
| 10676 |
cat $export_symbols >> $output_objdir/$soname.def; |
cat $export_symbols >> $output_objdir/$soname.def; |
| 10677 |
fi~ |
fi~ |
| 10678 |
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 10679 |
else |
else |
| 10680 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
| 10681 |
fi |
fi |
| 10812 |
;; |
;; |
| 10813 |
hpux10*|hpux11*) |
hpux10*|hpux11*) |
| 10814 |
if test $with_gnu_ld = no; then |
if test $with_gnu_ld = no; then |
| 10815 |
|
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
| 10816 |
|
hardcode_libdir_separator_CXX=: |
| 10817 |
|
|
| 10818 |
case $host_cpu in |
case $host_cpu in |
| 10819 |
hppa*64*) |
hppa*64*|ia64*) |
|
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
|
| 10820 |
hardcode_libdir_flag_spec_ld_CXX='+b $libdir' |
hardcode_libdir_flag_spec_ld_CXX='+b $libdir' |
|
hardcode_libdir_separator_CXX=: |
|
|
;; |
|
|
ia64*) |
|
|
hardcode_libdir_flag_spec_CXX='-L$libdir' |
|
| 10821 |
;; |
;; |
| 10822 |
*) |
*) |
|
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
|
|
hardcode_libdir_separator_CXX=: |
|
| 10823 |
export_dynamic_flag_spec_CXX='${wl}-E' |
export_dynamic_flag_spec_CXX='${wl}-E' |
| 10824 |
;; |
;; |
| 10825 |
esac |
esac |
| 10826 |
fi |
fi |
| 10827 |
case $host_cpu in |
case $host_cpu in |
| 10828 |
hppa*64*) |
hppa*64*|ia64*) |
| 10829 |
hardcode_direct_CXX=no |
hardcode_direct_CXX=no |
| 10830 |
hardcode_shlibpath_var_CXX=no |
hardcode_shlibpath_var_CXX=no |
| 10831 |
;; |
;; |
|
ia64*) |
|
|
hardcode_direct_CXX=no |
|
|
hardcode_shlibpath_var_CXX=no |
|
|
hardcode_minus_L_CXX=yes # Not in the search PATH, |
|
|
# but as the default |
|
|
# location of the library. |
|
|
;; |
|
| 10832 |
*) |
*) |
| 10833 |
hardcode_direct_CXX=yes |
hardcode_direct_CXX=yes |
| 10834 |
hardcode_minus_L_CXX=yes # Not in the search PATH, |
hardcode_minus_L_CXX=yes # Not in the search PATH, |
| 10844 |
;; |
;; |
| 10845 |
aCC*) |
aCC*) |
| 10846 |
case $host_cpu in |
case $host_cpu in |
| 10847 |
hppa*64*|ia64*) |
hppa*64*) |
| 10848 |
archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' |
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 10849 |
|
;; |
| 10850 |
|
ia64*) |
| 10851 |
|
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 10852 |
;; |
;; |
| 10853 |
*) |
*) |
| 10854 |
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 10868 |
if test "$GXX" = yes; then |
if test "$GXX" = yes; then |
| 10869 |
if test $with_gnu_ld = no; then |
if test $with_gnu_ld = no; then |
| 10870 |
case $host_cpu in |
case $host_cpu in |
| 10871 |
ia64*|hppa*64*) |
hppa*64*) |
| 10872 |
archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' |
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 10873 |
|
;; |
| 10874 |
|
ia64*) |
| 10875 |
|
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 10876 |
;; |
;; |
| 10877 |
*) |
*) |
| 10878 |
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 10886 |
;; |
;; |
| 10887 |
esac |
esac |
| 10888 |
;; |
;; |
| 10889 |
|
interix3*) |
| 10890 |
|
hardcode_direct_CXX=no |
| 10891 |
|
hardcode_shlibpath_var_CXX=no |
| 10892 |
|
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
| 10893 |
|
export_dynamic_flag_spec_CXX='${wl}-E' |
| 10894 |
|
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
| 10895 |
|
# Instead, shared libraries are loaded at an image base (0x10000000 by |
| 10896 |
|
# default) and relocated if they conflict, which is a slow very memory |
| 10897 |
|
# consuming and fragmenting process. To avoid this, we pick a random, |
| 10898 |
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
| 10899 |
|
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
| 10900 |
|
archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 10901 |
|
archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 10902 |
|
;; |
| 10903 |
irix5* | irix6*) |
irix5* | irix6*) |
| 10904 |
case $cc_basename in |
case $cc_basename in |
| 10905 |
CC*) |
CC*) |
| 11182 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
| 11183 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
| 11184 |
;; |
;; |
|
sco*) |
|
|
archive_cmds_need_lc_CXX=no |
|
|
case $cc_basename in |
|
|
CC*) |
|
|
# FIXME: insert proper C++ library support |
|
|
ld_shlibs_CXX=no |
|
|
;; |
|
|
*) |
|
|
# FIXME: insert proper C++ library support |
|
|
ld_shlibs_CXX=no |
|
|
;; |
|
|
esac |
|
|
;; |
|
| 11185 |
sunos4*) |
sunos4*) |
| 11186 |
case $cc_basename in |
case $cc_basename in |
| 11187 |
CC*) |
CC*) |
| 11274 |
;; |
;; |
| 11275 |
esac |
esac |
| 11276 |
;; |
;; |
| 11277 |
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
| 11278 |
|
no_undefined_flag_CXX='${wl}-z,text' |
| 11279 |
|
archive_cmds_need_lc_CXX=no |
| 11280 |
|
hardcode_shlibpath_var_CXX=no |
| 11281 |
|
runpath_var='LD_RUN_PATH' |
| 11282 |
|
|
| 11283 |
|
case $cc_basename in |
| 11284 |
|
CC*) |
| 11285 |
|
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11286 |
|
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11287 |
|
;; |
| 11288 |
|
*) |
| 11289 |
|
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11290 |
|
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11291 |
|
;; |
| 11292 |
|
esac |
| 11293 |
|
;; |
| 11294 |
|
sysv5* | sco3.2v5* | sco5v6*) |
| 11295 |
|
# Note: We can NOT use -z defs as we might desire, because we do not |
| 11296 |
|
# link with -lc, and that would cause any symbols used from libc to |
| 11297 |
|
# always be unresolved, which means just about no library would |
| 11298 |
|
# ever link correctly. If we're not using GNU ld we use -z text |
| 11299 |
|
# though, which does catch some bad symbols but isn't as heavy-handed |
| 11300 |
|
# as -z defs. |
| 11301 |
|
# For security reasons, it is highly recommended that you always |
| 11302 |
|
# use absolute paths for naming shared libraries, and exclude the |
| 11303 |
|
# DT_RUNPATH tag from executables and libraries. But doing so |
| 11304 |
|
# requires that you compile everything twice, which is a pain. |
| 11305 |
|
# So that behaviour is only enabled if SCOABSPATH is set to a |
| 11306 |
|
# non-empty value in the environment. Most likely only useful for |
| 11307 |
|
# creating official distributions of packages. |
| 11308 |
|
# This is a hack until libtool officially supports absolute path |
| 11309 |
|
# names for shared libraries. |
| 11310 |
|
no_undefined_flag_CXX='${wl}-z,text' |
| 11311 |
|
allow_undefined_flag_CXX='${wl}-z,nodefs' |
| 11312 |
archive_cmds_need_lc_CXX=no |
archive_cmds_need_lc_CXX=no |
| 11313 |
|
hardcode_shlibpath_var_CXX=no |
| 11314 |
|
hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
| 11315 |
|
hardcode_libdir_separator_CXX=':' |
| 11316 |
|
link_all_deplibs_CXX=yes |
| 11317 |
|
export_dynamic_flag_spec_CXX='${wl}-Bexport' |
| 11318 |
|
runpath_var='LD_RUN_PATH' |
| 11319 |
|
|
| 11320 |
|
case $cc_basename in |
| 11321 |
|
CC*) |
| 11322 |
|
archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11323 |
|
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11324 |
|
;; |
| 11325 |
|
*) |
| 11326 |
|
archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11327 |
|
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11328 |
|
;; |
| 11329 |
|
esac |
| 11330 |
;; |
;; |
| 11331 |
tandem*) |
tandem*) |
| 11332 |
case $cc_basename in |
case $cc_basename in |
| 11465 |
|
|
| 11466 |
# PORTME: override above test on systems where it is broken |
# PORTME: override above test on systems where it is broken |
| 11467 |
case $host_os in |
case $host_os in |
| 11468 |
|
interix3*) |
| 11469 |
|
# Interix 3.5 installs completely hosed .la files for C++, so rather than |
| 11470 |
|
# hack all around it, let's just trust "g++" to DTRT. |
| 11471 |
|
predep_objects_CXX= |
| 11472 |
|
postdep_objects_CXX= |
| 11473 |
|
postdeps_CXX= |
| 11474 |
|
;; |
| 11475 |
|
|
| 11476 |
solaris*) |
solaris*) |
| 11477 |
case $cc_basename in |
case $cc_basename in |
| 11478 |
CC*) |
CC*) |
| 11482 |
postdeps_CXX='-lCstd -lCrun' |
postdeps_CXX='-lCstd -lCrun' |
| 11483 |
;; |
;; |
| 11484 |
esac |
esac |
| 11485 |
|
;; |
| 11486 |
esac |
esac |
| 11487 |
|
|
| 11488 |
|
|
| 11533 |
# DJGPP does not support shared libraries at all |
# DJGPP does not support shared libraries at all |
| 11534 |
lt_prog_compiler_pic_CXX= |
lt_prog_compiler_pic_CXX= |
| 11535 |
;; |
;; |
| 11536 |
|
interix3*) |
| 11537 |
|
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
| 11538 |
|
# Instead, we relocate shared libraries at runtime. |
| 11539 |
|
;; |
| 11540 |
sysv4*MP*) |
sysv4*MP*) |
| 11541 |
if test -d /usr/nec; then |
if test -d /usr/nec; then |
| 11542 |
lt_prog_compiler_pic_CXX=-Kconform_pic |
lt_prog_compiler_pic_CXX=-Kconform_pic |
| 11606 |
case $cc_basename in |
case $cc_basename in |
| 11607 |
CC*) |
CC*) |
| 11608 |
lt_prog_compiler_wl_CXX='-Wl,' |
lt_prog_compiler_wl_CXX='-Wl,' |
| 11609 |
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" |
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' |
| 11610 |
if test "$host_cpu" != ia64; then |
if test "$host_cpu" != ia64; then |
| 11611 |
lt_prog_compiler_pic_CXX='+Z' |
lt_prog_compiler_pic_CXX='+Z' |
| 11612 |
fi |
fi |
| 11613 |
;; |
;; |
| 11614 |
aCC*) |
aCC*) |
| 11615 |
lt_prog_compiler_wl_CXX='-Wl,' |
lt_prog_compiler_wl_CXX='-Wl,' |
| 11616 |
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" |
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' |
| 11617 |
case $host_cpu in |
case $host_cpu in |
| 11618 |
hppa*64*|ia64*) |
hppa*64*|ia64*) |
| 11619 |
# +Z the default |
# +Z the default |
| 11627 |
;; |
;; |
| 11628 |
esac |
esac |
| 11629 |
;; |
;; |
| 11630 |
|
interix*) |
| 11631 |
|
# This is c89, which is MS Visual C++ (no shared libs) |
| 11632 |
|
# Anyone wants to do a port? |
| 11633 |
|
;; |
| 11634 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
| 11635 |
case $cc_basename in |
case $cc_basename in |
| 11636 |
CC*) |
CC*) |
| 11710 |
;; |
;; |
| 11711 |
psos*) |
psos*) |
| 11712 |
;; |
;; |
|
sco*) |
|
|
case $cc_basename in |
|
|
CC*) |
|
|
lt_prog_compiler_pic_CXX='-fPIC' |
|
|
;; |
|
|
*) |
|
|
;; |
|
|
esac |
|
|
;; |
|
| 11713 |
solaris*) |
solaris*) |
| 11714 |
case $cc_basename in |
case $cc_basename in |
| 11715 |
CC*) |
CC*) |
| 11751 |
;; |
;; |
| 11752 |
esac |
esac |
| 11753 |
;; |
;; |
| 11754 |
unixware*) |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 11755 |
|
case $cc_basename in |
| 11756 |
|
CC*) |
| 11757 |
|
lt_prog_compiler_wl_CXX='-Wl,' |
| 11758 |
|
lt_prog_compiler_pic_CXX='-KPIC' |
| 11759 |
|
lt_prog_compiler_static_CXX='-Bstatic' |
| 11760 |
|
;; |
| 11761 |
|
esac |
| 11762 |
;; |
;; |
| 11763 |
vxworks*) |
vxworks*) |
| 11764 |
;; |
;; |
| 11794 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 11795 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 11796 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 11797 |
(eval echo "\"\$as_me:11544: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11797: $lt_compile\"" >&5) |
| 11798 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 11799 |
ac_status=$? |
ac_status=$? |
| 11800 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 11801 |
echo "$as_me:11548: \$? = $ac_status" >&5 |
echo "$as_me:11801: \$? = $ac_status" >&5 |
| 11802 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 11803 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 11804 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 11805 |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
| 11806 |
$SED '/^$/d' conftest.err >conftest.er2 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 11807 |
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 11808 |
lt_prog_compiler_pic_works_CXX=yes |
lt_prog_compiler_pic_works_CXX=yes |
| 11809 |
fi |
fi |
| 11810 |
fi |
fi |
| 11835 |
;; |
;; |
| 11836 |
esac |
esac |
| 11837 |
|
|
| 11838 |
|
# |
| 11839 |
|
# Check to make sure the static flag actually works. |
| 11840 |
|
# |
| 11841 |
|
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" |
| 11842 |
|
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 11843 |
|
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 |
| 11844 |
|
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then |
| 11845 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11846 |
|
else |
| 11847 |
|
lt_prog_compiler_static_works_CXX=no |
| 11848 |
|
save_LDFLAGS="$LDFLAGS" |
| 11849 |
|
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 11850 |
|
printf "$lt_simple_link_test_code" > conftest.$ac_ext |
| 11851 |
|
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 11852 |
|
# The linker can only warn and ignore the option if not recognized |
| 11853 |
|
# So say no if there are warnings |
| 11854 |
|
if test -s conftest.err; then |
| 11855 |
|
# Append any errors to the config.log. |
| 11856 |
|
cat conftest.err 1>&5 |
| 11857 |
|
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
| 11858 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 11859 |
|
if diff conftest.exp conftest.er2 >/dev/null; then |
| 11860 |
|
lt_prog_compiler_static_works_CXX=yes |
| 11861 |
|
fi |
| 11862 |
|
else |
| 11863 |
|
lt_prog_compiler_static_works_CXX=yes |
| 11864 |
|
fi |
| 11865 |
|
fi |
| 11866 |
|
$rm conftest* |
| 11867 |
|
LDFLAGS="$save_LDFLAGS" |
| 11868 |
|
|
| 11869 |
|
fi |
| 11870 |
|
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5 |
| 11871 |
|
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6 |
| 11872 |
|
|
| 11873 |
|
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then |
| 11874 |
|
: |
| 11875 |
|
else |
| 11876 |
|
lt_prog_compiler_static_CXX= |
| 11877 |
|
fi |
| 11878 |
|
|
| 11879 |
|
|
| 11880 |
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 11881 |
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
| 11882 |
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then |
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then |
| 11898 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 11899 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 11900 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 11901 |
(eval echo "\"\$as_me:11606: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11901: $lt_compile\"" >&5) |
| 11902 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 11903 |
ac_status=$? |
ac_status=$? |
| 11904 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 11905 |
echo "$as_me:11610: \$? = $ac_status" >&5 |
echo "$as_me:11905: \$? = $ac_status" >&5 |
| 11906 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 11907 |
then |
then |
| 11908 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 11909 |
# So say no if there are warnings |
# So say no if there are warnings |
| 11910 |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
| 11911 |
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
| 11912 |
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 11913 |
lt_cv_prog_compiler_c_o_CXX=yes |
lt_cv_prog_compiler_c_o_CXX=yes |
| 11914 |
fi |
fi |
| 11915 |
fi |
fi |
| 11979 |
echo "${ECHO_T}$ld_shlibs_CXX" >&6 |
echo "${ECHO_T}$ld_shlibs_CXX" >&6 |
| 11980 |
test "$ld_shlibs_CXX" = no && can_build_shared=no |
test "$ld_shlibs_CXX" = no && can_build_shared=no |
| 11981 |
|
|
|
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
|
if test "$GCC" = yes; then |
|
|
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
|
fi |
|
|
|
|
| 11982 |
# |
# |
| 11983 |
# Do we need to explicitly link libc? |
# Do we need to explicitly link libc? |
| 11984 |
# |
# |
| 12011 |
libobjs=conftest.$ac_objext |
libobjs=conftest.$ac_objext |
| 12012 |
deplibs= |
deplibs= |
| 12013 |
wl=$lt_prog_compiler_wl_CXX |
wl=$lt_prog_compiler_wl_CXX |
| 12014 |
|
pic_flag=$lt_prog_compiler_pic_CXX |
| 12015 |
compiler_flags=-v |
compiler_flags=-v |
| 12016 |
linker_flags=-v |
linker_flags=-v |
| 12017 |
verstring= |
verstring= |
| 12293 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
| 12294 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 12295 |
;; |
;; |
| 12296 |
*) # from 3.2 on |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
| 12297 |
|
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
| 12298 |
shlibpath_overrides_runpath=no |
shlibpath_overrides_runpath=no |
| 12299 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 12300 |
;; |
;; |
| 12301 |
|
freebsd*) # from 4.6 on |
| 12302 |
|
shlibpath_overrides_runpath=yes |
| 12303 |
|
hardcode_into_libs=yes |
| 12304 |
|
;; |
| 12305 |
esac |
esac |
| 12306 |
;; |
;; |
| 12307 |
|
|
| 12361 |
postinstall_cmds='chmod 555 $lib' |
postinstall_cmds='chmod 555 $lib' |
| 12362 |
;; |
;; |
| 12363 |
|
|
| 12364 |
|
interix3*) |
| 12365 |
|
version_type=linux |
| 12366 |
|
need_lib_prefix=no |
| 12367 |
|
need_version=no |
| 12368 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 12369 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 12370 |
|
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
| 12371 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 12372 |
|
shlibpath_overrides_runpath=no |
| 12373 |
|
hardcode_into_libs=yes |
| 12374 |
|
;; |
| 12375 |
|
|
| 12376 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
| 12377 |
case $host_os in |
case $host_os in |
| 12378 |
nonstopux*) version_type=nonstopux ;; |
nonstopux*) version_type=nonstopux ;; |
| 12430 |
# before this can be enabled. |
# before this can be enabled. |
| 12431 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 12432 |
|
|
| 12433 |
|
# find out which ABI we are using |
| 12434 |
|
libsuff= |
| 12435 |
|
case "$host_cpu" in |
| 12436 |
|
x86_64*|s390x*|powerpc64*) |
| 12437 |
|
echo '#line 12437 "configure"' > conftest.$ac_ext |
| 12438 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 12439 |
|
(eval $ac_compile) 2>&5 |
| 12440 |
|
ac_status=$? |
| 12441 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12442 |
|
(exit $ac_status); }; then |
| 12443 |
|
case `/usr/bin/file conftest.$ac_objext` in |
| 12444 |
|
*64-bit*) |
| 12445 |
|
libsuff=64 |
| 12446 |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
| 12447 |
|
;; |
| 12448 |
|
esac |
| 12449 |
|
fi |
| 12450 |
|
rm -rf conftest* |
| 12451 |
|
;; |
| 12452 |
|
esac |
| 12453 |
|
|
| 12454 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
| 12455 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
| 12456 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
lt_ld_extra=`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' ' '` |
| 12457 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
| 12458 |
fi |
fi |
| 12459 |
|
|
| 12460 |
# 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 |
| 12515 |
|
|
| 12516 |
openbsd*) |
openbsd*) |
| 12517 |
version_type=sunos |
version_type=sunos |
| 12518 |
|
sys_lib_dlsearch_path_spec="/usr/lib" |
| 12519 |
need_lib_prefix=no |
need_lib_prefix=no |
| 12520 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
| 12521 |
case $host_os in |
case $host_os in |
| 12559 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
| 12560 |
;; |
;; |
| 12561 |
|
|
|
sco3.2v5*) |
|
|
version_type=osf |
|
|
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
shlibpath_var=LD_LIBRARY_PATH |
|
|
;; |
|
|
|
|
| 12562 |
solaris*) |
solaris*) |
| 12563 |
version_type=linux |
version_type=linux |
| 12564 |
need_lib_prefix=no |
need_lib_prefix=no |
| 12584 |
need_version=yes |
need_version=yes |
| 12585 |
;; |
;; |
| 12586 |
|
|
| 12587 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
sysv4 | sysv4.3*) |
| 12588 |
version_type=linux |
version_type=linux |
| 12589 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12590 |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
| 12617 |
fi |
fi |
| 12618 |
;; |
;; |
| 12619 |
|
|
| 12620 |
|
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 12621 |
|
version_type=freebsd-elf |
| 12622 |
|
need_lib_prefix=no |
| 12623 |
|
need_version=no |
| 12624 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
| 12625 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 12626 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 12627 |
|
hardcode_into_libs=yes |
| 12628 |
|
if test "$with_gnu_ld" = yes; then |
| 12629 |
|
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
| 12630 |
|
shlibpath_overrides_runpath=no |
| 12631 |
|
else |
| 12632 |
|
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
| 12633 |
|
shlibpath_overrides_runpath=yes |
| 12634 |
|
case $host_os in |
| 12635 |
|
sco3.2v5*) |
| 12636 |
|
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
| 12637 |
|
;; |
| 12638 |
|
esac |
| 12639 |
|
fi |
| 12640 |
|
sys_lib_dlsearch_path_spec='/usr/lib' |
| 12641 |
|
;; |
| 12642 |
|
|
| 12643 |
uts4*) |
uts4*) |
| 12644 |
version_type=linux |
version_type=linux |
| 12645 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12655 |
echo "${ECHO_T}$dynamic_linker" >&6 |
echo "${ECHO_T}$dynamic_linker" >&6 |
| 12656 |
test "$dynamic_linker" = no && can_build_shared=no |
test "$dynamic_linker" = no && can_build_shared=no |
| 12657 |
|
|
| 12658 |
|
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 12659 |
|
if test "$GCC" = yes; then |
| 12660 |
|
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
| 12661 |
|
fi |
| 12662 |
|
|
| 12663 |
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
| 12664 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
| 12665 |
hardcode_action_CXX= |
hardcode_action_CXX= |
| 12697 |
enable_fast_install=needless |
enable_fast_install=needless |
| 12698 |
fi |
fi |
| 12699 |
|
|
|
striplib= |
|
|
old_striplib= |
|
|
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
|
|
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
|
|
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
|
|
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
|
|
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
|
|
echo "$as_me:$LINENO: result: yes" >&5 |
|
|
echo "${ECHO_T}yes" >&6 |
|
|
else |
|
|
# FIXME - insert some real tests, host_os isn't really good enough |
|
|
case $host_os in |
|
|
darwin*) |
|
|
if test -n "$STRIP" ; then |
|
|
striplib="$STRIP -x" |
|
|
echo "$as_me:$LINENO: result: yes" >&5 |
|
|
echo "${ECHO_T}yes" >&6 |
|
|
else |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
|
|
echo "${ECHO_T}no" >&6 |
|
|
fi |
|
|
;; |
|
|
*) |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
|
|
echo "${ECHO_T}no" >&6 |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
|
|
|
if test "x$enable_dlopen" != xyes; then |
|
|
enable_dlopen=unknown |
|
|
enable_dlopen_self=unknown |
|
|
enable_dlopen_self_static=unknown |
|
|
else |
|
|
lt_cv_dlopen=no |
|
|
lt_cv_dlopen_libs= |
|
|
|
|
|
case $host_os in |
|
|
beos*) |
|
|
lt_cv_dlopen="load_add_on" |
|
|
lt_cv_dlopen_libs= |
|
|
lt_cv_dlopen_self=yes |
|
|
;; |
|
|
|
|
|
mingw* | pw32*) |
|
|
lt_cv_dlopen="LoadLibrary" |
|
|
lt_cv_dlopen_libs= |
|
|
;; |
|
|
|
|
|
cygwin*) |
|
|
lt_cv_dlopen="dlopen" |
|
|
lt_cv_dlopen_libs= |
|
|
;; |
|
|
|
|
|
darwin*) |
|
|
# if libdl is installed we need to link against it |
|
|
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
|
|
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
|
|
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
ac_check_lib_save_LIBS=$LIBS |
|
|
LIBS="-ldl $LIBS" |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
#ifdef __cplusplus |
|
|
extern "C" |
|
|
#endif |
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
builtin and then its argument prototype would still apply. */ |
|
|
char dlopen (); |
|
|
int |
|
|
main () |
|
|
{ |
|
|
dlopen (); |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
(eval $ac_link) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -z "$ac_cxx_werror_flag" |
|
|
|| test ! -s conftest.err' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; } && |
|
|
{ ac_try='test -s conftest$ac_exeext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
ac_cv_lib_dl_dlopen=yes |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
ac_cv_lib_dl_dlopen=no |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_objext \ |
|
|
conftest$ac_exeext conftest.$ac_ext |
|
|
LIBS=$ac_check_lib_save_LIBS |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
|
|
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
|
|
if test $ac_cv_lib_dl_dlopen = yes; then |
|
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
|
|
else |
|
|
|
|
|
lt_cv_dlopen="dyld" |
|
|
lt_cv_dlopen_libs= |
|
|
lt_cv_dlopen_self=yes |
|
|
|
|
|
fi |
|
|
|
|
|
;; |
|
|
|
|
|
*) |
|
|
echo "$as_me:$LINENO: checking for shl_load" >&5 |
|
|
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 |
|
|
if test "${ac_cv_func_shl_load+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
|
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
#define shl_load innocuous_shl_load |
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
which can conflict with char shl_load (); below. |
|
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
<limits.h> exists even on freestanding compilers. */ |
|
|
|
|
|
#ifdef __STDC__ |
|
|
# include <limits.h> |
|
|
#else |
|
|
# include <assert.h> |
|
|
#endif |
|
|
|
|
|
#undef shl_load |
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
#ifdef __cplusplus |
|
|
extern "C" |
|
|
{ |
|
|
#endif |
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
builtin and then its argument prototype would still apply. */ |
|
|
char shl_load (); |
|
|
/* The GNU C library defines this for functions which it implements |
|
|
to always fail with ENOSYS. Some functions are actually named |
|
|
something starting with __ and the normal name is an alias. */ |
|
|
#if defined (__stub_shl_load) || defined (__stub___shl_load) |
|
|
choke me |
|
|
#else |
|
|
char (*f) () = shl_load; |
|
|
#endif |
|
|
#ifdef __cplusplus |
|
|
} |
|
|
#endif |
|
|
|
|
|
int |
|
|
main () |
|
|
{ |
|
|
return f != shl_load; |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
(eval $ac_link) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -z "$ac_cxx_werror_flag" |
|
|
|| test ! -s conftest.err' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; } && |
|
|
{ ac_try='test -s conftest$ac_exeext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
ac_cv_func_shl_load=yes |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
ac_cv_func_shl_load=no |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_objext \ |
|
|
conftest$ac_exeext conftest.$ac_ext |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
|
|
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
|
|
if test $ac_cv_func_shl_load = yes; then |
|
|
lt_cv_dlopen="shl_load" |
|
|
else |
|
|
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
|
|
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 |
|
|
if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
ac_check_lib_save_LIBS=$LIBS |
|
|
LIBS="-ldld $LIBS" |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
#ifdef __cplusplus |
|
|
extern "C" |
|
|
#endif |
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
builtin and then its argument prototype would still apply. */ |
|
|
char shl_load (); |
|
|
int |
|
|
main () |
|
|
{ |
|
|
shl_load (); |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
(eval $ac_link) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -z "$ac_cxx_werror_flag" |
|
|
|| test ! -s conftest.err' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; } && |
|
|
{ ac_try='test -s conftest$ac_exeext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
ac_cv_lib_dld_shl_load=yes |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
ac_cv_lib_dld_shl_load=no |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_objext \ |
|
|
conftest$ac_exeext conftest.$ac_ext |
|
|
LIBS=$ac_check_lib_save_LIBS |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
|
|
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 |
|
|
if test $ac_cv_lib_dld_shl_load = yes; then |
|
|
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" |
|
|
else |
|
|
echo "$as_me:$LINENO: checking for dlopen" >&5 |
|
|
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 |
|
|
if test "${ac_cv_func_dlopen+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
|
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
#define dlopen innocuous_dlopen |
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
which can conflict with char dlopen (); below. |
|
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
<limits.h> exists even on freestanding compilers. */ |
|
|
|
|
|
#ifdef __STDC__ |
|
|
# include <limits.h> |
|
|
#else |
|
|
# include <assert.h> |
|
|
#endif |
|
|
|
|
|
#undef dlopen |
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
#ifdef __cplusplus |
|
|
extern "C" |
|
|
{ |
|
|
#endif |
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
builtin and then its argument prototype would still apply. */ |
|
|
char dlopen (); |
|
|
/* The GNU C library defines this for functions which it implements |
|
|
to always fail with ENOSYS. Some functions are actually named |
|
|
something starting with __ and the normal name is an alias. */ |
|
|
#if defined (__stub_dlopen) || defined (__stub___dlopen) |
|
|
choke me |
|
|
#else |
|
|
char (*f) () = dlopen; |
|
|
#endif |
|
|
#ifdef __cplusplus |
|
|
} |
|
|
#endif |
|
|
|
|
|
int |
|
|
main () |
|
|
{ |
|
|
return f != dlopen; |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
(eval $ac_link) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -z "$ac_cxx_werror_flag" |
|
|
|| test ! -s conftest.err' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; } && |
|
|
{ ac_try='test -s conftest$ac_exeext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
ac_cv_func_dlopen=yes |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
ac_cv_func_dlopen=no |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_objext \ |
|
|
conftest$ac_exeext conftest.$ac_ext |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
|
|
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
|
|
if test $ac_cv_func_dlopen = yes; then |
|
|
lt_cv_dlopen="dlopen" |
|
|
else |
|
|
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
|
|
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
|
|
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
ac_check_lib_save_LIBS=$LIBS |
|
|
LIBS="-ldl $LIBS" |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
#ifdef __cplusplus |
|
|
extern "C" |
|
|
#endif |
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
builtin and then its argument prototype would still apply. */ |
|
|
char dlopen (); |
|
|
int |
|
|
main () |
|
|
{ |
|
|
dlopen (); |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
(eval $ac_link) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -z "$ac_cxx_werror_flag" |
|
|
|| test ! -s conftest.err' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; } && |
|
|
{ ac_try='test -s conftest$ac_exeext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
ac_cv_lib_dl_dlopen=yes |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
ac_cv_lib_dl_dlopen=no |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_objext \ |
|
|
conftest$ac_exeext conftest.$ac_ext |
|
|
LIBS=$ac_check_lib_save_LIBS |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
|
|
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
|
|
if test $ac_cv_lib_dl_dlopen = yes; then |
|
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
|
|
else |
|
|
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
|
|
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 |
|
|
if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
ac_check_lib_save_LIBS=$LIBS |
|
|
LIBS="-lsvld $LIBS" |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
#ifdef __cplusplus |
|
|
extern "C" |
|
|
#endif |
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
builtin and then its argument prototype would still apply. */ |
|
|
char dlopen (); |
|
|
int |
|
|
main () |
|
|
{ |
|
|
dlopen (); |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
(eval $ac_link) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -z "$ac_cxx_werror_flag" |
|
|
|| test ! -s conftest.err' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; } && |
|
|
{ ac_try='test -s conftest$ac_exeext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
ac_cv_lib_svld_dlopen=yes |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
ac_cv_lib_svld_dlopen=no |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_objext \ |
|
|
conftest$ac_exeext conftest.$ac_ext |
|
|
LIBS=$ac_check_lib_save_LIBS |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
|
|
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 |
|
|
if test $ac_cv_lib_svld_dlopen = yes; then |
|
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
|
|
else |
|
|
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
|
|
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 |
|
|
if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
ac_check_lib_save_LIBS=$LIBS |
|
|
LIBS="-ldld $LIBS" |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
#ifdef __cplusplus |
|
|
extern "C" |
|
|
#endif |
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
builtin and then its argument prototype would still apply. */ |
|
|
char dld_link (); |
|
|
int |
|
|
main () |
|
|
{ |
|
|
dld_link (); |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
(eval $ac_link) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -z "$ac_cxx_werror_flag" |
|
|
|| test ! -s conftest.err' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; } && |
|
|
{ ac_try='test -s conftest$ac_exeext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
ac_cv_lib_dld_dld_link=yes |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
ac_cv_lib_dld_dld_link=no |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_objext \ |
|
|
conftest$ac_exeext conftest.$ac_ext |
|
|
LIBS=$ac_check_lib_save_LIBS |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
|
|
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 |
|
|
if test $ac_cv_lib_dld_dld_link = yes; then |
|
|
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" |
|
|
fi |
|
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
fi |
|
|
|
|
|
;; |
|
|
esac |
|
|
|
|
|
if test "x$lt_cv_dlopen" != xno; then |
|
|
enable_dlopen=yes |
|
|
else |
|
|
enable_dlopen=no |
|
|
fi |
|
|
|
|
|
case $lt_cv_dlopen in |
|
|
dlopen) |
|
|
save_CPPFLAGS="$CPPFLAGS" |
|
|
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
|
|
|
|
|
save_LDFLAGS="$LDFLAGS" |
|
|
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
|
|
|
|
|
save_LIBS="$LIBS" |
|
|
LIBS="$lt_cv_dlopen_libs $LIBS" |
|
|
|
|
|
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
|
|
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 |
|
|
if test "${lt_cv_dlopen_self+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
if test "$cross_compiling" = yes; then : |
|
|
lt_cv_dlopen_self=cross |
|
|
else |
|
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
|
lt_status=$lt_dlunknown |
|
|
cat > conftest.$ac_ext <<EOF |
|
|
#line 12983 "configure" |
|
|
#include "confdefs.h" |
|
|
|
|
|
#if HAVE_DLFCN_H |
|
|
#include <dlfcn.h> |
|
|
#endif |
|
|
|
|
|
#include <stdio.h> |
|
|
|
|
|
#ifdef RTLD_GLOBAL |
|
|
# define LT_DLGLOBAL RTLD_GLOBAL |
|
|
#else |
|
|
# ifdef DL_GLOBAL |
|
|
# define LT_DLGLOBAL DL_GLOBAL |
|
|
# else |
|
|
# define LT_DLGLOBAL 0 |
|
|
# endif |
|
|
#endif |
|
|
|
|
|
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
|
find out it does not work in some platform. */ |
|
|
#ifndef LT_DLLAZY_OR_NOW |
|
|
# ifdef RTLD_LAZY |
|
|
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
|
# else |
|
|
# ifdef DL_LAZY |
|
|
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
|
# else |
|
|
# ifdef RTLD_NOW |
|
|
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
|
# else |
|
|
# ifdef DL_NOW |
|
|
# define LT_DLLAZY_OR_NOW DL_NOW |
|
|
# else |
|
|
# define LT_DLLAZY_OR_NOW 0 |
|
|
# endif |
|
|
# endif |
|
|
# endif |
|
|
# endif |
|
|
#endif |
|
|
|
|
|
#ifdef __cplusplus |
|
|
extern "C" void exit (int); |
|
|
#endif |
|
|
|
|
|
void fnord() { int i=42;} |
|
|
int main () |
|
|
{ |
|
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
|
int status = $lt_dlunknown; |
|
|
|
|
|
if (self) |
|
|
{ |
|
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
|
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
|
/* dlclose (self); */ |
|
|
} |
|
|
|
|
|
exit (status); |
|
|
} |
|
|
EOF |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
(eval $ac_link) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
|
(./conftest; exit; ) >&5 2>/dev/null |
|
|
lt_status=$? |
|
|
case x$lt_status in |
|
|
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
|
|
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
|
|
x$lt_unknown|x*) lt_cv_dlopen_self=no ;; |
|
|
esac |
|
|
else : |
|
|
# compilation failed |
|
|
lt_cv_dlopen_self=no |
|
|
fi |
|
|
fi |
|
|
rm -fr conftest* |
|
|
|
|
|
|
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
|
|
echo "${ECHO_T}$lt_cv_dlopen_self" >&6 |
|
|
|
|
|
if test "x$lt_cv_dlopen_self" = xyes; then |
|
|
LDFLAGS="$LDFLAGS $link_static_flag" |
|
|
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
|
|
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 |
|
|
if test "${lt_cv_dlopen_self_static+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
if test "$cross_compiling" = yes; then : |
|
|
lt_cv_dlopen_self_static=cross |
|
|
else |
|
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
|
lt_status=$lt_dlunknown |
|
|
cat > conftest.$ac_ext <<EOF |
|
|
#line 13081 "configure" |
|
|
#include "confdefs.h" |
|
|
|
|
|
#if HAVE_DLFCN_H |
|
|
#include <dlfcn.h> |
|
|
#endif |
|
|
|
|
|
#include <stdio.h> |
|
|
|
|
|
#ifdef RTLD_GLOBAL |
|
|
# define LT_DLGLOBAL RTLD_GLOBAL |
|
|
#else |
|
|
# ifdef DL_GLOBAL |
|
|
# define LT_DLGLOBAL DL_GLOBAL |
|
|
# else |
|
|
# define LT_DLGLOBAL 0 |
|
|
# endif |
|
|
#endif |
|
|
|
|
|
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
|
find out it does not work in some platform. */ |
|
|
#ifndef LT_DLLAZY_OR_NOW |
|
|
# ifdef RTLD_LAZY |
|
|
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
|
# else |
|
|
# ifdef DL_LAZY |
|
|
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
|
# else |
|
|
# ifdef RTLD_NOW |
|
|
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
|
# else |
|
|
# ifdef DL_NOW |
|
|
# define LT_DLLAZY_OR_NOW DL_NOW |
|
|
# else |
|
|
# define LT_DLLAZY_OR_NOW 0 |
|
|
# endif |
|
|
# endif |
|
|
# endif |
|
|
# endif |
|
|
#endif |
|
|
|
|
|
#ifdef __cplusplus |
|
|
extern "C" void exit (int); |
|
|
#endif |
|
|
|
|
|
void fnord() { int i=42;} |
|
|
int main () |
|
|
{ |
|
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
|
int status = $lt_dlunknown; |
|
|
|
|
|
if (self) |
|
|
{ |
|
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
|
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
|
/* dlclose (self); */ |
|
|
} |
|
|
|
|
|
exit (status); |
|
|
} |
|
|
EOF |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
(eval $ac_link) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
|
(./conftest; exit; ) >&5 2>/dev/null |
|
|
lt_status=$? |
|
|
case x$lt_status in |
|
|
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
|
|
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
|
|
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; |
|
|
esac |
|
|
else : |
|
|
# compilation failed |
|
|
lt_cv_dlopen_self_static=no |
|
|
fi |
|
|
fi |
|
|
rm -fr conftest* |
|
|
|
|
|
|
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
|
|
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 |
|
|
fi |
|
|
|
|
|
CPPFLAGS="$save_CPPFLAGS" |
|
|
LDFLAGS="$save_LDFLAGS" |
|
|
LIBS="$save_LIBS" |
|
|
;; |
|
|
esac |
|
|
|
|
|
case $lt_cv_dlopen_self in |
|
|
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
|
|
*) enable_dlopen_self=unknown ;; |
|
|
esac |
|
|
|
|
|
case $lt_cv_dlopen_self_static in |
|
|
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
|
|
*) enable_dlopen_self_static=unknown ;; |
|
|
esac |
|
|
fi |
|
|
|
|
| 12700 |
|
|
| 12701 |
# The else clause should only fire when bootstrapping the |
# The else clause should only fire when bootstrapping the |
| 12702 |
# libtool distribution, otherwise you forgot to ship ltmain.sh |
# libtool distribution, otherwise you forgot to ship ltmain.sh |
| 12711 |
# Now quote all the things that may contain metacharacters while being |
# Now quote all the things that may contain metacharacters while being |
| 12712 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
| 12713 |
# variables and quote the copies for generation of the libtool script. |
# variables and quote the copies for generation of the libtool script. |
| 12714 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
| 12715 |
SED SHELL STRIP \ |
SED SHELL STRIP \ |
| 12716 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
| 12717 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
| 12829 |
# A C compiler. |
# A C compiler. |
| 12830 |
LTCC=$lt_LTCC |
LTCC=$lt_LTCC |
| 12831 |
|
|
| 12832 |
|
# LTCC compiler flags. |
| 12833 |
|
LTCFLAGS=$lt_LTCFLAGS |
| 12834 |
|
|
| 12835 |
# A language-specific compiler. |
# A language-specific compiler. |
| 12836 |
CC=$lt_compiler_CXX |
CC=$lt_compiler_CXX |
| 12837 |
|
|
| 13174 |
# If no C compiler was specified, use CC. |
# If no C compiler was specified, use CC. |
| 13175 |
LTCC=${LTCC-"$CC"} |
LTCC=${LTCC-"$CC"} |
| 13176 |
|
|
| 13177 |
|
# If no C compiler flags were specified, use CFLAGS. |
| 13178 |
|
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
| 13179 |
|
|
| 13180 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
| 13181 |
compiler=$CC |
compiler=$CC |
| 13182 |
|
|
| 13184 |
# save warnings/boilerplate of simple test code |
# save warnings/boilerplate of simple test code |
| 13185 |
ac_outfile=conftest.$ac_objext |
ac_outfile=conftest.$ac_objext |
| 13186 |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
| 13187 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
| 13188 |
_lt_compiler_boilerplate=`cat conftest.err` |
_lt_compiler_boilerplate=`cat conftest.err` |
| 13189 |
$rm conftest* |
$rm conftest* |
| 13190 |
|
|
| 13191 |
ac_outfile=conftest.$ac_objext |
ac_outfile=conftest.$ac_objext |
| 13192 |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
| 13193 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
| 13194 |
_lt_linker_boilerplate=`cat conftest.err` |
_lt_linker_boilerplate=`cat conftest.err` |
| 13195 |
$rm conftest* |
$rm conftest* |
| 13196 |
|
|
| 13246 |
echo "$as_me:$LINENO: result: $enable_static" >&5 |
echo "$as_me:$LINENO: result: $enable_static" >&5 |
| 13247 |
echo "${ECHO_T}$enable_static" >&6 |
echo "${ECHO_T}$enable_static" >&6 |
| 13248 |
|
|
|
test "$ld_shlibs_F77" = no && can_build_shared=no |
|
|
|
|
| 13249 |
GCC_F77="$G77" |
GCC_F77="$G77" |
| 13250 |
LD_F77="$LD" |
LD_F77="$LD" |
| 13251 |
|
|
| 13292 |
lt_prog_compiler_pic_F77='-fno-common' |
lt_prog_compiler_pic_F77='-fno-common' |
| 13293 |
;; |
;; |
| 13294 |
|
|
| 13295 |
|
interix3*) |
| 13296 |
|
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
| 13297 |
|
# Instead, we relocate shared libraries at runtime. |
| 13298 |
|
;; |
| 13299 |
|
|
| 13300 |
msdosdjgpp*) |
msdosdjgpp*) |
| 13301 |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
| 13302 |
# on systems that don't support them. |
# on systems that don't support them. |
| 13411 |
lt_prog_compiler_static_F77='-non_shared' |
lt_prog_compiler_static_F77='-non_shared' |
| 13412 |
;; |
;; |
| 13413 |
|
|
|
sco3.2v5*) |
|
|
lt_prog_compiler_pic_F77='-Kpic' |
|
|
lt_prog_compiler_static_F77='-dn' |
|
|
;; |
|
|
|
|
| 13414 |
solaris*) |
solaris*) |
| 13415 |
lt_prog_compiler_pic_F77='-KPIC' |
lt_prog_compiler_pic_F77='-KPIC' |
| 13416 |
lt_prog_compiler_static_F77='-Bstatic' |
lt_prog_compiler_static_F77='-Bstatic' |
| 13428 |
lt_prog_compiler_static_F77='-Bstatic' |
lt_prog_compiler_static_F77='-Bstatic' |
| 13429 |
;; |
;; |
| 13430 |
|
|
| 13431 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
sysv4 | sysv4.2uw2* | sysv4.3*) |
| 13432 |
lt_prog_compiler_wl_F77='-Wl,' |
lt_prog_compiler_wl_F77='-Wl,' |
| 13433 |
lt_prog_compiler_pic_F77='-KPIC' |
lt_prog_compiler_pic_F77='-KPIC' |
| 13434 |
lt_prog_compiler_static_F77='-Bstatic' |
lt_prog_compiler_static_F77='-Bstatic' |
| 13441 |
fi |
fi |
| 13442 |
;; |
;; |
| 13443 |
|
|
| 13444 |
|
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 13445 |
|
lt_prog_compiler_wl_F77='-Wl,' |
| 13446 |
|
lt_prog_compiler_pic_F77='-KPIC' |
| 13447 |
|
lt_prog_compiler_static_F77='-Bstatic' |
| 13448 |
|
;; |
| 13449 |
|
|
| 13450 |
unicos*) |
unicos*) |
| 13451 |
lt_prog_compiler_wl_F77='-Wl,' |
lt_prog_compiler_wl_F77='-Wl,' |
| 13452 |
lt_prog_compiler_can_build_shared_F77=no |
lt_prog_compiler_can_build_shared_F77=no |
| 13489 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 13490 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 13491 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 13492 |
(eval echo "\"\$as_me:13966: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:13492: $lt_compile\"" >&5) |
| 13493 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 13494 |
ac_status=$? |
ac_status=$? |
| 13495 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 13496 |
echo "$as_me:13970: \$? = $ac_status" >&5 |
echo "$as_me:13496: \$? = $ac_status" >&5 |
| 13497 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 13498 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 13499 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 13500 |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
| 13501 |
$SED '/^$/d' conftest.err >conftest.er2 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 13502 |
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 13503 |
lt_prog_compiler_pic_works_F77=yes |
lt_prog_compiler_pic_works_F77=yes |
| 13504 |
fi |
fi |
| 13505 |
fi |
fi |
| 13530 |
;; |
;; |
| 13531 |
esac |
esac |
| 13532 |
|
|
| 13533 |
|
# |
| 13534 |
|
# Check to make sure the static flag actually works. |
| 13535 |
|
# |
| 13536 |
|
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" |
| 13537 |
|
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 13538 |
|
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 |
| 13539 |
|
if test "${lt_prog_compiler_static_works_F77+set}" = set; then |
| 13540 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13541 |
|
else |
| 13542 |
|
lt_prog_compiler_static_works_F77=no |
| 13543 |
|
save_LDFLAGS="$LDFLAGS" |
| 13544 |
|
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 13545 |
|
printf "$lt_simple_link_test_code" > conftest.$ac_ext |
| 13546 |
|
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 13547 |
|
# The linker can only warn and ignore the option if not recognized |
| 13548 |
|
# So say no if there are warnings |
| 13549 |
|
if test -s conftest.err; then |
| 13550 |
|
# Append any errors to the config.log. |
| 13551 |
|
cat conftest.err 1>&5 |
| 13552 |
|
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
| 13553 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 13554 |
|
if diff conftest.exp conftest.er2 >/dev/null; then |
| 13555 |
|
lt_prog_compiler_static_works_F77=yes |
| 13556 |
|
fi |
| 13557 |
|
else |
| 13558 |
|
lt_prog_compiler_static_works_F77=yes |
| 13559 |
|
fi |
| 13560 |
|
fi |
| 13561 |
|
$rm conftest* |
| 13562 |
|
LDFLAGS="$save_LDFLAGS" |
| 13563 |
|
|
| 13564 |
|
fi |
| 13565 |
|
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5 |
| 13566 |
|
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6 |
| 13567 |
|
|
| 13568 |
|
if test x"$lt_prog_compiler_static_works_F77" = xyes; then |
| 13569 |
|
: |
| 13570 |
|
else |
| 13571 |
|
lt_prog_compiler_static_F77= |
| 13572 |
|
fi |
| 13573 |
|
|
| 13574 |
|
|
| 13575 |
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 13576 |
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
| 13577 |
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then |
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then |
| 13593 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 13594 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 13595 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 13596 |
(eval echo "\"\$as_me:14028: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:13596: $lt_compile\"" >&5) |
| 13597 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 13598 |
ac_status=$? |
ac_status=$? |
| 13599 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 13600 |
echo "$as_me:14032: \$? = $ac_status" >&5 |
echo "$as_me:13600: \$? = $ac_status" >&5 |
| 13601 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 13602 |
then |
then |
| 13603 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 13604 |
# So say no if there are warnings |
# So say no if there are warnings |
| 13605 |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
| 13606 |
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
| 13607 |
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 13608 |
lt_cv_prog_compiler_c_o_F77=yes |
lt_cv_prog_compiler_c_o_F77=yes |
| 13609 |
fi |
fi |
| 13610 |
fi |
fi |
| 13704 |
with_gnu_ld=no |
with_gnu_ld=no |
| 13705 |
fi |
fi |
| 13706 |
;; |
;; |
| 13707 |
|
interix*) |
| 13708 |
|
# we just hope/assume this is gcc and not c89 (= MSVC++) |
| 13709 |
|
with_gnu_ld=yes |
| 13710 |
|
;; |
| 13711 |
openbsd*) |
openbsd*) |
| 13712 |
with_gnu_ld=no |
with_gnu_ld=no |
| 13713 |
;; |
;; |
| 13792 |
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
| 13793 |
|
|
| 13794 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
| 13795 |
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}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 13796 |
# If the export-symbols file already is a .def file (1st line |
# If the export-symbols file already is a .def file (1st line |
| 13797 |
# is EXPORTS), use it as is; otherwise, prepend... |
# is EXPORTS), use it as is; otherwise, prepend... |
| 13798 |
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
| 13801 |
echo EXPORTS > $output_objdir/$soname.def; |
echo EXPORTS > $output_objdir/$soname.def; |
| 13802 |
cat $export_symbols >> $output_objdir/$soname.def; |
cat $export_symbols >> $output_objdir/$soname.def; |
| 13803 |
fi~ |
fi~ |
| 13804 |
$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}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 13805 |
else |
else |
| 13806 |
ld_shlibs_F77=no |
ld_shlibs_F77=no |
| 13807 |
fi |
fi |
| 13808 |
;; |
;; |
| 13809 |
|
|
| 13810 |
|
interix3*) |
| 13811 |
|
hardcode_direct_F77=no |
| 13812 |
|
hardcode_shlibpath_var_F77=no |
| 13813 |
|
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
| 13814 |
|
export_dynamic_flag_spec_F77='${wl}-E' |
| 13815 |
|
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
| 13816 |
|
# Instead, shared libraries are loaded at an image base (0x10000000 by |
| 13817 |
|
# default) and relocated if they conflict, which is a slow very memory |
| 13818 |
|
# consuming and fragmenting process. To avoid this, we pick a random, |
| 13819 |
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
| 13820 |
|
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
| 13821 |
|
archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 13822 |
|
archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 13823 |
|
;; |
| 13824 |
|
|
| 13825 |
linux*) |
linux*) |
| 13826 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
| 13827 |
tmp_addflag= |
tmp_addflag= |
| 13863 |
fi |
fi |
| 13864 |
;; |
;; |
| 13865 |
|
|
| 13866 |
solaris* | sysv5*) |
solaris*) |
| 13867 |
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
| 13868 |
ld_shlibs_F77=no |
ld_shlibs_F77=no |
| 13869 |
cat <<EOF 1>&2 |
cat <<EOF 1>&2 |
| 13884 |
fi |
fi |
| 13885 |
;; |
;; |
| 13886 |
|
|
| 13887 |
|
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
| 13888 |
|
case `$LD -v 2>&1` in |
| 13889 |
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
| 13890 |
|
ld_shlibs_F77=no |
| 13891 |
|
cat <<_LT_EOF 1>&2 |
| 13892 |
|
|
| 13893 |
|
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
| 13894 |
|
*** reliably create shared libraries on SCO systems. Therefore, libtool |
| 13895 |
|
*** is disabling shared libraries support. We urge you to upgrade GNU |
| 13896 |
|
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
| 13897 |
|
*** your PATH or compiler configuration so that the native linker is |
| 13898 |
|
*** used, and then restart. |
| 13899 |
|
|
| 13900 |
|
_LT_EOF |
| 13901 |
|
;; |
| 13902 |
|
*) |
| 13903 |
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
| 13904 |
|
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' |
| 13905 |
|
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' |
| 13906 |
|
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' |
| 13907 |
|
else |
| 13908 |
|
ld_shlibs_F77=no |
| 13909 |
|
fi |
| 13910 |
|
;; |
| 13911 |
|
esac |
| 13912 |
|
;; |
| 13913 |
|
|
| 13914 |
sunos4*) |
sunos4*) |
| 13915 |
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 13916 |
wlarc= |
wlarc= |
| 13944 |
# Note: this linker hardcodes the directories in LIBPATH if there |
# Note: this linker hardcodes the directories in LIBPATH if there |
| 13945 |
# are no directories specified by -L. |
# are no directories specified by -L. |
| 13946 |
hardcode_minus_L_F77=yes |
hardcode_minus_L_F77=yes |
| 13947 |
if test "$GCC" = yes && test -z "$link_static_flag"; then |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
| 13948 |
# Neither direct hardcoding nor static linking is supported with a |
# Neither direct hardcoding nor static linking is supported with a |
| 13949 |
# broken collect2. |
# broken collect2. |
| 13950 |
hardcode_direct_F77=unsupported |
hardcode_direct_F77=unsupported |
| 13978 |
break |
break |
| 13979 |
fi |
fi |
| 13980 |
done |
done |
| 13981 |
|
;; |
| 13982 |
esac |
esac |
| 13983 |
|
|
| 13984 |
exp_sym_flag='-bexport' |
exp_sym_flag='-bexport' |
| 14016 |
hardcode_libdir_flag_spec_F77='-L$libdir' |
hardcode_libdir_flag_spec_F77='-L$libdir' |
| 14017 |
hardcode_libdir_separator_F77= |
hardcode_libdir_separator_F77= |
| 14018 |
fi |
fi |
| 14019 |
|
;; |
| 14020 |
esac |
esac |
| 14021 |
shared_flag='-shared' |
shared_flag='-shared' |
| 14022 |
if test "$aix_use_runtimelinking" = yes; then |
if test "$aix_use_runtimelinking" = yes; then |
| 14029 |
# chokes on -Wl,-G. The following line is correct: |
# chokes on -Wl,-G. The following line is correct: |
| 14030 |
shared_flag='-G' |
shared_flag='-G' |
| 14031 |
else |
else |
| 14032 |
if test "$aix_use_runtimelinking" = yes; then |
if test "$aix_use_runtimelinking" = yes; then |
| 14033 |
shared_flag='${wl}-G' |
shared_flag='${wl}-G' |
| 14034 |
else |
else |
| 14035 |
shared_flag='${wl}-bM:SRE' |
shared_flag='${wl}-bM:SRE' |
| 14036 |
fi |
fi |
| 14037 |
fi |
fi |
| 14038 |
fi |
fi |
| 14039 |
|
|
| 14088 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 14089 |
|
|
| 14090 |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 14091 |
archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
| 14092 |
else |
else |
| 14093 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
| 14094 |
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' |
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' |
| 14095 |
allow_undefined_flag_F77="-z nodefs" |
allow_undefined_flag_F77="-z nodefs" |
| 14096 |
archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" |
archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" |
| 14097 |
else |
else |
| 14098 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
| 14099 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| 14143 |
# -berok will link without error, but may produce a broken library. |
# -berok will link without error, but may produce a broken library. |
| 14144 |
no_undefined_flag_F77=' ${wl}-bernotok' |
no_undefined_flag_F77=' ${wl}-bernotok' |
| 14145 |
allow_undefined_flag_F77=' ${wl}-berok' |
allow_undefined_flag_F77=' ${wl}-berok' |
|
# -bexpall does not export symbols beginning with underscore (_) |
|
|
always_export_symbols_F77=yes |
|
| 14146 |
# Exported symbols can be pulled into shared objects from archives |
# Exported symbols can be pulled into shared objects from archives |
| 14147 |
whole_archive_flag_spec_F77=' ' |
whole_archive_flag_spec_F77='$convenience' |
| 14148 |
archive_cmds_need_lc_F77=yes |
archive_cmds_need_lc_F77=yes |
| 14149 |
# This is similar to how AIX traditionally builds its shared libraries. |
# This is similar to how AIX traditionally builds its shared libraries. |
| 14150 |
archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
| 14151 |
fi |
fi |
| 14152 |
fi |
fi |
| 14153 |
;; |
;; |
| 14288 |
export_dynamic_flag_spec_F77='${wl}-E' |
export_dynamic_flag_spec_F77='${wl}-E' |
| 14289 |
;; |
;; |
| 14290 |
|
|
| 14291 |
hpux10* | hpux11*) |
hpux10*) |
| 14292 |
|
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
| 14293 |
|
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 14294 |
|
else |
| 14295 |
|
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 14296 |
|
fi |
| 14297 |
|
if test "$with_gnu_ld" = no; then |
| 14298 |
|
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
| 14299 |
|
hardcode_libdir_separator_F77=: |
| 14300 |
|
|
| 14301 |
|
hardcode_direct_F77=yes |
| 14302 |
|
export_dynamic_flag_spec_F77='${wl}-E' |
| 14303 |
|
|
| 14304 |
|
# hardcode_minus_L: Not really in the search PATH, |
| 14305 |
|
# but as the default location of the library. |
| 14306 |
|
hardcode_minus_L_F77=yes |
| 14307 |
|
fi |
| 14308 |
|
;; |
| 14309 |
|
|
| 14310 |
|
hpux11*) |
| 14311 |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
| 14312 |
case $host_cpu in |
case $host_cpu in |
| 14313 |
hppa*64*|ia64*) |
hppa*64*) |
| 14314 |
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' |
| 14315 |
;; |
;; |
| 14316 |
|
ia64*) |
| 14317 |
|
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 14318 |
|
;; |
| 14319 |
*) |
*) |
| 14320 |
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 14321 |
;; |
;; |
| 14322 |
esac |
esac |
| 14323 |
else |
else |
| 14324 |
case $host_cpu in |
case $host_cpu in |
| 14325 |
hppa*64*|ia64*) |
hppa*64*) |
| 14326 |
archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 14327 |
|
;; |
| 14328 |
|
ia64*) |
| 14329 |
|
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 14330 |
;; |
;; |
| 14331 |
*) |
*) |
| 14332 |
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 14333 |
;; |
;; |
| 14334 |
esac |
esac |
| 14335 |
fi |
fi |
| 14336 |
if test "$with_gnu_ld" = no; then |
if test "$with_gnu_ld" = no; then |
| 14337 |
|
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
| 14338 |
|
hardcode_libdir_separator_F77=: |
| 14339 |
|
|
| 14340 |
case $host_cpu in |
case $host_cpu in |
| 14341 |
hppa*64*) |
hppa*64*|ia64*) |
|
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
|
| 14342 |
hardcode_libdir_flag_spec_ld_F77='+b $libdir' |
hardcode_libdir_flag_spec_ld_F77='+b $libdir' |
|
hardcode_libdir_separator_F77=: |
|
|
hardcode_direct_F77=no |
|
|
hardcode_shlibpath_var_F77=no |
|
|
;; |
|
|
ia64*) |
|
|
hardcode_libdir_flag_spec_F77='-L$libdir' |
|
| 14343 |
hardcode_direct_F77=no |
hardcode_direct_F77=no |
| 14344 |
hardcode_shlibpath_var_F77=no |
hardcode_shlibpath_var_F77=no |
|
|
|
|
# hardcode_minus_L: Not really in the search PATH, |
|
|
# but as the default location of the library. |
|
|
hardcode_minus_L_F77=yes |
|
| 14345 |
;; |
;; |
| 14346 |
*) |
*) |
|
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
|
|
hardcode_libdir_separator_F77=: |
|
| 14347 |
hardcode_direct_F77=yes |
hardcode_direct_F77=yes |
| 14348 |
export_dynamic_flag_spec_F77='${wl}-E' |
export_dynamic_flag_spec_F77='${wl}-E' |
| 14349 |
|
|
| 14445 |
hardcode_libdir_separator_F77=: |
hardcode_libdir_separator_F77=: |
| 14446 |
;; |
;; |
| 14447 |
|
|
|
sco3.2v5*) |
|
|
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
hardcode_shlibpath_var_F77=no |
|
|
export_dynamic_flag_spec_F77='${wl}-Bexport' |
|
|
runpath_var=LD_RUN_PATH |
|
|
hardcode_runpath_var=yes |
|
|
;; |
|
|
|
|
| 14448 |
solaris*) |
solaris*) |
| 14449 |
no_undefined_flag_F77=' -z text' |
no_undefined_flag_F77=' -z text' |
| 14450 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
| 14530 |
fi |
fi |
| 14531 |
;; |
;; |
| 14532 |
|
|
| 14533 |
sysv4.2uw2*) |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) |
| 14534 |
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
no_undefined_flag_F77='${wl}-z,text' |
| 14535 |
hardcode_direct_F77=yes |
archive_cmds_need_lc_F77=no |
|
hardcode_minus_L_F77=no |
|
| 14536 |
hardcode_shlibpath_var_F77=no |
hardcode_shlibpath_var_F77=no |
| 14537 |
hardcode_runpath_var=yes |
runpath_var='LD_RUN_PATH' |
|
runpath_var=LD_RUN_PATH |
|
|
;; |
|
| 14538 |
|
|
|
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) |
|
|
no_undefined_flag_F77='${wl}-z ${wl}text' |
|
| 14539 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
| 14540 |
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 14541 |
|
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 14542 |
else |
else |
| 14543 |
archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 14544 |
|
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 14545 |
fi |
fi |
|
runpath_var='LD_RUN_PATH' |
|
|
hardcode_shlibpath_var_F77=no |
|
| 14546 |
;; |
;; |
| 14547 |
|
|
| 14548 |
sysv5*) |
sysv5* | sco3.2v5* | sco5v6*) |
| 14549 |
no_undefined_flag_F77=' -z text' |
# Note: We can NOT use -z defs as we might desire, because we do not |
| 14550 |
# $CC -shared without GNU ld will not create a library from C++ |
# link with -lc, and that would cause any symbols used from libc to |
| 14551 |
# object files and a static libstdc++, better avoid it by now |
# always be unresolved, which means just about no library would |
| 14552 |
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
# ever link correctly. If we're not using GNU ld we use -z text |
| 14553 |
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
# though, which does catch some bad symbols but isn't as heavy-handed |
| 14554 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
# as -z defs. |
| 14555 |
hardcode_libdir_flag_spec_F77= |
no_undefined_flag_F77='${wl}-z,text' |
| 14556 |
|
allow_undefined_flag_F77='${wl}-z,nodefs' |
| 14557 |
|
archive_cmds_need_lc_F77=no |
| 14558 |
hardcode_shlibpath_var_F77=no |
hardcode_shlibpath_var_F77=no |
| 14559 |
|
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
| 14560 |
|
hardcode_libdir_separator_F77=':' |
| 14561 |
|
link_all_deplibs_F77=yes |
| 14562 |
|
export_dynamic_flag_spec_F77='${wl}-Bexport' |
| 14563 |
runpath_var='LD_RUN_PATH' |
runpath_var='LD_RUN_PATH' |
| 14564 |
|
|
| 14565 |
|
if test "$GCC" = yes; then |
| 14566 |
|
archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 14567 |
|
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 14568 |
|
else |
| 14569 |
|
archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 14570 |
|
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 14571 |
|
fi |
| 14572 |
;; |
;; |
| 14573 |
|
|
| 14574 |
uts4*) |
uts4*) |
| 14587 |
echo "${ECHO_T}$ld_shlibs_F77" >&6 |
echo "${ECHO_T}$ld_shlibs_F77" >&6 |
| 14588 |
test "$ld_shlibs_F77" = no && can_build_shared=no |
test "$ld_shlibs_F77" = no && can_build_shared=no |
| 14589 |
|
|
|
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
|
if test "$GCC" = yes; then |
|
|
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
|
fi |
|
|
|
|
| 14590 |
# |
# |
| 14591 |
# Do we need to explicitly link libc? |
# Do we need to explicitly link libc? |
| 14592 |
# |
# |
| 14619 |
libobjs=conftest.$ac_objext |
libobjs=conftest.$ac_objext |
| 14620 |
deplibs= |
deplibs= |
| 14621 |
wl=$lt_prog_compiler_wl_F77 |
wl=$lt_prog_compiler_wl_F77 |
| 14622 |
|
pic_flag=$lt_prog_compiler_pic_F77 |
| 14623 |
compiler_flags=-v |
compiler_flags=-v |
| 14624 |
linker_flags=-v |
linker_flags=-v |
| 14625 |
verstring= |
verstring= |
| 14901 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
| 14902 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 14903 |
;; |
;; |
| 14904 |
*) # from 3.2 on |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
| 14905 |
|
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
| 14906 |
shlibpath_overrides_runpath=no |
shlibpath_overrides_runpath=no |
| 14907 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 14908 |
;; |
;; |
| 14909 |
|
freebsd*) # from 4.6 on |
| 14910 |
|
shlibpath_overrides_runpath=yes |
| 14911 |
|
hardcode_into_libs=yes |
| 14912 |
|
;; |
| 14913 |
esac |
esac |
| 14914 |
;; |
;; |
| 14915 |
|
|
| 14969 |
postinstall_cmds='chmod 555 $lib' |
postinstall_cmds='chmod 555 $lib' |
| 14970 |
;; |
;; |
| 14971 |
|
|
| 14972 |
|
interix3*) |
| 14973 |
|
version_type=linux |
| 14974 |
|
need_lib_prefix=no |
| 14975 |
|
need_version=no |
| 14976 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 14977 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 14978 |
|
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
| 14979 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 14980 |
|
shlibpath_overrides_runpath=no |
| 14981 |
|
hardcode_into_libs=yes |
| 14982 |
|
;; |
| 14983 |
|
|
| 14984 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
| 14985 |
case $host_os in |
case $host_os in |
| 14986 |
nonstopux*) version_type=nonstopux ;; |
nonstopux*) version_type=nonstopux ;; |
| 15038 |
# before this can be enabled. |
# before this can be enabled. |
| 15039 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 15040 |
|
|
| 15041 |
|
# find out which ABI we are using |
| 15042 |
|
libsuff= |
| 15043 |
|
case "$host_cpu" in |
| 15044 |
|
x86_64*|s390x*|powerpc64*) |
| 15045 |
|
echo '#line 15045 "configure"' > conftest.$ac_ext |
| 15046 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 15047 |
|
(eval $ac_compile) 2>&5 |
| 15048 |
|
ac_status=$? |
| 15049 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15050 |
|
(exit $ac_status); }; then |
| 15051 |
|
case `/usr/bin/file conftest.$ac_objext` in |
| 15052 |
|
*64-bit*) |
| 15053 |
|
libsuff=64 |
| 15054 |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
| 15055 |
|
;; |
| 15056 |
|
esac |
| 15057 |
|
fi |
| 15058 |
|
rm -rf conftest* |
| 15059 |
|
;; |
| 15060 |
|
esac |
| 15061 |
|
|
| 15062 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
| 15063 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
| 15064 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
lt_ld_extra=`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' ' '` |
| 15065 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
| 15066 |
fi |
fi |
| 15067 |
|
|
| 15068 |
# 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 |
| 15123 |
|
|
| 15124 |
openbsd*) |
openbsd*) |
| 15125 |
version_type=sunos |
version_type=sunos |
| 15126 |
|
sys_lib_dlsearch_path_spec="/usr/lib" |
| 15127 |
need_lib_prefix=no |
need_lib_prefix=no |
| 15128 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
| 15129 |
case $host_os in |
case $host_os in |
| 15167 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
| 15168 |
;; |
;; |
| 15169 |
|
|
|
sco3.2v5*) |
|
|
version_type=osf |
|
|
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
shlibpath_var=LD_LIBRARY_PATH |
|
|
;; |
|
|
|
|
| 15170 |
solaris*) |
solaris*) |
| 15171 |
version_type=linux |
version_type=linux |
| 15172 |
need_lib_prefix=no |
need_lib_prefix=no |
| 15192 |
need_version=yes |
need_version=yes |
| 15193 |
;; |
;; |
| 15194 |
|
|
| 15195 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
sysv4 | sysv4.3*) |
| 15196 |
version_type=linux |
version_type=linux |
| 15197 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 15198 |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
| 15225 |
fi |
fi |
| 15226 |
;; |
;; |
| 15227 |
|
|
| 15228 |
|
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 15229 |
|
version_type=freebsd-elf |
| 15230 |
|
need_lib_prefix=no |
| 15231 |
|
need_version=no |
| 15232 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
| 15233 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 15234 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 15235 |
|
hardcode_into_libs=yes |
| 15236 |
|
if test "$with_gnu_ld" = yes; then |
| 15237 |
|
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
| 15238 |
|
shlibpath_overrides_runpath=no |
| 15239 |
|
else |
| 15240 |
|
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
| 15241 |
|
shlibpath_overrides_runpath=yes |
| 15242 |
|
case $host_os in |
| 15243 |
|
sco3.2v5*) |
| 15244 |
|
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
| 15245 |
|
;; |
| 15246 |
|
esac |
| 15247 |
|
fi |
| 15248 |
|
sys_lib_dlsearch_path_spec='/usr/lib' |
| 15249 |
|
;; |
| 15250 |
|
|
| 15251 |
uts4*) |
uts4*) |
| 15252 |
version_type=linux |
version_type=linux |
| 15253 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 15263 |
echo "${ECHO_T}$dynamic_linker" >&6 |
echo "${ECHO_T}$dynamic_linker" >&6 |
| 15264 |
test "$dynamic_linker" = no && can_build_shared=no |
test "$dynamic_linker" = no && can_build_shared=no |
| 15265 |
|
|
| 15266 |
|
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 15267 |
|
if test "$GCC" = yes; then |
| 15268 |
|
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
| 15269 |
|
fi |
| 15270 |
|
|
| 15271 |
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
| 15272 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
| 15273 |
hardcode_action_F77= |
hardcode_action_F77= |
| 15305 |
enable_fast_install=needless |
enable_fast_install=needless |
| 15306 |
fi |
fi |
| 15307 |
|
|
|
striplib= |
|
|
old_striplib= |
|
|
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
|
|
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
|
|
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
|
|
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
|
|
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
|
|
echo "$as_me:$LINENO: result: yes" >&5 |
|
|
echo "${ECHO_T}yes" >&6 |
|
|
else |
|
|
# FIXME - insert some real tests, host_os isn't really good enough |
|
|
case $host_os in |
|
|
darwin*) |
|
|
if test -n "$STRIP" ; then |
|
|
striplib="$STRIP -x" |
|
|
echo "$as_me:$LINENO: result: yes" >&5 |
|
|
echo "${ECHO_T}yes" >&6 |
|
|
else |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
|
|
echo "${ECHO_T}no" >&6 |
|
|
fi |
|
|
;; |
|
|
*) |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
|
|
echo "${ECHO_T}no" >&6 |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
|
|
|
|
|
| 15308 |
|
|
| 15309 |
# The else clause should only fire when bootstrapping the |
# The else clause should only fire when bootstrapping the |
| 15310 |
# libtool distribution, otherwise you forgot to ship ltmain.sh |
# libtool distribution, otherwise you forgot to ship ltmain.sh |
| 15319 |
# Now quote all the things that may contain metacharacters while being |
# Now quote all the things that may contain metacharacters while being |
| 15320 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
| 15321 |
# variables and quote the copies for generation of the libtool script. |
# variables and quote the copies for generation of the libtool script. |
| 15322 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
| 15323 |
SED SHELL STRIP \ |
SED SHELL STRIP \ |
| 15324 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
| 15325 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
| 15437 |
# A C compiler. |
# A C compiler. |
| 15438 |
LTCC=$lt_LTCC |
LTCC=$lt_LTCC |
| 15439 |
|
|
| 15440 |
|
# LTCC compiler flags. |
| 15441 |
|
LTCFLAGS=$lt_LTCFLAGS |
| 15442 |
|
|
| 15443 |
# A language-specific compiler. |
# A language-specific compiler. |
| 15444 |
CC=$lt_compiler_F77 |
CC=$lt_compiler_F77 |
| 15445 |
|
|
| 15750 |
# If no C compiler was specified, use CC. |
# If no C compiler was specified, use CC. |
| 15751 |
LTCC=${LTCC-"$CC"} |
LTCC=${LTCC-"$CC"} |
| 15752 |
|
|
| 15753 |
|
# If no C compiler flags were specified, use CFLAGS. |
| 15754 |
|
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
| 15755 |
|
|
| 15756 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
| 15757 |
compiler=$CC |
compiler=$CC |
| 15758 |
|
|
| 15760 |
# save warnings/boilerplate of simple test code |
# save warnings/boilerplate of simple test code |
| 15761 |
ac_outfile=conftest.$ac_objext |
ac_outfile=conftest.$ac_objext |
| 15762 |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
| 15763 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
| 15764 |
_lt_compiler_boilerplate=`cat conftest.err` |
_lt_compiler_boilerplate=`cat conftest.err` |
| 15765 |
$rm conftest* |
$rm conftest* |
| 15766 |
|
|
| 15767 |
ac_outfile=conftest.$ac_objext |
ac_outfile=conftest.$ac_objext |
| 15768 |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
| 15769 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
| 15770 |
_lt_linker_boilerplate=`cat conftest.err` |
_lt_linker_boilerplate=`cat conftest.err` |
| 15771 |
$rm conftest* |
$rm conftest* |
| 15772 |
|
|
| 15821 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 15822 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 15823 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 15824 |
(eval echo "\"\$as_me:16162: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:15824: $lt_compile\"" >&5) |
| 15825 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 15826 |
ac_status=$? |
ac_status=$? |
| 15827 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 15828 |
echo "$as_me:16166: \$? = $ac_status" >&5 |
echo "$as_me:15828: \$? = $ac_status" >&5 |
| 15829 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 15830 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 15831 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 15832 |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
| 15833 |
$SED '/^$/d' conftest.err >conftest.er2 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 15834 |
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 15835 |
lt_cv_prog_compiler_rtti_exceptions=yes |
lt_cv_prog_compiler_rtti_exceptions=yes |
| 15836 |
fi |
fi |
| 15837 |
fi |
fi |
| 15892 |
lt_prog_compiler_pic_GCJ='-fno-common' |
lt_prog_compiler_pic_GCJ='-fno-common' |
| 15893 |
;; |
;; |
| 15894 |
|
|
| 15895 |
|
interix3*) |
| 15896 |
|
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
| 15897 |
|
# Instead, we relocate shared libraries at runtime. |
| 15898 |
|
;; |
| 15899 |
|
|
| 15900 |
msdosdjgpp*) |
msdosdjgpp*) |
| 15901 |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
| 15902 |
# on systems that don't support them. |
# on systems that don't support them. |
| 16011 |
lt_prog_compiler_static_GCJ='-non_shared' |
lt_prog_compiler_static_GCJ='-non_shared' |
| 16012 |
;; |
;; |
| 16013 |
|
|
|
sco3.2v5*) |
|
|
lt_prog_compiler_pic_GCJ='-Kpic' |
|
|
lt_prog_compiler_static_GCJ='-dn' |
|
|
;; |
|
|
|
|
| 16014 |
solaris*) |
solaris*) |
| 16015 |
lt_prog_compiler_pic_GCJ='-KPIC' |
lt_prog_compiler_pic_GCJ='-KPIC' |
| 16016 |
lt_prog_compiler_static_GCJ='-Bstatic' |
lt_prog_compiler_static_GCJ='-Bstatic' |
| 16028 |
lt_prog_compiler_static_GCJ='-Bstatic' |
lt_prog_compiler_static_GCJ='-Bstatic' |
| 16029 |
;; |
;; |
| 16030 |
|
|
| 16031 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
sysv4 | sysv4.2uw2* | sysv4.3*) |
| 16032 |
lt_prog_compiler_wl_GCJ='-Wl,' |
lt_prog_compiler_wl_GCJ='-Wl,' |
| 16033 |
lt_prog_compiler_pic_GCJ='-KPIC' |
lt_prog_compiler_pic_GCJ='-KPIC' |
| 16034 |
lt_prog_compiler_static_GCJ='-Bstatic' |
lt_prog_compiler_static_GCJ='-Bstatic' |
| 16041 |
fi |
fi |
| 16042 |
;; |
;; |
| 16043 |
|
|
| 16044 |
|
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 16045 |
|
lt_prog_compiler_wl_GCJ='-Wl,' |
| 16046 |
|
lt_prog_compiler_pic_GCJ='-KPIC' |
| 16047 |
|
lt_prog_compiler_static_GCJ='-Bstatic' |
| 16048 |
|
;; |
| 16049 |
|
|
| 16050 |
unicos*) |
unicos*) |
| 16051 |
lt_prog_compiler_wl_GCJ='-Wl,' |
lt_prog_compiler_wl_GCJ='-Wl,' |
| 16052 |
lt_prog_compiler_can_build_shared_GCJ=no |
lt_prog_compiler_can_build_shared_GCJ=no |
| 16089 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 16090 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 16091 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 16092 |
(eval echo "\"\$as_me:16424: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:16092: $lt_compile\"" >&5) |
| 16093 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 16094 |
ac_status=$? |
ac_status=$? |
| 16095 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 16096 |
echo "$as_me:16428: \$? = $ac_status" >&5 |
echo "$as_me:16096: \$? = $ac_status" >&5 |
| 16097 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 16098 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 16099 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 16100 |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
| 16101 |
$SED '/^$/d' conftest.err >conftest.er2 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 16102 |
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 16103 |
lt_prog_compiler_pic_works_GCJ=yes |
lt_prog_compiler_pic_works_GCJ=yes |
| 16104 |
fi |
fi |
| 16105 |
fi |
fi |
| 16130 |
;; |
;; |
| 16131 |
esac |
esac |
| 16132 |
|
|
| 16133 |
|
# |
| 16134 |
|
# Check to make sure the static flag actually works. |
| 16135 |
|
# |
| 16136 |
|
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" |
| 16137 |
|
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 16138 |
|
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 |
| 16139 |
|
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then |
| 16140 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 16141 |
|
else |
| 16142 |
|
lt_prog_compiler_static_works_GCJ=no |
| 16143 |
|
save_LDFLAGS="$LDFLAGS" |
| 16144 |
|
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 16145 |
|
printf "$lt_simple_link_test_code" > conftest.$ac_ext |
| 16146 |
|
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 16147 |
|
# The linker can only warn and ignore the option if not recognized |
| 16148 |
|
# So say no if there are warnings |
| 16149 |
|
if test -s conftest.err; then |
| 16150 |
|
# Append any errors to the config.log. |
| 16151 |
|
cat conftest.err 1>&5 |
| 16152 |
|
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
| 16153 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 16154 |
|
if diff conftest.exp conftest.er2 >/dev/null; then |
| 16155 |
|
lt_prog_compiler_static_works_GCJ=yes |
| 16156 |
|
fi |
| 16157 |
|
else |
| 16158 |
|
lt_prog_compiler_static_works_GCJ=yes |
| 16159 |
|
fi |
| 16160 |
|
fi |
| 16161 |
|
$rm conftest* |
| 16162 |
|
LDFLAGS="$save_LDFLAGS" |
| 16163 |
|
|
| 16164 |
|
fi |
| 16165 |
|
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5 |
| 16166 |
|
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6 |
| 16167 |
|
|
| 16168 |
|
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then |
| 16169 |
|
: |
| 16170 |
|
else |
| 16171 |
|
lt_prog_compiler_static_GCJ= |
| 16172 |
|
fi |
| 16173 |
|
|
| 16174 |
|
|
| 16175 |
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 16176 |
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
| 16177 |
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then |
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then |
| 16193 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 16194 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 16195 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 16196 |
(eval echo "\"\$as_me:16486: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:16196: $lt_compile\"" >&5) |
| 16197 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 16198 |
ac_status=$? |
ac_status=$? |
| 16199 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 16200 |
echo "$as_me:16490: \$? = $ac_status" >&5 |
echo "$as_me:16200: \$? = $ac_status" >&5 |
| 16201 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 16202 |
then |
then |
| 16203 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 16204 |
# So say no if there are warnings |
# So say no if there are warnings |
| 16205 |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
| 16206 |
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
| 16207 |
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 16208 |
lt_cv_prog_compiler_c_o_GCJ=yes |
lt_cv_prog_compiler_c_o_GCJ=yes |
| 16209 |
fi |
fi |
| 16210 |
fi |
fi |
| 16304 |
with_gnu_ld=no |
with_gnu_ld=no |
| 16305 |
fi |
fi |
| 16306 |
;; |
;; |
| 16307 |
|
interix*) |
| 16308 |
|
# we just hope/assume this is gcc and not c89 (= MSVC++) |
| 16309 |
|
with_gnu_ld=yes |
| 16310 |
|
;; |
| 16311 |
openbsd*) |
openbsd*) |
| 16312 |
with_gnu_ld=no |
with_gnu_ld=no |
| 16313 |
;; |
;; |
| 16392 |
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
| 16393 |
|
|
| 16394 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
| 16395 |
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}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 16396 |
# If the export-symbols file already is a .def file (1st line |
# If the export-symbols file already is a .def file (1st line |
| 16397 |
# is EXPORTS), use it as is; otherwise, prepend... |
# is EXPORTS), use it as is; otherwise, prepend... |
| 16398 |
archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
| 16401 |
echo EXPORTS > $output_objdir/$soname.def; |
echo EXPORTS > $output_objdir/$soname.def; |
| 16402 |
cat $export_symbols >> $output_objdir/$soname.def; |
cat $export_symbols >> $output_objdir/$soname.def; |
| 16403 |
fi~ |
fi~ |
| 16404 |
$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}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 16405 |
else |
else |
| 16406 |
ld_shlibs_GCJ=no |
ld_shlibs_GCJ=no |
| 16407 |
fi |
fi |
| 16408 |
;; |
;; |
| 16409 |
|
|
| 16410 |
|
interix3*) |
| 16411 |
|
hardcode_direct_GCJ=no |
| 16412 |
|
hardcode_shlibpath_var_GCJ=no |
| 16413 |
|
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
| 16414 |
|
export_dynamic_flag_spec_GCJ='${wl}-E' |
| 16415 |
|
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
| 16416 |
|
# Instead, shared libraries are loaded at an image base (0x10000000 by |
| 16417 |
|
# default) and relocated if they conflict, which is a slow very memory |
| 16418 |
|
# consuming and fragmenting process. To avoid this, we pick a random, |
| 16419 |
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
| 16420 |
|
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
| 16421 |
|
archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 16422 |
|
archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 16423 |
|
;; |
| 16424 |
|
|
| 16425 |
linux*) |
linux*) |
| 16426 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
| 16427 |
tmp_addflag= |
tmp_addflag= |
| 16463 |
fi |
fi |
| 16464 |
;; |
;; |
| 16465 |
|
|
| 16466 |
solaris* | sysv5*) |
solaris*) |
| 16467 |
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
| 16468 |
ld_shlibs_GCJ=no |
ld_shlibs_GCJ=no |
| 16469 |
cat <<EOF 1>&2 |
cat <<EOF 1>&2 |
| 16484 |
fi |
fi |
| 16485 |
;; |
;; |
| 16486 |
|
|
| 16487 |
|
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
| 16488 |
|
case `$LD -v 2>&1` in |
| 16489 |
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
| 16490 |
|
ld_shlibs_GCJ=no |
| 16491 |
|
cat <<_LT_EOF 1>&2 |
| 16492 |
|
|
| 16493 |
|
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
| 16494 |
|
*** reliably create shared libraries on SCO systems. Therefore, libtool |
| 16495 |
|
*** is disabling shared libraries support. We urge you to upgrade GNU |
| 16496 |
|
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
| 16497 |
|
*** your PATH or compiler configuration so that the native linker is |
| 16498 |
|
*** used, and then restart. |
| 16499 |
|
|
| 16500 |
|
_LT_EOF |
| 16501 |
|
;; |
| 16502 |
|
*) |
| 16503 |
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
| 16504 |
|
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' |
| 16505 |
|
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' |
| 16506 |
|
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' |
| 16507 |
|
else |
| 16508 |
|
ld_shlibs_GCJ=no |
| 16509 |
|
fi |
| 16510 |
|
;; |
| 16511 |
|
esac |
| 16512 |
|
;; |
| 16513 |
|
|
| 16514 |
sunos4*) |
sunos4*) |
| 16515 |
archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 16516 |
wlarc= |
wlarc= |
| 16544 |
# Note: this linker hardcodes the directories in LIBPATH if there |
# Note: this linker hardcodes the directories in LIBPATH if there |
| 16545 |
# are no directories specified by -L. |
# are no directories specified by -L. |
| 16546 |
hardcode_minus_L_GCJ=yes |
hardcode_minus_L_GCJ=yes |
| 16547 |
if test "$GCC" = yes && test -z "$link_static_flag"; then |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
| 16548 |
# Neither direct hardcoding nor static linking is supported with a |
# Neither direct hardcoding nor static linking is supported with a |
| 16549 |
# broken collect2. |
# broken collect2. |
| 16550 |
hardcode_direct_GCJ=unsupported |
hardcode_direct_GCJ=unsupported |
| 16578 |
break |
break |
| 16579 |
fi |
fi |
| 16580 |
done |
done |
| 16581 |
|
;; |
| 16582 |
esac |
esac |
| 16583 |
|
|
| 16584 |
exp_sym_flag='-bexport' |
exp_sym_flag='-bexport' |
| 16616 |
hardcode_libdir_flag_spec_GCJ='-L$libdir' |
hardcode_libdir_flag_spec_GCJ='-L$libdir' |
| 16617 |
hardcode_libdir_separator_GCJ= |
hardcode_libdir_separator_GCJ= |
| 16618 |
fi |
fi |
| 16619 |
|
;; |
| 16620 |
esac |
esac |
| 16621 |
shared_flag='-shared' |
shared_flag='-shared' |
| 16622 |
if test "$aix_use_runtimelinking" = yes; then |
if test "$aix_use_runtimelinking" = yes; then |
| 16629 |
# chokes on -Wl,-G. The following line is correct: |
# chokes on -Wl,-G. The following line is correct: |
| 16630 |
shared_flag='-G' |
shared_flag='-G' |
| 16631 |
else |
else |
| 16632 |
if test "$aix_use_runtimelinking" = yes; then |
if test "$aix_use_runtimelinking" = yes; then |
| 16633 |
shared_flag='${wl}-G' |
shared_flag='${wl}-G' |
| 16634 |
else |
else |
| 16635 |
shared_flag='${wl}-bM:SRE' |
shared_flag='${wl}-bM:SRE' |
| 16636 |
fi |
fi |
| 16637 |
fi |
fi |
| 16638 |
fi |
fi |
| 16639 |
|
|
| 16698 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 16699 |
|
|
| 16700 |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 16701 |
archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
| 16702 |
else |
else |
| 16703 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
| 16704 |
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' |
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' |
| 16705 |
allow_undefined_flag_GCJ="-z nodefs" |
allow_undefined_flag_GCJ="-z nodefs" |
| 16706 |
archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" |
archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" |
| 16707 |
else |
else |
| 16708 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
| 16709 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| 16763 |
# -berok will link without error, but may produce a broken library. |
# -berok will link without error, but may produce a broken library. |
| 16764 |
no_undefined_flag_GCJ=' ${wl}-bernotok' |
no_undefined_flag_GCJ=' ${wl}-bernotok' |
| 16765 |
allow_undefined_flag_GCJ=' ${wl}-berok' |
allow_undefined_flag_GCJ=' ${wl}-berok' |
|
# -bexpall does not export symbols beginning with underscore (_) |
|
|
always_export_symbols_GCJ=yes |
|
| 16766 |
# Exported symbols can be pulled into shared objects from archives |
# Exported symbols can be pulled into shared objects from archives |
| 16767 |
whole_archive_flag_spec_GCJ=' ' |
whole_archive_flag_spec_GCJ='$convenience' |
| 16768 |
archive_cmds_need_lc_GCJ=yes |
archive_cmds_need_lc_GCJ=yes |
| 16769 |
# This is similar to how AIX traditionally builds its shared libraries. |
# This is similar to how AIX traditionally builds its shared libraries. |
| 16770 |
archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
| 16771 |
fi |
fi |
| 16772 |
fi |
fi |
| 16773 |
;; |
;; |
| 16908 |
export_dynamic_flag_spec_GCJ='${wl}-E' |
export_dynamic_flag_spec_GCJ='${wl}-E' |
| 16909 |
;; |
;; |
| 16910 |
|
|
| 16911 |
hpux10* | hpux11*) |
hpux10*) |
| 16912 |
|
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
| 16913 |
|
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 16914 |
|
else |
| 16915 |
|
archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 16916 |
|
fi |
| 16917 |
|
if test "$with_gnu_ld" = no; then |
| 16918 |
|
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' |
| 16919 |
|
hardcode_libdir_separator_GCJ=: |
| 16920 |
|
|
| 16921 |
|
hardcode_direct_GCJ=yes |
| 16922 |
|
export_dynamic_flag_spec_GCJ='${wl}-E' |
| 16923 |
|
|
| 16924 |
|
# hardcode_minus_L: Not really in the search PATH, |
| 16925 |
|
# but as the default location of the library. |
| 16926 |
|
hardcode_minus_L_GCJ=yes |
| 16927 |
|
fi |
| 16928 |
|
;; |
| 16929 |
|
|
| 16930 |
|
hpux11*) |
| 16931 |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
| 16932 |
case $host_cpu in |
case $host_cpu in |
| 16933 |
hppa*64*|ia64*) |
hppa*64*) |
| 16934 |
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' |
| 16935 |
;; |
;; |
| 16936 |
|
ia64*) |
| 16937 |
|
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 16938 |
|
;; |
| 16939 |
*) |
*) |
| 16940 |
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 16941 |
;; |
;; |
| 16942 |
esac |
esac |
| 16943 |
else |
else |
| 16944 |
case $host_cpu in |
case $host_cpu in |
| 16945 |
hppa*64*|ia64*) |
hppa*64*) |
| 16946 |
archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 16947 |
|
;; |
| 16948 |
|
ia64*) |
| 16949 |
|
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 16950 |
;; |
;; |
| 16951 |
*) |
*) |
| 16952 |
archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 16953 |
;; |
;; |
| 16954 |
esac |
esac |
| 16955 |
fi |
fi |
| 16956 |
if test "$with_gnu_ld" = no; then |
if test "$with_gnu_ld" = no; then |
| 16957 |
|
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' |
| 16958 |
|
hardcode_libdir_separator_GCJ=: |
| 16959 |
|
|
| 16960 |
case $host_cpu in |
case $host_cpu in |
| 16961 |
hppa*64*) |
hppa*64*|ia64*) |
|
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' |
|
| 16962 |
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' |
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' |
|
hardcode_libdir_separator_GCJ=: |
|
|
hardcode_direct_GCJ=no |
|
|
hardcode_shlibpath_var_GCJ=no |
|
|
;; |
|
|
ia64*) |
|
|
hardcode_libdir_flag_spec_GCJ='-L$libdir' |
|
| 16963 |
hardcode_direct_GCJ=no |
hardcode_direct_GCJ=no |
| 16964 |
hardcode_shlibpath_var_GCJ=no |
hardcode_shlibpath_var_GCJ=no |
|
|
|
|
# hardcode_minus_L: Not really in the search PATH, |
|
|
# but as the default location of the library. |
|
|
hardcode_minus_L_GCJ=yes |
|
| 16965 |
;; |
;; |
| 16966 |
*) |
*) |
|
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' |
|
|
hardcode_libdir_separator_GCJ=: |
|
| 16967 |
hardcode_direct_GCJ=yes |
hardcode_direct_GCJ=yes |
| 16968 |
export_dynamic_flag_spec_GCJ='${wl}-E' |
export_dynamic_flag_spec_GCJ='${wl}-E' |
| 16969 |
|
|
| 17065 |
hardcode_libdir_separator_GCJ=: |
hardcode_libdir_separator_GCJ=: |
| 17066 |
;; |
;; |
| 17067 |
|
|
|
sco3.2v5*) |
|
|
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
hardcode_shlibpath_var_GCJ=no |
|
|
export_dynamic_flag_spec_GCJ='${wl}-Bexport' |
|
|
runpath_var=LD_RUN_PATH |
|
|
hardcode_runpath_var=yes |
|
|
;; |
|
|
|
|
| 17068 |
solaris*) |
solaris*) |
| 17069 |
no_undefined_flag_GCJ=' -z text' |
no_undefined_flag_GCJ=' -z text' |
| 17070 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
| 17150 |
fi |
fi |
| 17151 |
;; |
;; |
| 17152 |
|
|
| 17153 |
sysv4.2uw2*) |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) |
| 17154 |
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
no_undefined_flag_GCJ='${wl}-z,text' |
| 17155 |
hardcode_direct_GCJ=yes |
archive_cmds_need_lc_GCJ=no |
|
hardcode_minus_L_GCJ=no |
|
| 17156 |
hardcode_shlibpath_var_GCJ=no |
hardcode_shlibpath_var_GCJ=no |
| 17157 |
hardcode_runpath_var=yes |
runpath_var='LD_RUN_PATH' |
|
runpath_var=LD_RUN_PATH |
|
|
;; |
|
| 17158 |
|
|
|
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) |
|
|
no_undefined_flag_GCJ='${wl}-z ${wl}text' |
|
| 17159 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
| 17160 |
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17161 |
|
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17162 |
else |
else |
| 17163 |
archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17164 |
|
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17165 |
fi |
fi |
|
runpath_var='LD_RUN_PATH' |
|
|
hardcode_shlibpath_var_GCJ=no |
|
| 17166 |
;; |
;; |
| 17167 |
|
|
| 17168 |
sysv5*) |
sysv5* | sco3.2v5* | sco5v6*) |
| 17169 |
no_undefined_flag_GCJ=' -z text' |
# Note: We can NOT use -z defs as we might desire, because we do not |
| 17170 |
# $CC -shared without GNU ld will not create a library from C++ |
# link with -lc, and that would cause any symbols used from libc to |
| 17171 |
# object files and a static libstdc++, better avoid it by now |
# always be unresolved, which means just about no library would |
| 17172 |
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
# ever link correctly. If we're not using GNU ld we use -z text |
| 17173 |
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
# though, which does catch some bad symbols but isn't as heavy-handed |
| 17174 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
# as -z defs. |
| 17175 |
hardcode_libdir_flag_spec_GCJ= |
no_undefined_flag_GCJ='${wl}-z,text' |
| 17176 |
|
allow_undefined_flag_GCJ='${wl}-z,nodefs' |
| 17177 |
|
archive_cmds_need_lc_GCJ=no |
| 17178 |
hardcode_shlibpath_var_GCJ=no |
hardcode_shlibpath_var_GCJ=no |
| 17179 |
|
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
| 17180 |
|
hardcode_libdir_separator_GCJ=':' |
| 17181 |
|
link_all_deplibs_GCJ=yes |
| 17182 |
|
export_dynamic_flag_spec_GCJ='${wl}-Bexport' |
| 17183 |
runpath_var='LD_RUN_PATH' |
runpath_var='LD_RUN_PATH' |
| 17184 |
|
|
| 17185 |
|
if test "$GCC" = yes; then |
| 17186 |
|
archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17187 |
|
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17188 |
|
else |
| 17189 |
|
archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17190 |
|
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17191 |
|
fi |
| 17192 |
;; |
;; |
| 17193 |
|
|
| 17194 |
uts4*) |
uts4*) |
| 17207 |
echo "${ECHO_T}$ld_shlibs_GCJ" >&6 |
echo "${ECHO_T}$ld_shlibs_GCJ" >&6 |
| 17208 |
test "$ld_shlibs_GCJ" = no && can_build_shared=no |
test "$ld_shlibs_GCJ" = no && can_build_shared=no |
| 17209 |
|
|
|
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
|
if test "$GCC" = yes; then |
|
|
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
|
fi |
|
|
|
|
| 17210 |
# |
# |
| 17211 |
# Do we need to explicitly link libc? |
# Do we need to explicitly link libc? |
| 17212 |
# |
# |
| 17239 |
libobjs=conftest.$ac_objext |
libobjs=conftest.$ac_objext |
| 17240 |
deplibs= |
deplibs= |
| 17241 |
wl=$lt_prog_compiler_wl_GCJ |
wl=$lt_prog_compiler_wl_GCJ |
| 17242 |
|
pic_flag=$lt_prog_compiler_pic_GCJ |
| 17243 |
compiler_flags=-v |
compiler_flags=-v |
| 17244 |
linker_flags=-v |
linker_flags=-v |
| 17245 |
verstring= |
verstring= |
| 17521 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
| 17522 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 17523 |
;; |
;; |
| 17524 |
*) # from 3.2 on |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
| 17525 |
|
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
| 17526 |
shlibpath_overrides_runpath=no |
shlibpath_overrides_runpath=no |
| 17527 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 17528 |
;; |
;; |
| 17529 |
|
freebsd*) # from 4.6 on |
| 17530 |
|
shlibpath_overrides_runpath=yes |
| 17531 |
|
hardcode_into_libs=yes |
| 17532 |
|
;; |
| 17533 |
esac |
esac |
| 17534 |
;; |
;; |
| 17535 |
|
|
| 17589 |
postinstall_cmds='chmod 555 $lib' |
postinstall_cmds='chmod 555 $lib' |
| 17590 |
;; |
;; |
| 17591 |
|
|
| 17592 |
|
interix3*) |
| 17593 |
|
version_type=linux |
| 17594 |
|
need_lib_prefix=no |
| 17595 |
|
need_version=no |
| 17596 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 17597 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 17598 |
|
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
| 17599 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 17600 |
|
shlibpath_overrides_runpath=no |
| 17601 |
|
hardcode_into_libs=yes |
| 17602 |
|
;; |
| 17603 |
|
|
| 17604 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
| 17605 |
case $host_os in |
case $host_os in |
| 17606 |
nonstopux*) version_type=nonstopux ;; |
nonstopux*) version_type=nonstopux ;; |
| 17658 |
# before this can be enabled. |
# before this can be enabled. |
| 17659 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 17660 |
|
|
| 17661 |
|
# find out which ABI we are using |
| 17662 |
|
libsuff= |
| 17663 |
|
case "$host_cpu" in |
| 17664 |
|
x86_64*|s390x*|powerpc64*) |
| 17665 |
|
echo '#line 17665 "configure"' > conftest.$ac_ext |
| 17666 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 17667 |
|
(eval $ac_compile) 2>&5 |
| 17668 |
|
ac_status=$? |
| 17669 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17670 |
|
(exit $ac_status); }; then |
| 17671 |
|
case `/usr/bin/file conftest.$ac_objext` in |
| 17672 |
|
*64-bit*) |
| 17673 |
|
libsuff=64 |
| 17674 |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
| 17675 |
|
;; |
| 17676 |
|
esac |
| 17677 |
|
fi |
| 17678 |
|
rm -rf conftest* |
| 17679 |
|
;; |
| 17680 |
|
esac |
| 17681 |
|
|
| 17682 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
| 17683 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
| 17684 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
lt_ld_extra=`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' ' '` |
| 17685 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
| 17686 |
fi |
fi |
| 17687 |
|
|
| 17688 |
# 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 |
| 17743 |
|
|
| 17744 |
openbsd*) |
openbsd*) |
| 17745 |
version_type=sunos |
version_type=sunos |
| 17746 |
|
sys_lib_dlsearch_path_spec="/usr/lib" |
| 17747 |
need_lib_prefix=no |
need_lib_prefix=no |
| 17748 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
| 17749 |
case $host_os in |
case $host_os in |
| 17787 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
| 17788 |
;; |
;; |
| 17789 |
|
|
|
sco3.2v5*) |
|
|
version_type=osf |
|
|
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
shlibpath_var=LD_LIBRARY_PATH |
|
|
;; |
|
|
|
|
| 17790 |
solaris*) |
solaris*) |
| 17791 |
version_type=linux |
version_type=linux |
| 17792 |
need_lib_prefix=no |
need_lib_prefix=no |
| 17812 |
need_version=yes |
need_version=yes |
| 17813 |
;; |
;; |
| 17814 |
|
|
| 17815 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
sysv4 | sysv4.3*) |
| 17816 |
version_type=linux |
version_type=linux |
| 17817 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 17818 |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
| 17845 |
fi |
fi |
| 17846 |
;; |
;; |
| 17847 |
|
|
| 17848 |
|
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 17849 |
|
version_type=freebsd-elf |
| 17850 |
|
need_lib_prefix=no |
| 17851 |
|
need_version=no |
| 17852 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
| 17853 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 17854 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 17855 |
|
hardcode_into_libs=yes |
| 17856 |
|
if test "$with_gnu_ld" = yes; then |
| 17857 |
|
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
| 17858 |
|
shlibpath_overrides_runpath=no |
| 17859 |
|
else |
| 17860 |
|
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
| 17861 |
|
shlibpath_overrides_runpath=yes |
| 17862 |
|
case $host_os in |
| 17863 |
|
sco3.2v5*) |
| 17864 |
|
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
| 17865 |
|
;; |
| 17866 |
|
esac |
| 17867 |
|
fi |
| 17868 |
|
sys_lib_dlsearch_path_spec='/usr/lib' |
| 17869 |
|
;; |
| 17870 |
|
|
| 17871 |
uts4*) |
uts4*) |
| 17872 |
version_type=linux |
version_type=linux |
| 17873 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 17883 |
echo "${ECHO_T}$dynamic_linker" >&6 |
echo "${ECHO_T}$dynamic_linker" >&6 |
| 17884 |
test "$dynamic_linker" = no && can_build_shared=no |
test "$dynamic_linker" = no && can_build_shared=no |
| 17885 |
|
|
| 17886 |
|
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 17887 |
|
if test "$GCC" = yes; then |
| 17888 |
|
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
| 17889 |
|
fi |
| 17890 |
|
|
| 17891 |
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
| 17892 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
| 17893 |
hardcode_action_GCJ= |
hardcode_action_GCJ= |
| 17925 |
enable_fast_install=needless |
enable_fast_install=needless |
| 17926 |
fi |
fi |
| 17927 |
|
|
|
striplib= |
|
|
old_striplib= |
|
|
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
|
|
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
|
|
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
|
|
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
|
|
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
|
|
echo "$as_me:$LINENO: result: yes" >&5 |
|
|
echo "${ECHO_T}yes" >&6 |
|
|
else |
|
|
# FIXME - insert some real tests, host_os isn't really good enough |
|
|
case $host_os in |
|
|
darwin*) |
|
|
if test -n "$STRIP" ; then |
|
|
striplib="$STRIP -x" |
|
|
echo "$as_me:$LINENO: result: yes" >&5 |
|
|
echo "${ECHO_T}yes" >&6 |
|
|
else |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
|
|
echo "${ECHO_T}no" >&6 |
|
|
fi |
|
|
;; |
|
|
*) |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
|
|
echo "${ECHO_T}no" >&6 |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
|
|
|
if test "x$enable_dlopen" != xyes; then |
|
|
enable_dlopen=unknown |
|
|
enable_dlopen_self=unknown |
|
|
enable_dlopen_self_static=unknown |
|
|
else |
|
|
lt_cv_dlopen=no |
|
|
lt_cv_dlopen_libs= |
|
|
|
|
|
case $host_os in |
|
|
beos*) |
|
|
lt_cv_dlopen="load_add_on" |
|
|
lt_cv_dlopen_libs= |
|
|
lt_cv_dlopen_self=yes |
|
|
;; |
|
|
|
|
|
mingw* | pw32*) |
|
|
lt_cv_dlopen="LoadLibrary" |
|
|
lt_cv_dlopen_libs= |
|
|
;; |
|
|
|
|
|
cygwin*) |
|
|
lt_cv_dlopen="dlopen" |
|
|
lt_cv_dlopen_libs= |
|
|
;; |
|
|
|
|
|
darwin*) |
|
|
# if libdl is installed we need to link against it |
|
|
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
|
|
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
|
|
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
ac_check_lib_save_LIBS=$LIBS |
|
|
LIBS="-ldl $LIBS" |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
#ifdef __cplusplus |
|
|
extern "C" |
|
|
#endif |
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
builtin and then its argument prototype would still apply. */ |
|
|
char dlopen (); |
|
|
int |
|
|
main () |
|
|
{ |
|
|
dlopen (); |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
(eval $ac_link) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.er
| |