| 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 MYSQL_CHARSET USE_MYSQL_CHARSET 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 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) |
|
--with-mysql-charset Set MySQL charset (for version 4.1 or higher) |
|
| 1072 |
|
|
| 1073 |
Some influential environment variables: |
Some influential environment variables: |
| 1074 |
CXX C++ compiler command |
CXX C++ compiler command |
| 4357 |
case $host_os in |
case $host_os in |
| 4358 |
darwin*) |
darwin*) |
| 4359 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
| 4360 |
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs' |
| 4361 |
else |
else |
| 4362 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 4363 |
fi |
fi |
| 4373 |
# Let the user override the test. |
# Let the user override the test. |
| 4374 |
lt_cv_path_NM="$NM" |
lt_cv_path_NM="$NM" |
| 4375 |
else |
else |
| 4376 |
lt_nm_to_check="${ac_tool_prefix}nm" |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 4377 |
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do |
| 4378 |
lt_nm_to_check="$lt_nm_to_check nm" |
IFS="$lt_save_ifs" |
| 4379 |
fi |
test -z "$ac_dir" && ac_dir=. |
| 4380 |
for lt_tmp_nm in $lt_nm_to_check; do |
tmp_nm="$ac_dir/${ac_tool_prefix}nm" |
| 4381 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
| 4382 |
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
# Check to see if the nm accepts a BSD-compat flag. |
| 4383 |
IFS="$lt_save_ifs" |
# Adding the `sed 1q' prevents false positives on HP-UX, which says: |
| 4384 |
test -z "$ac_dir" && ac_dir=. |
# nm: unknown option "B" ignored |
| 4385 |
tmp_nm="$ac_dir/$lt_tmp_nm" |
# Tru64's nm complains that /dev/null is an invalid object file |
| 4386 |
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
| 4387 |
# Check to see if the nm accepts a BSD-compat flag. |
*/dev/null* | *'Invalid file or object type'*) |
| 4388 |
# Adding the `sed 1q' prevents false positives on HP-UX, which says: |
lt_cv_path_NM="$tmp_nm -B" |
| 4389 |
# nm: unknown option "B" ignored |
break |
| 4390 |
# Tru64's nm complains that /dev/null is an invalid object file |
;; |
| 4391 |
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
*) |
| 4392 |
*/dev/null* | *'Invalid file or object type'*) |
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
| 4393 |
lt_cv_path_NM="$tmp_nm -B" |
*/dev/null*) |
| 4394 |
|
lt_cv_path_NM="$tmp_nm -p" |
| 4395 |
break |
break |
| 4396 |
;; |
;; |
| 4397 |
*) |
*) |
| 4398 |
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
| 4399 |
*/dev/null*) |
continue # so that we can try to find one that supports BSD flags |
|
lt_cv_path_NM="$tmp_nm -p" |
|
|
break |
|
|
;; |
|
|
*) |
|
|
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
|
|
continue # so that we can try to find one that supports BSD flags |
|
|
;; |
|
|
esac |
|
| 4400 |
;; |
;; |
| 4401 |
esac |
esac |
| 4402 |
fi |
esac |
| 4403 |
done |
fi |
|
IFS="$lt_save_ifs" |
|
| 4404 |
done |
done |
| 4405 |
|
IFS="$lt_save_ifs" |
| 4406 |
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm |
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm |
| 4407 |
fi |
fi |
| 4408 |
fi |
fi |
| 4499 |
esac |
esac |
| 4500 |
;; |
;; |
| 4501 |
|
|
|
interix3*) |
|
|
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
|
|
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
|
|
;; |
|
|
|
|
| 4502 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
| 4503 |
case $LD in |
case $LD in |
| 4504 |
*-32|*"-32 ") libmagic=32-bit;; |
*-32|*"-32 ") libmagic=32-bit;; |
| 4544 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
| 4545 |
;; |
;; |
| 4546 |
|
|
| 4547 |
|
sco3.2v5*) |
| 4548 |
|
lt_cv_deplibs_check_method=pass_all |
| 4549 |
|
;; |
| 4550 |
|
|
| 4551 |
solaris*) |
solaris*) |
| 4552 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
| 4553 |
;; |
;; |
| 4554 |
|
|
| 4555 |
sysv4 | sysv4.3*) |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
| 4556 |
case $host_vendor in |
case $host_vendor in |
| 4557 |
motorola) |
motorola) |
| 4558 |
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]' |
| 4573 |
siemens) |
siemens) |
| 4574 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
| 4575 |
;; |
;; |
|
pc) |
|
|
lt_cv_deplibs_check_method=pass_all |
|
|
;; |
|
| 4576 |
esac |
esac |
| 4577 |
;; |
;; |
| 4578 |
|
|
| 4579 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) |
| 4580 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
| 4581 |
;; |
;; |
| 4582 |
esac |
esac |
| 4594 |
# If no C compiler was specified, use CC. |
# If no C compiler was specified, use CC. |
| 4595 |
LTCC=${LTCC-"$CC"} |
LTCC=${LTCC-"$CC"} |
| 4596 |
|
|
|
# If no C compiler flags were specified, use CFLAGS. |
|
|
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
|
|
|
| 4597 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
| 4598 |
compiler=$CC |
compiler=$CC |
| 4599 |
|
|
| 4629 |
;; |
;; |
| 4630 |
*-*-irix6*) |
*-*-irix6*) |
| 4631 |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
| 4632 |
echo '#line 4647 "configure"' > conftest.$ac_ext |
echo '#line 4632 "configure"' > conftest.$ac_ext |
| 4633 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4634 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
| 4635 |
ac_status=$? |
ac_status=$? |
| 4785 |
CFLAGS="$SAVE_CFLAGS" |
CFLAGS="$SAVE_CFLAGS" |
| 4786 |
fi |
fi |
| 4787 |
;; |
;; |
|
sparc*-*solaris*) |
|
|
# Find out which ABI we are using. |
|
|
echo 'int i;' > conftest.$ac_ext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; then |
|
|
case `/usr/bin/file conftest.o` in |
|
|
*64-bit*) |
|
|
case $lt_cv_prog_gnu_ld in |
|
|
yes*) LD="${LD-ld} -m elf64_sparc" ;; |
|
|
*) LD="${LD-ld} -64" ;; |
|
|
esac |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
rm -rf conftest* |
|
|
;; |
|
|
|
|
| 4788 |
|
|
| 4789 |
esac |
esac |
| 4790 |
|
|
| 5510 |
|
|
| 5511 |
|
|
| 5512 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
| 5513 |
echo "$as_me:5548:" \ |
echo "$as_me:5513:" \ |
| 5514 |
"checking for Fortran 77 compiler version" >&5 |
"checking for Fortran 77 compiler version" >&5 |
| 5515 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
| 5516 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 5713 |
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` |
| 5714 |
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` |
| 5715 |
;; |
;; |
|
|
|
|
interix*) |
|
|
# We know the value 262144 and hardcode it with a safety zone (like BSD) |
|
|
lt_cv_sys_max_cmd_len=196608 |
|
|
;; |
|
|
|
|
| 5716 |
osf*) |
osf*) |
| 5717 |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
| 5718 |
# 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 |
| 5726 |
esac |
esac |
| 5727 |
fi |
fi |
| 5728 |
;; |
;; |
|
sco3.2v5*) |
|
|
lt_cv_sys_max_cmd_len=102400 |
|
|
;; |
|
|
sysv5* | sco5v6* | sysv4.2uw2*) |
|
|
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
|
|
if test -n "$kargmax"; then |
|
|
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` |
|
|
else |
|
|
lt_cv_sys_max_cmd_len=32768 |
|
|
fi |
|
|
;; |
|
| 5729 |
*) |
*) |
| 5730 |
# 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 |
| 5731 |
# maximum length that is only half of the actual maximum length, but |
# maximum length that is only half of the actual maximum length, but |
| 5811 |
osf*) |
osf*) |
| 5812 |
symcode='[BCDEGQRST]' |
symcode='[BCDEGQRST]' |
| 5813 |
;; |
;; |
| 5814 |
solaris*) |
solaris* | sysv5*) |
| 5815 |
symcode='[BDRT]' |
symcode='[BDRT]' |
| 5816 |
;; |
;; |
|
sco3.2v5*) |
|
|
symcode='[DT]' |
|
|
;; |
|
|
sysv4.2uw2*) |
|
|
symcode='[DT]' |
|
|
;; |
|
|
sysv5* | sco5v6* | unixware* | OpenUNIX*) |
|
|
symcode='[ABDT]' |
|
|
;; |
|
| 5817 |
sysv4) |
sysv4) |
| 5818 |
symcode='[DFNSTU]' |
symcode='[DFNSTU]' |
| 5819 |
;; |
;; |
| 6279 |
test -z "$AS" && AS=as |
test -z "$AS" && AS=as |
| 6280 |
test -z "$CC" && CC=cc |
test -z "$CC" && CC=cc |
| 6281 |
test -z "$LTCC" && LTCC=$CC |
test -z "$LTCC" && LTCC=$CC |
|
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
|
| 6282 |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
| 6283 |
test -z "$LD" && LD=ld |
test -z "$LD" && LD=ld |
| 6284 |
test -z "$LN_S" && LN_S="ln -s" |
test -z "$LN_S" && LN_S="ln -s" |
| 6298 |
if test -n "$RANLIB"; then |
if test -n "$RANLIB"; then |
| 6299 |
case $host_os in |
case $host_os in |
| 6300 |
openbsd*) |
openbsd*) |
| 6301 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" |
| 6302 |
;; |
;; |
| 6303 |
*) |
*) |
| 6304 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" |
| 6305 |
;; |
;; |
| 6306 |
esac |
esac |
| 6307 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
| 6500 |
# If no C compiler was specified, use CC. |
# If no C compiler was specified, use CC. |
| 6501 |
LTCC=${LTCC-"$CC"} |
LTCC=${LTCC-"$CC"} |
| 6502 |
|
|
|
# If no C compiler flags were specified, use CFLAGS. |
|
|
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
|
|
|
| 6503 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
| 6504 |
compiler=$CC |
compiler=$CC |
| 6505 |
|
|
| 6507 |
# save warnings/boilerplate of simple test code |
# save warnings/boilerplate of simple test code |
| 6508 |
ac_outfile=conftest.$ac_objext |
ac_outfile=conftest.$ac_objext |
| 6509 |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
| 6510 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
| 6511 |
_lt_compiler_boilerplate=`cat conftest.err` |
_lt_compiler_boilerplate=`cat conftest.err` |
| 6512 |
$rm conftest* |
$rm conftest* |
| 6513 |
|
|
| 6514 |
ac_outfile=conftest.$ac_objext |
ac_outfile=conftest.$ac_objext |
| 6515 |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
| 6516 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
| 6517 |
_lt_linker_boilerplate=`cat conftest.err` |
_lt_linker_boilerplate=`cat conftest.err` |
| 6518 |
$rm conftest* |
$rm conftest* |
| 6519 |
|
|
| 6520 |
|
|
| 6521 |
|
# |
| 6522 |
|
# Check for any special shared library compilation flags. |
| 6523 |
|
# |
| 6524 |
|
lt_prog_cc_shlib= |
| 6525 |
|
if test "$GCC" = no; then |
| 6526 |
|
case $host_os in |
| 6527 |
|
sco3.2v5*) |
| 6528 |
|
lt_prog_cc_shlib='-belf' |
| 6529 |
|
;; |
| 6530 |
|
esac |
| 6531 |
|
fi |
| 6532 |
|
if test -n "$lt_prog_cc_shlib"; then |
| 6533 |
|
{ echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 |
| 6534 |
|
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} |
| 6535 |
|
if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then : |
| 6536 |
|
else |
| 6537 |
|
{ echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 |
| 6538 |
|
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} |
| 6539 |
|
lt_cv_prog_cc_can_build_shared=no |
| 6540 |
|
fi |
| 6541 |
|
fi |
| 6542 |
|
|
| 6543 |
|
|
| 6544 |
|
# |
| 6545 |
|
# Check to make sure the static flag actually works. |
| 6546 |
|
# |
| 6547 |
|
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 |
| 6548 |
|
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6 |
| 6549 |
|
if test "${lt_prog_compiler_static_works+set}" = set; then |
| 6550 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6551 |
|
else |
| 6552 |
|
lt_prog_compiler_static_works=no |
| 6553 |
|
save_LDFLAGS="$LDFLAGS" |
| 6554 |
|
LDFLAGS="$LDFLAGS $lt_prog_compiler_static" |
| 6555 |
|
printf "$lt_simple_link_test_code" > conftest.$ac_ext |
| 6556 |
|
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 6557 |
|
# The linker can only warn and ignore the option if not recognized |
| 6558 |
|
# So say no if there are warnings |
| 6559 |
|
if test -s conftest.err; then |
| 6560 |
|
# Append any errors to the config.log. |
| 6561 |
|
cat conftest.err 1>&5 |
| 6562 |
|
$echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp |
| 6563 |
|
$SED '/^$/d' conftest.err >conftest.er2 |
| 6564 |
|
if diff conftest.exp conftest.er2 >/dev/null; then |
| 6565 |
|
lt_prog_compiler_static_works=yes |
| 6566 |
|
fi |
| 6567 |
|
else |
| 6568 |
|
lt_prog_compiler_static_works=yes |
| 6569 |
|
fi |
| 6570 |
|
fi |
| 6571 |
|
$rm conftest* |
| 6572 |
|
LDFLAGS="$save_LDFLAGS" |
| 6573 |
|
|
| 6574 |
|
fi |
| 6575 |
|
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 |
| 6576 |
|
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 |
| 6577 |
|
|
| 6578 |
|
if test x"$lt_prog_compiler_static_works" = xyes; then |
| 6579 |
|
: |
| 6580 |
|
else |
| 6581 |
|
lt_prog_compiler_static= |
| 6582 |
|
fi |
| 6583 |
|
|
| 6584 |
|
|
| 6585 |
|
|
| 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 -e '/^$/d' >conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
| 6624 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
$SED '/^$/d' conftest.err >conftest.er2 |
| 6625 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
if test ! -s conftest.err || 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 |
|
|
|
interix3*) |
|
|
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
|
# Instead, we relocate shared libraries at runtime. |
|
|
;; |
|
|
|
|
| 6686 |
msdosdjgpp*) |
msdosdjgpp*) |
| 6687 |
# 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 |
| 6688 |
# on systems that don't support them. |
# on systems that don't support them. |
| 6797 |
lt_prog_compiler_static='-non_shared' |
lt_prog_compiler_static='-non_shared' |
| 6798 |
;; |
;; |
| 6799 |
|
|
| 6800 |
|
sco3.2v5*) |
| 6801 |
|
lt_prog_compiler_pic='-Kpic' |
| 6802 |
|
lt_prog_compiler_static='-dn' |
| 6803 |
|
;; |
| 6804 |
|
|
| 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*) |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
| 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 |
|
|
|
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
|
|
lt_prog_compiler_wl='-Wl,' |
|
|
lt_prog_compiler_pic='-KPIC' |
|
|
lt_prog_compiler_static='-Bstatic' |
|
|
;; |
|
|
|
|
| 6835 |
unicos*) |
unicos*) |
| 6836 |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
| 6837 |
lt_prog_compiler_can_build_shared=no |
lt_prog_compiler_can_build_shared=no |
| 6874 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 6875 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 6876 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 6877 |
(eval echo "\"\$as_me:6883: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6877: $lt_compile\"" >&5) |
| 6878 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 6879 |
ac_status=$? |
ac_status=$? |
| 6880 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 6881 |
echo "$as_me:6887: \$? = $ac_status" >&5 |
echo "$as_me:6881: \$? = $ac_status" >&5 |
| 6882 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 6883 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 6884 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 6885 |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
| 6886 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
$SED '/^$/d' conftest.err >conftest.er2 |
| 6887 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
| 6888 |
lt_prog_compiler_pic_works=yes |
lt_prog_compiler_pic_works=yes |
| 6889 |
fi |
fi |
| 6890 |
fi |
fi |
| 6915 |
;; |
;; |
| 6916 |
esac |
esac |
| 6917 |
|
|
|
# |
|
|
# Check to make sure the static flag actually works. |
|
|
# |
|
|
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
|
|
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
|
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag 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_tmp_static_flag" |
|
|
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 -e '/^$/d' > conftest.exp |
|
|
$SED '/^$/d; /^ *+/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 |
|
|
|
|
|
|
|
| 6918 |
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 |
| 6919 |
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 |
| 6920 |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
| 6936 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 6937 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 6938 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 6939 |
(eval echo "\"\$as_me:6987: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6939: $lt_compile\"" >&5) |
| 6940 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 6941 |
ac_status=$? |
ac_status=$? |
| 6942 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 6943 |
echo "$as_me:6991: \$? = $ac_status" >&5 |
echo "$as_me:6943: \$? = $ac_status" >&5 |
| 6944 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 6945 |
then |
then |
| 6946 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 6947 |
# So say no if there are warnings |
# So say no if there are warnings |
| 6948 |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
| 6949 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
| 6950 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 6951 |
lt_cv_prog_compiler_c_o=yes |
lt_cv_prog_compiler_c_o=yes |
| 6952 |
fi |
fi |
| 6953 |
fi |
fi |
| 7047 |
with_gnu_ld=no |
with_gnu_ld=no |
| 7048 |
fi |
fi |
| 7049 |
;; |
;; |
|
interix*) |
|
|
# we just hope/assume this is gcc and not c89 (= MSVC++) |
|
|
with_gnu_ld=yes |
|
|
;; |
|
| 7050 |
openbsd*) |
openbsd*) |
| 7051 |
with_gnu_ld=no |
with_gnu_ld=no |
| 7052 |
;; |
;; |
| 7131 |
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' |
| 7132 |
|
|
| 7133 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
| 7134 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
| 7135 |
# If the export-symbols file already is a .def file (1st line |
# If the export-symbols file already is a .def file (1st line |
| 7136 |
# is EXPORTS), use it as is; otherwise, prepend... |
# is EXPORTS), use it as is; otherwise, prepend... |
| 7137 |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
| 7140 |
echo EXPORTS > $output_objdir/$soname.def; |
echo EXPORTS > $output_objdir/$soname.def; |
| 7141 |
cat $export_symbols >> $output_objdir/$soname.def; |
cat $export_symbols >> $output_objdir/$soname.def; |
| 7142 |
fi~ |
fi~ |
| 7143 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
| 7144 |
else |
else |
| 7145 |
ld_shlibs=no |
ld_shlibs=no |
| 7146 |
fi |
fi |
| 7147 |
;; |
;; |
| 7148 |
|
|
|
interix3*) |
|
|
hardcode_direct=no |
|
|
hardcode_shlibpath_var=no |
|
|
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
|
export_dynamic_flag_spec='${wl}-E' |
|
|
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
|
# Instead, shared libraries are loaded at an image base (0x10000000 by |
|
|
# default) and relocated if they conflict, which is a slow very memory |
|
|
# consuming and fragmenting process. To avoid this, we pick a random, |
|
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
|
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
|
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
|
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' |
|
|
;; |
|
|
|
|
| 7149 |
linux*) |
linux*) |
| 7150 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
| 7151 |
tmp_addflag= |
tmp_addflag= |
| 7187 |
fi |
fi |
| 7188 |
;; |
;; |
| 7189 |
|
|
| 7190 |
solaris*) |
solaris* | sysv5*) |
| 7191 |
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
| 7192 |
ld_shlibs=no |
ld_shlibs=no |
| 7193 |
cat <<EOF 1>&2 |
cat <<EOF 1>&2 |
| 7208 |
fi |
fi |
| 7209 |
;; |
;; |
| 7210 |
|
|
|
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
|
|
case `$LD -v 2>&1` in |
|
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
|
ld_shlibs=no |
|
|
cat <<_LT_EOF 1>&2 |
|
|
|
|
|
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
|
|
*** reliably create shared libraries on SCO systems. Therefore, libtool |
|
|
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
|
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
|
*** your PATH or compiler configuration so that the native linker is |
|
|
*** used, and then restart. |
|
|
|
|
|
_LT_EOF |
|
|
;; |
|
|
*) |
|
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
|
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' |
|
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' |
|
|
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' |
|
|
else |
|
|
ld_shlibs=no |
|
|
fi |
|
|
;; |
|
|
esac |
|
|
;; |
|
|
|
|
| 7211 |
sunos4*) |
sunos4*) |
| 7212 |
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' |
| 7213 |
wlarc= |
wlarc= |
| 7241 |
# Note: this linker hardcodes the directories in LIBPATH if there |
# Note: this linker hardcodes the directories in LIBPATH if there |
| 7242 |
# are no directories specified by -L. |
# are no directories specified by -L. |
| 7243 |
hardcode_minus_L=yes |
hardcode_minus_L=yes |
| 7244 |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
if test "$GCC" = yes && test -z "$link_static_flag"; then |
| 7245 |
# Neither direct hardcoding nor static linking is supported with a |
# Neither direct hardcoding nor static linking is supported with a |
| 7246 |
# broken collect2. |
# broken collect2. |
| 7247 |
hardcode_direct=unsupported |
hardcode_direct=unsupported |
| 7275 |
break |
break |
| 7276 |
fi |
fi |
| 7277 |
done |
done |
|
;; |
|
| 7278 |
esac |
esac |
| 7279 |
|
|
| 7280 |
exp_sym_flag='-bexport' |
exp_sym_flag='-bexport' |
| 7312 |
hardcode_libdir_flag_spec='-L$libdir' |
hardcode_libdir_flag_spec='-L$libdir' |
| 7313 |
hardcode_libdir_separator= |
hardcode_libdir_separator= |
| 7314 |
fi |
fi |
|
;; |
|
| 7315 |
esac |
esac |
| 7316 |
shared_flag='-shared' |
shared_flag='-shared' |
| 7317 |
if test "$aix_use_runtimelinking" = yes; then |
if test "$aix_use_runtimelinking" = yes; then |
| 7324 |
# chokes on -Wl,-G. The following line is correct: |
# chokes on -Wl,-G. The following line is correct: |
| 7325 |
shared_flag='-G' |
shared_flag='-G' |
| 7326 |
else |
else |
| 7327 |
if test "$aix_use_runtimelinking" = yes; then |
if test "$aix_use_runtimelinking" = yes; then |
| 7328 |
shared_flag='${wl}-G' |
shared_flag='${wl}-G' |
| 7329 |
else |
else |
| 7330 |
shared_flag='${wl}-bM:SRE' |
shared_flag='${wl}-bM:SRE' |
| 7331 |
fi |
fi |
| 7332 |
fi |
fi |
| 7333 |
fi |
fi |
| 7334 |
|
|
| 7393 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 7394 |
|
|
| 7395 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 7396 |
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" |
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" |
| 7397 |
else |
else |
| 7398 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
| 7399 |
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
| 7400 |
allow_undefined_flag="-z nodefs" |
allow_undefined_flag="-z nodefs" |
| 7401 |
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" |
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" |
| 7402 |
else |
else |
| 7403 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
| 7404 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| 7458 |
# -berok will link without error, but may produce a broken library. |
# -berok will link without error, but may produce a broken library. |
| 7459 |
no_undefined_flag=' ${wl}-bernotok' |
no_undefined_flag=' ${wl}-bernotok' |
| 7460 |
allow_undefined_flag=' ${wl}-berok' |
allow_undefined_flag=' ${wl}-berok' |
| 7461 |
|
# -bexpall does not export symbols beginning with underscore (_) |
| 7462 |
|
always_export_symbols=yes |
| 7463 |
# Exported symbols can be pulled into shared objects from archives |
# Exported symbols can be pulled into shared objects from archives |
| 7464 |
whole_archive_flag_spec='$convenience' |
whole_archive_flag_spec=' ' |
| 7465 |
archive_cmds_need_lc=yes |
archive_cmds_need_lc=yes |
| 7466 |
# This is similar to how AIX traditionally builds its shared libraries. |
# This is similar to how AIX traditionally builds its shared libraries. |
| 7467 |
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' |
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' |
| 7468 |
fi |
fi |
| 7469 |
fi |
fi |
| 7470 |
;; |
;; |
| 7605 |
export_dynamic_flag_spec='${wl}-E' |
export_dynamic_flag_spec='${wl}-E' |
| 7606 |
;; |
;; |
| 7607 |
|
|
| 7608 |
hpux10*) |
hpux10* | hpux11*) |
|
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
|
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
|
else |
|
|
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
|
fi |
|
|
if test "$with_gnu_ld" = no; then |
|
|
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
|
hardcode_libdir_separator=: |
|
|
|
|
|
hardcode_direct=yes |
|
|
export_dynamic_flag_spec='${wl}-E' |
|
|
|
|
|
# hardcode_minus_L: Not really in the search PATH, |
|
|
# but as the default location of the library. |
|
|
hardcode_minus_L=yes |
|
|
fi |
|
|
;; |
|
|
|
|
|
hpux11*) |
|
| 7609 |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
| 7610 |
case $host_cpu in |
case $host_cpu in |
| 7611 |
hppa*64*) |
hppa*64*|ia64*) |
| 7612 |
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' |
| 7613 |
;; |
;; |
|
ia64*) |
|
|
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
|
;; |
|
| 7614 |
*) |
*) |
| 7615 |
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' |
| 7616 |
;; |
;; |
| 7617 |
esac |
esac |
| 7618 |
else |
else |
| 7619 |
case $host_cpu in |
case $host_cpu in |
| 7620 |
hppa*64*) |
hppa*64*|ia64*) |
| 7621 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
;; |
|
|
ia64*) |
|
|
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
| 7622 |
;; |
;; |
| 7623 |
*) |
*) |
| 7624 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 7625 |
;; |
;; |
| 7626 |
esac |
esac |
| 7627 |
fi |
fi |
| 7628 |
if test "$with_gnu_ld" = no; then |
if test "$with_gnu_ld" = no; then |
|
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
|
hardcode_libdir_separator=: |
|
|
|
|
| 7629 |
case $host_cpu in |
case $host_cpu in |
| 7630 |
hppa*64*|ia64*) |
hppa*64*) |
| 7631 |
|
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 7632 |
hardcode_libdir_flag_spec_ld='+b $libdir' |
hardcode_libdir_flag_spec_ld='+b $libdir' |
| 7633 |
|
hardcode_libdir_separator=: |
| 7634 |
hardcode_direct=no |
hardcode_direct=no |
| 7635 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
| 7636 |
;; |
;; |
| 7637 |
|
ia64*) |
| 7638 |
|
hardcode_libdir_flag_spec='-L$libdir' |
| 7639 |
|
hardcode_direct=no |
| 7640 |
|
hardcode_shlibpath_var=no |
| 7641 |
|
|
| 7642 |
|
# hardcode_minus_L: Not really in the search PATH, |
| 7643 |
|
# but as the default location of the library. |
| 7644 |
|
hardcode_minus_L=yes |
| 7645 |
|
;; |
| 7646 |
*) |
*) |
| 7647 |
|
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 7648 |
|
hardcode_libdir_separator=: |
| 7649 |
hardcode_direct=yes |
hardcode_direct=yes |
| 7650 |
export_dynamic_flag_spec='${wl}-E' |
export_dynamic_flag_spec='${wl}-E' |
| 7651 |
|
|
| 7747 |
hardcode_libdir_separator=: |
hardcode_libdir_separator=: |
| 7748 |
;; |
;; |
| 7749 |
|
|
| 7750 |
|
sco3.2v5*) |
| 7751 |
|
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 7752 |
|
hardcode_shlibpath_var=no |
| 7753 |
|
export_dynamic_flag_spec='${wl}-Bexport' |
| 7754 |
|
runpath_var=LD_RUN_PATH |
| 7755 |
|
hardcode_runpath_var=yes |
| 7756 |
|
;; |
| 7757 |
|
|
| 7758 |
solaris*) |
solaris*) |
| 7759 |
no_undefined_flag=' -z text' |
no_undefined_flag=' -z text' |
| 7760 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
| 7840 |
fi |
fi |
| 7841 |
;; |
;; |
| 7842 |
|
|
| 7843 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) |
sysv4.2uw2*) |
| 7844 |
no_undefined_flag='${wl}-z,text' |
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
| 7845 |
archive_cmds_need_lc=no |
hardcode_direct=yes |
| 7846 |
|
hardcode_minus_L=no |
| 7847 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
| 7848 |
runpath_var='LD_RUN_PATH' |
hardcode_runpath_var=yes |
| 7849 |
|
runpath_var=LD_RUN_PATH |
| 7850 |
|
;; |
| 7851 |
|
|
| 7852 |
|
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) |
| 7853 |
|
no_undefined_flag='${wl}-z ${wl}text' |
| 7854 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
| 7855 |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
| 7856 |
else |
else |
| 7857 |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
| 7858 |
fi |
fi |
| 7859 |
|
runpath_var='LD_RUN_PATH' |
| 7860 |
|
hardcode_shlibpath_var=no |
| 7861 |
;; |
;; |
| 7862 |
|
|
| 7863 |
sysv5* | sco3.2v5* | sco5v6*) |
sysv5*) |
| 7864 |
# Note: We can NOT use -z defs as we might desire, because we do not |
no_undefined_flag=' -z text' |
| 7865 |
# link with -lc, and that would cause any symbols used from libc to |
# $CC -shared without GNU ld will not create a library from C++ |
| 7866 |
# always be unresolved, which means just about no library would |
# object files and a static libstdc++, better avoid it by now |
| 7867 |
# ever link correctly. If we're not using GNU ld we use -z text |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 7868 |
# though, which does catch some bad symbols but isn't as heavy-handed |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
| 7869 |
# as -z defs. |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
| 7870 |
no_undefined_flag='${wl}-z,text' |
hardcode_libdir_flag_spec= |
|
allow_undefined_flag='${wl}-z,nodefs' |
|
|
archive_cmds_need_lc=no |
|
| 7871 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
|
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
|
|
hardcode_libdir_separator=':' |
|
|
link_all_deplibs=yes |
|
|
export_dynamic_flag_spec='${wl}-Bexport' |
|
| 7872 |
runpath_var='LD_RUN_PATH' |
runpath_var='LD_RUN_PATH' |
|
|
|
|
if test "$GCC" = yes; then |
|
|
archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
else |
|
|
archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
fi |
|
| 7873 |
;; |
;; |
| 7874 |
|
|
| 7875 |
uts4*) |
uts4*) |
| 7888 |
echo "${ECHO_T}$ld_shlibs" >&6 |
echo "${ECHO_T}$ld_shlibs" >&6 |
| 7889 |
test "$ld_shlibs" = no && can_build_shared=no |
test "$ld_shlibs" = no && can_build_shared=no |
| 7890 |
|
|
| 7891 |
|
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 7892 |
|
if test "$GCC" = yes; then |
| 7893 |
|
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
| 7894 |
|
fi |
| 7895 |
|
|
| 7896 |
# |
# |
| 7897 |
# Do we need to explicitly link libc? |
# Do we need to explicitly link libc? |
| 7898 |
# |
# |
| 7925 |
libobjs=conftest.$ac_objext |
libobjs=conftest.$ac_objext |
| 7926 |
deplibs= |
deplibs= |
| 7927 |
wl=$lt_prog_compiler_wl |
wl=$lt_prog_compiler_wl |
|
pic_flag=$lt_prog_compiler_pic |
|
| 7928 |
compiler_flags=-v |
compiler_flags=-v |
| 7929 |
linker_flags=-v |
linker_flags=-v |
| 7930 |
verstring= |
verstring= |
| 8206 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
| 8207 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 8208 |
;; |
;; |
| 8209 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
*) # from 3.2 on |
|
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
| 8210 |
shlibpath_overrides_runpath=no |
shlibpath_overrides_runpath=no |
| 8211 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 8212 |
;; |
;; |
|
freebsd*) # from 4.6 on |
|
|
shlibpath_overrides_runpath=yes |
|
|
hardcode_into_libs=yes |
|
|
;; |
|
| 8213 |
esac |
esac |
| 8214 |
;; |
;; |
| 8215 |
|
|
| 8269 |
postinstall_cmds='chmod 555 $lib' |
postinstall_cmds='chmod 555 $lib' |
| 8270 |
;; |
;; |
| 8271 |
|
|
|
interix3*) |
|
|
version_type=linux |
|
|
need_lib_prefix=no |
|
|
need_version=no |
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
|
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
|
shlibpath_var=LD_LIBRARY_PATH |
|
|
shlibpath_overrides_runpath=no |
|
|
hardcode_into_libs=yes |
|
|
;; |
|
|
|
|
| 8272 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
| 8273 |
case $host_os in |
case $host_os in |
| 8274 |
nonstopux*) version_type=nonstopux ;; |
nonstopux*) version_type=nonstopux ;; |
| 8326 |
# before this can be enabled. |
# before this can be enabled. |
| 8327 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 8328 |
|
|
|
# find out which ABI we are using |
|
|
libsuff= |
|
|
case "$host_cpu" in |
|
|
x86_64*|s390x*|powerpc64*) |
|
|
echo '#line 8456 "configure"' > conftest.$ac_ext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; then |
|
|
case `/usr/bin/file conftest.$ac_objext` in |
|
|
*64-bit*) |
|
|
libsuff=64 |
|
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
rm -rf conftest* |
|
|
;; |
|
|
esac |
|
|
|
|
| 8329 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
| 8330 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
| 8331 |
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' ' '` |
| 8332 |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 8333 |
fi |
fi |
| 8334 |
|
|
| 8335 |
# 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 |
| 8390 |
|
|
| 8391 |
openbsd*) |
openbsd*) |
| 8392 |
version_type=sunos |
version_type=sunos |
|
sys_lib_dlsearch_path_spec="/usr/lib" |
|
| 8393 |
need_lib_prefix=no |
need_lib_prefix=no |
| 8394 |
# 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. |
| 8395 |
case $host_os in |
case $host_os in |
| 8433 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
| 8434 |
;; |
;; |
| 8435 |
|
|
| 8436 |
|
sco3.2v5*) |
| 8437 |
|
version_type=osf |
| 8438 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 8439 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 8440 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 8441 |
|
;; |
| 8442 |
|
|
| 8443 |
solaris*) |
solaris*) |
| 8444 |
version_type=linux |
version_type=linux |
| 8445 |
need_lib_prefix=no |
need_lib_prefix=no |
| 8465 |
need_version=yes |
need_version=yes |
| 8466 |
;; |
;; |
| 8467 |
|
|
| 8468 |
sysv4 | sysv4.3*) |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
| 8469 |
version_type=linux |
version_type=linux |
| 8470 |
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}' |
| 8471 |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
| 8498 |
fi |
fi |
| 8499 |
;; |
;; |
| 8500 |
|
|
|
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
|
version_type=freebsd-elf |
|
|
need_lib_prefix=no |
|
|
need_version=no |
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
|
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
shlibpath_var=LD_LIBRARY_PATH |
|
|
hardcode_into_libs=yes |
|
|
if test "$with_gnu_ld" = yes; then |
|
|
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
|
shlibpath_overrides_runpath=no |
|
|
else |
|
|
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
|
shlibpath_overrides_runpath=yes |
|
|
case $host_os in |
|
|
sco3.2v5*) |
|
|
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
sys_lib_dlsearch_path_spec='/usr/lib' |
|
|
;; |
|
|
|
|
| 8501 |
uts4*) |
uts4*) |
| 8502 |
version_type=linux |
version_type=linux |
| 8503 |
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}' |
| 8513 |
echo "${ECHO_T}$dynamic_linker" >&6 |
echo "${ECHO_T}$dynamic_linker" >&6 |
| 8514 |
test "$dynamic_linker" = no && can_build_shared=no |
test "$dynamic_linker" = no && can_build_shared=no |
| 8515 |
|
|
|
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 |
|
|
|
|
| 8516 |
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 |
| 8517 |
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 |
| 8518 |
hardcode_action= |
hardcode_action= |
| 9168 |
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" |
| 9169 |
|
|
| 9170 |
save_LDFLAGS="$LDFLAGS" |
save_LDFLAGS="$LDFLAGS" |
| 9171 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
| 9172 |
|
|
| 9173 |
save_LIBS="$LIBS" |
save_LIBS="$LIBS" |
| 9174 |
LIBS="$lt_cv_dlopen_libs $LIBS" |
LIBS="$lt_cv_dlopen_libs $LIBS" |
| 9184 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 9185 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
| 9186 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 9187 |
#line 9353 "configure" |
#line 9187 "configure" |
| 9188 |
#include "confdefs.h" |
#include "confdefs.h" |
| 9189 |
|
|
| 9190 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
| 9241 |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 9242 |
/* dlclose (self); */ |
/* dlclose (self); */ |
| 9243 |
} |
} |
|
else |
|
|
puts (dlerror ()); |
|
| 9244 |
|
|
| 9245 |
exit (status); |
exit (status); |
| 9246 |
} |
} |
| 9255 |
case x$lt_status in |
case x$lt_status in |
| 9256 |
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
| 9257 |
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
| 9258 |
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
x$lt_unknown|x*) lt_cv_dlopen_self=no ;; |
| 9259 |
esac |
esac |
| 9260 |
else : |
else : |
| 9261 |
# compilation failed |
# compilation failed |
| 9270 |
echo "${ECHO_T}$lt_cv_dlopen_self" >&6 |
echo "${ECHO_T}$lt_cv_dlopen_self" >&6 |
| 9271 |
|
|
| 9272 |
if test "x$lt_cv_dlopen_self" = xyes; then |
if test "x$lt_cv_dlopen_self" = xyes; then |
| 9273 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
LDFLAGS="$LDFLAGS $link_static_flag" |
| 9274 |
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 |
| 9275 |
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 |
| 9276 |
if test "${lt_cv_dlopen_self_static+set}" = set; then |
if test "${lt_cv_dlopen_self_static+set}" = set; then |
| 9282 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 9283 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
| 9284 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 9285 |
#line 9453 "configure" |
#line 9285 "configure" |
| 9286 |
#include "confdefs.h" |
#include "confdefs.h" |
| 9287 |
|
|
| 9288 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
| 9339 |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 9340 |
/* dlclose (self); */ |
/* dlclose (self); */ |
| 9341 |
} |
} |
|
else |
|
|
puts (dlerror ()); |
|
| 9342 |
|
|
| 9343 |
exit (status); |
exit (status); |
| 9344 |
} |
} |
| 9353 |
case x$lt_status in |
case x$lt_status in |
| 9354 |
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
| 9355 |
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
| 9356 |
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; |
| 9357 |
esac |
esac |
| 9358 |
else : |
else : |
| 9359 |
# compilation failed |
# compilation failed |
| 9386 |
fi |
fi |
| 9387 |
|
|
| 9388 |
|
|
| 9389 |
# Report which library types will actually be built |
# Report which librarie types wil actually be built |
| 9390 |
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
| 9391 |
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 |
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 |
| 9392 |
echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
| 9436 |
# Now quote all the things that may contain metacharacters while being |
# Now quote all the things that may contain metacharacters while being |
| 9437 |
# 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 |
| 9438 |
# variables and quote the copies for generation of the libtool script. |
# variables and quote the copies for generation of the libtool script. |
| 9439 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ |
| 9440 |
SED SHELL STRIP \ |
SED SHELL STRIP \ |
| 9441 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
| 9442 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
| 9602 |
# A C compiler. |
# A C compiler. |
| 9603 |
LTCC=$lt_LTCC |
LTCC=$lt_LTCC |
| 9604 |
|
|
|
# LTCC compiler flags. |
|
|
LTCFLAGS=$lt_LTCFLAGS |
|
|
|
|
| 9605 |
# A language-specific compiler. |
# A language-specific compiler. |
| 9606 |
CC=$lt_compiler |
CC=$lt_compiler |
| 9607 |
|
|
| 9932 |
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} |
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} |
| 9933 |
fi |
fi |
| 9934 |
fi |
fi |
|
if test -z "$LTCFLAGS"; then |
|
|
eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" |
|
|
fi |
|
| 9935 |
|
|
| 9936 |
# Extract list of available tagged configurations in $ofile. |
# Extract list of available tagged configurations in $ofile. |
| 9937 |
# Note that this assumes the entire list is on one line. |
# Note that this assumes the entire list is on one line. |
| 9984 |
hardcode_libdir_flag_spec_ld_CXX= |
hardcode_libdir_flag_spec_ld_CXX= |
| 9985 |
hardcode_libdir_separator_CXX= |
hardcode_libdir_separator_CXX= |
| 9986 |
hardcode_minus_L_CXX=no |
hardcode_minus_L_CXX=no |
|
hardcode_shlibpath_var_CXX=unsupported |
|
| 9987 |
hardcode_automatic_CXX=no |
hardcode_automatic_CXX=no |
| 9988 |
module_cmds_CXX= |
module_cmds_CXX= |
| 9989 |
module_expsym_cmds_CXX= |
module_expsym_cmds_CXX= |
| 10011 |
lt_simple_compile_test_code="int some_variable = 0;\n" |
lt_simple_compile_test_code="int some_variable = 0;\n" |
| 10012 |
|
|
| 10013 |
# Code to be used in simple link tests |
# Code to be used in simple link tests |
| 10014 |
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' |
lt_simple_link_test_code='int main(int, char *) { return(0); }\n' |
| 10015 |
|
|
| 10016 |
# 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. |
| 10017 |
|
|
| 10018 |
# If no C compiler was specified, use CC. |
# If no C compiler was specified, use CC. |
| 10019 |
LTCC=${LTCC-"$CC"} |
LTCC=${LTCC-"$CC"} |
| 10020 |
|
|
|
# If no C compiler flags were specified, use CFLAGS. |
|
|
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
|
|
|
| 10021 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
| 10022 |
compiler=$CC |
compiler=$CC |
| 10023 |
|
|
| 10025 |
# save warnings/boilerplate of simple test code |
# save warnings/boilerplate of simple test code |
| 10026 |
ac_outfile=conftest.$ac_objext |
ac_outfile=conftest.$ac_objext |
| 10027 |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
| 10028 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
| 10029 |
_lt_compiler_boilerplate=`cat conftest.err` |
_lt_compiler_boilerplate=`cat conftest.err` |
| 10030 |
$rm conftest* |
$rm conftest* |
| 10031 |
|
|
| 10032 |
ac_outfile=conftest.$ac_objext |
ac_outfile=conftest.$ac_objext |
| 10033 |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
| 10034 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
| 10035 |
_lt_linker_boilerplate=`cat conftest.err` |
_lt_linker_boilerplate=`cat conftest.err` |
| 10036 |
$rm conftest* |
$rm conftest* |
| 10037 |
|
|
| 10046 |
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then |
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then |
| 10047 |
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx |
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx |
| 10048 |
else |
else |
| 10049 |
$as_unset lt_cv_prog_gnu_ld |
unset lt_cv_prog_gnu_ld |
| 10050 |
fi |
fi |
| 10051 |
if test -n "${lt_cv_path_LDCXX+set}"; then |
if test -n "${lt_cv_path_LDCXX+set}"; then |
| 10052 |
lt_cv_path_LD=$lt_cv_path_LDCXX |
lt_cv_path_LD=$lt_cv_path_LDCXX |
| 10053 |
else |
else |
| 10054 |
$as_unset lt_cv_path_LD |
unset lt_cv_path_LD |
| 10055 |
fi |
fi |
| 10056 |
test -z "${LDCXX+set}" || LD=$LDCXX |
test -z "${LDCXX+set}" || LD=$LDCXX |
| 10057 |
CC=${CXX-"c++"} |
CC=${CXX-"c++"} |
| 10262 |
;; |
;; |
| 10263 |
esac |
esac |
| 10264 |
done |
done |
|
;; |
|
| 10265 |
esac |
esac |
| 10266 |
|
|
| 10267 |
exp_sym_flag='-bexport' |
exp_sym_flag='-bexport' |
| 10299 |
hardcode_libdir_flag_spec_CXX='-L$libdir' |
hardcode_libdir_flag_spec_CXX='-L$libdir' |
| 10300 |
hardcode_libdir_separator_CXX= |
hardcode_libdir_separator_CXX= |
| 10301 |
fi |
fi |
|
;; |
|
| 10302 |
esac |
esac |
| 10303 |
shared_flag='-shared' |
shared_flag='-shared' |
| 10304 |
if test "$aix_use_runtimelinking" = yes; then |
if test "$aix_use_runtimelinking" = yes; then |
| 10381 |
|
|
| 10382 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 10383 |
|
|
| 10384 |
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" |
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" |
| 10385 |
else |
else |
| 10386 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
| 10387 |
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' |
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' |
| 10388 |
allow_undefined_flag_CXX="-z nodefs" |
allow_undefined_flag_CXX="-z nodefs" |
| 10389 |
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" |
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" |
| 10390 |
else |
else |
| 10391 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
| 10392 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| 10446 |
# -berok will link without error, but may produce a broken library. |
# -berok will link without error, but may produce a broken library. |
| 10447 |
no_undefined_flag_CXX=' ${wl}-bernotok' |
no_undefined_flag_CXX=' ${wl}-bernotok' |
| 10448 |
allow_undefined_flag_CXX=' ${wl}-berok' |
allow_undefined_flag_CXX=' ${wl}-berok' |
| 10449 |
|
# -bexpall does not export symbols beginning with underscore (_) |
| 10450 |
|
always_export_symbols_CXX=yes |
| 10451 |
# Exported symbols can be pulled into shared objects from archives |
# Exported symbols can be pulled into shared objects from archives |
| 10452 |
whole_archive_flag_spec_CXX='$convenience' |
whole_archive_flag_spec_CXX=' ' |
| 10453 |
archive_cmds_need_lc_CXX=yes |
archive_cmds_need_lc_CXX=yes |
| 10454 |
# This is similar to how AIX traditionally builds its shared libraries. |
# This is similar to how AIX traditionally builds its shared libraries. |
| 10455 |
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' |
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' |
| 10456 |
fi |
fi |
| 10457 |
fi |
fi |
| 10458 |
;; |
;; |
|
|
|
|
beos*) |
|
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
|
allow_undefined_flag_CXX=unsupported |
|
|
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
|
# support --undefined. This deserves some investigation. FIXME |
|
|
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
else |
|
|
ld_shlibs_CXX=no |
|
|
fi |
|
|
;; |
|
|
|
|
| 10459 |
chorus*) |
chorus*) |
| 10460 |
case $cc_basename in |
case $cc_basename in |
| 10461 |
*) |
*) |
| 10465 |
esac |
esac |
| 10466 |
;; |
;; |
| 10467 |
|
|
| 10468 |
|
|
| 10469 |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
| 10470 |
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, |
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, |
| 10471 |
# as there is no search path for DLLs. |
# as there is no search path for DLLs. |
| 10475 |
enable_shared_with_static_runtimes_CXX=yes |
enable_shared_with_static_runtimes_CXX=yes |
| 10476 |
|
|
| 10477 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
| 10478 |
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' |
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' |
| 10479 |
# If the export-symbols file already is a .def file (1st line |
# If the export-symbols file already is a .def file (1st line |
| 10480 |
# is EXPORTS), use it as is; otherwise, prepend... |
# is EXPORTS), use it as is; otherwise, prepend... |
| 10481 |
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 |
| 10484 |
echo EXPORTS > $output_objdir/$soname.def; |
echo EXPORTS > $output_objdir/$soname.def; |
| 10485 |
cat $export_symbols >> $output_objdir/$soname.def; |
cat $export_symbols >> $output_objdir/$soname.def; |
| 10486 |
fi~ |
fi~ |
| 10487 |
$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' |
$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' |
| 10488 |
else |
else |
| 10489 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
| 10490 |
fi |
fi |
| 10621 |
;; |
;; |
| 10622 |
hpux10*|hpux11*) |
hpux10*|hpux11*) |
| 10623 |
if test $with_gnu_ld = no; then |
if test $with_gnu_ld = no; then |
|
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
|
|
hardcode_libdir_separator_CXX=: |
|
|
|
|
| 10624 |
case $host_cpu in |
case $host_cpu in |
| 10625 |
hppa*64*|ia64*) |
hppa*64*) |
| 10626 |
|
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
| 10627 |
hardcode_libdir_flag_spec_ld_CXX='+b $libdir' |
hardcode_libdir_flag_spec_ld_CXX='+b $libdir' |
| 10628 |
|
hardcode_libdir_separator_CXX=: |
| 10629 |
|
;; |
| 10630 |
|
ia64*) |
| 10631 |
|
hardcode_libdir_flag_spec_CXX='-L$libdir' |
| 10632 |
;; |
;; |
| 10633 |
*) |
*) |
| 10634 |
|
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
| 10635 |
|
hardcode_libdir_separator_CXX=: |
| 10636 |
export_dynamic_flag_spec_CXX='${wl}-E' |
export_dynamic_flag_spec_CXX='${wl}-E' |
| 10637 |
;; |
;; |
| 10638 |
esac |
esac |
| 10639 |
fi |
fi |
| 10640 |
case $host_cpu in |
case $host_cpu in |
| 10641 |
hppa*64*|ia64*) |
hppa*64*) |
| 10642 |
hardcode_direct_CXX=no |
hardcode_direct_CXX=no |
| 10643 |
hardcode_shlibpath_var_CXX=no |
hardcode_shlibpath_var_CXX=no |
| 10644 |
;; |
;; |
| 10645 |
|
ia64*) |
| 10646 |
|
hardcode_direct_CXX=no |
| 10647 |
|
hardcode_shlibpath_var_CXX=no |
| 10648 |
|
hardcode_minus_L_CXX=yes # Not in the search PATH, |
| 10649 |
|
# but as the default |
| 10650 |
|
# location of the library. |
| 10651 |
|
;; |
| 10652 |
*) |
*) |
| 10653 |
hardcode_direct_CXX=yes |
hardcode_direct_CXX=yes |
| 10654 |
hardcode_minus_L_CXX=yes # Not in the search PATH, |
hardcode_minus_L_CXX=yes # Not in the search PATH, |
| 10664 |
;; |
;; |
| 10665 |
aCC*) |
aCC*) |
| 10666 |
case $host_cpu in |
case $host_cpu in |
| 10667 |
hppa*64*) |
hppa*64*|ia64*) |
| 10668 |
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' |
|
;; |
|
|
ia64*) |
|
|
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
| 10669 |
;; |
;; |
| 10670 |
*) |
*) |
| 10671 |
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' |
| 10685 |
if test "$GXX" = yes; then |
if test "$GXX" = yes; then |
| 10686 |
if test $with_gnu_ld = no; then |
if test $with_gnu_ld = no; then |
| 10687 |
case $host_cpu in |
case $host_cpu in |
| 10688 |
hppa*64*) |
ia64*|hppa*64*) |
| 10689 |
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' |
|
;; |
|
|
ia64*) |
|
|
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
| 10690 |
;; |
;; |
| 10691 |
*) |
*) |
| 10692 |
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' |
| 10700 |
;; |
;; |
| 10701 |
esac |
esac |
| 10702 |
;; |
;; |
|
interix3*) |
|
|
hardcode_direct_CXX=no |
|
|
hardcode_shlibpath_var_CXX=no |
|
|
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
|
export_dynamic_flag_spec_CXX='${wl}-E' |
|
|
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
|
# Instead, shared libraries are loaded at an image base (0x10000000 by |
|
|
# default) and relocated if they conflict, which is a slow very memory |
|
|
# consuming and fragmenting process. To avoid this, we pick a random, |
|
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
|
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
|
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' |
|
|
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' |
|
|
;; |
|
| 10703 |
irix5* | irix6*) |
irix5* | irix6*) |
| 10704 |
case $cc_basename in |
case $cc_basename in |
| 10705 |
CC*) |
CC*) |
| 10982 |
# FIXME: insert proper C++ library support |
# FIXME: insert proper C++ library support |
| 10983 |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
| 10984 |
;; |
;; |
| 10985 |
|
sco*) |
| 10986 |
|
archive_cmds_need_lc_CXX=no |
| 10987 |
|
case $cc_basename in |
| 10988 |
|
CC*) |
| 10989 |
|
# FIXME: insert proper C++ library support |
| 10990 |
|
ld_shlibs_CXX=no |
| 10991 |
|
;; |
| 10992 |
|
*) |
| 10993 |
|
# FIXME: insert proper C++ library support |
| 10994 |
|
ld_shlibs_CXX=no |
| 10995 |
|
;; |
| 10996 |
|
esac |
| 10997 |
|
;; |
| 10998 |
sunos4*) |
sunos4*) |
| 10999 |
case $cc_basename in |
case $cc_basename in |
| 11000 |
CC*) |
CC*) |
| 11087 |
;; |
;; |
| 11088 |
esac |
esac |
| 11089 |
;; |
;; |
| 11090 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) |
|
no_undefined_flag_CXX='${wl}-z,text' |
|
|
archive_cmds_need_lc_CXX=no |
|
|
hardcode_shlibpath_var_CXX=no |
|
|
runpath_var='LD_RUN_PATH' |
|
|
|
|
|
case $cc_basename in |
|
|
CC*) |
|
|
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
;; |
|
|
*) |
|
|
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
;; |
|
|
esac |
|
|
;; |
|
|
sysv5* | sco3.2v5* | sco5v6*) |
|
|
# Note: We can NOT use -z defs as we might desire, because we do not |
|
|
# link with -lc, and that would cause any symbols used from libc to |
|
|
# always be unresolved, which means just about no library would |
|
|
# ever link correctly. If we're not using GNU ld we use -z text |
|
|
# though, which does catch some bad symbols but isn't as heavy-handed |
|
|
# as -z defs. |
|
|
# For security reasons, it is highly recommended that you always |
|
|
# use absolute paths for naming shared libraries, and exclude the |
|
|
# DT_RUNPATH tag from executables and libraries. But doing so |
|
|
# requires that you compile everything twice, which is a pain. |
|
|
# So that behaviour is only enabled if SCOABSPATH is set to a |
|
|
# non-empty value in the environment. Most likely only useful for |
|
|
# creating official distributions of packages. |
|
|
# This is a hack until libtool officially supports absolute path |
|
|
# names for shared libraries. |
|
|
no_undefined_flag_CXX='${wl}-z,text' |
|
|
allow_undefined_flag_CXX='${wl}-z,nodefs' |
|
| 11091 |
archive_cmds_need_lc_CXX=no |
archive_cmds_need_lc_CXX=no |
|
hardcode_shlibpath_var_CXX=no |
|
|
hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
|
|
hardcode_libdir_separator_CXX=':' |
|
|
link_all_deplibs_CXX=yes |
|
|
export_dynamic_flag_spec_CXX='${wl}-Bexport' |
|
|
runpath_var='LD_RUN_PATH' |
|
|
|
|
|
case $cc_basename in |
|
|
CC*) |
|
|
archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
;; |
|
|
*) |
|
|
archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
;; |
|
|
esac |
|
| 11092 |
;; |
;; |
| 11093 |
tandem*) |
tandem*) |
| 11094 |
case $cc_basename in |
case $cc_basename in |
| 11227 |
|
|
| 11228 |
# PORTME: override above test on systems where it is broken |
# PORTME: override above test on systems where it is broken |
| 11229 |
case $host_os in |
case $host_os in |
|
interix3*) |
|
|
# Interix 3.5 installs completely hosed .la files for C++, so rather than |
|
|
# hack all around it, let's just trust "g++" to DTRT. |
|
|
predep_objects_CXX= |
|
|
postdep_objects_CXX= |
|
|
postdeps_CXX= |
|
|
;; |
|
|
|
|
| 11230 |
solaris*) |
solaris*) |
| 11231 |
case $cc_basename in |
case $cc_basename in |
| 11232 |
CC*) |
CC*) |
| 11236 |
postdeps_CXX='-lCstd -lCrun' |
postdeps_CXX='-lCstd -lCrun' |
| 11237 |
;; |
;; |
| 11238 |
esac |
esac |
|
;; |
|
| 11239 |
esac |
esac |
| 11240 |
|
|
| 11241 |
|
|
| 11286 |
# DJGPP does not support shared libraries at all |
# DJGPP does not support shared libraries at all |
| 11287 |
lt_prog_compiler_pic_CXX= |
lt_prog_compiler_pic_CXX= |
| 11288 |
;; |
;; |
|
interix3*) |
|
|
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
|
# Instead, we relocate shared libraries at runtime. |
|
|
;; |
|
| 11289 |
sysv4*MP*) |
sysv4*MP*) |
| 11290 |
if test -d /usr/nec; then |
if test -d /usr/nec; then |
| 11291 |
lt_prog_compiler_pic_CXX=-Kconform_pic |
lt_prog_compiler_pic_CXX=-Kconform_pic |
| 11355 |
case $cc_basename in |
case $cc_basename in |
| 11356 |
CC*) |
CC*) |
| 11357 |
lt_prog_compiler_wl_CXX='-Wl,' |
lt_prog_compiler_wl_CXX='-Wl,' |
| 11358 |
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' |
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" |
| 11359 |
if test "$host_cpu" != ia64; then |
if test "$host_cpu" != ia64; then |
| 11360 |
lt_prog_compiler_pic_CXX='+Z' |
lt_prog_compiler_pic_CXX='+Z' |
| 11361 |
fi |
fi |
| 11362 |
;; |
;; |
| 11363 |
aCC*) |
aCC*) |
| 11364 |
lt_prog_compiler_wl_CXX='-Wl,' |
lt_prog_compiler_wl_CXX='-Wl,' |
| 11365 |
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' |
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" |
| 11366 |
case $host_cpu in |
case $host_cpu in |
| 11367 |
hppa*64*|ia64*) |
hppa*64*|ia64*) |
| 11368 |
# +Z the default |
# +Z the default |
| 11376 |
;; |
;; |
| 11377 |
esac |
esac |
| 11378 |
;; |
;; |
|
interix*) |
|
|
# This is c89, which is MS Visual C++ (no shared libs) |
|
|
# Anyone wants to do a port? |
|
|
;; |
|
| 11379 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
| 11380 |
case $cc_basename in |
case $cc_basename in |
| 11381 |
CC*) |
CC*) |
| 11455 |
;; |
;; |
| 11456 |
psos*) |
psos*) |
| 11457 |
;; |
;; |
| 11458 |
|
sco*) |
| 11459 |
|
case $cc_basename in |
| 11460 |
|
CC*) |
| 11461 |
|
lt_prog_compiler_pic_CXX='-fPIC' |
| 11462 |
|
;; |
| 11463 |
|
*) |
| 11464 |
|
;; |
| 11465 |
|
esac |
| 11466 |
|
;; |
| 11467 |
solaris*) |
solaris*) |
| 11468 |
case $cc_basename in |
case $cc_basename in |
| 11469 |
CC*) |
CC*) |
| 11505 |
;; |
;; |
| 11506 |
esac |
esac |
| 11507 |
;; |
;; |
| 11508 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
unixware*) |
|
case $cc_basename in |
|
|
CC*) |
|
|
lt_prog_compiler_wl_CXX='-Wl,' |
|
|
lt_prog_compiler_pic_CXX='-KPIC' |
|
|
lt_prog_compiler_static_CXX='-Bstatic' |
|
|
;; |
|
|
esac |
|
| 11509 |
;; |
;; |
| 11510 |
vxworks*) |
vxworks*) |
| 11511 |
;; |
;; |
| 11541 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 11542 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 11543 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 11544 |
(eval echo "\"\$as_me:11797: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11544: $lt_compile\"" >&5) |
| 11545 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 11546 |
ac_status=$? |
ac_status=$? |
| 11547 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 11548 |
echo "$as_me:11801: \$? = $ac_status" >&5 |
echo "$as_me:11548: \$? = $ac_status" >&5 |
| 11549 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 11550 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 11551 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 11552 |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
| 11553 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
$SED '/^$/d' conftest.err >conftest.er2 |
| 11554 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
| 11555 |
lt_prog_compiler_pic_works_CXX=yes |
lt_prog_compiler_pic_works_CXX=yes |
| 11556 |
fi |
fi |
| 11557 |
fi |
fi |
| 11582 |
;; |
;; |
| 11583 |
esac |
esac |
| 11584 |
|
|
|
# |
|
|
# Check to make sure the static flag actually works. |
|
|
# |
|
|
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" |
|
|
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
|
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 |
|
|
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
lt_prog_compiler_static_works_CXX=no |
|
|
save_LDFLAGS="$LDFLAGS" |
|
|
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
|
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 -e '/^$/d' > conftest.exp |
|
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
|
if diff conftest.exp conftest.er2 >/dev/null; then |
|
|
lt_prog_compiler_static_works_CXX=yes |
|
|
fi |
|
|
else |
|
|
lt_prog_compiler_static_works_CXX=yes |
|
|
fi |
|
|
fi |
|
|
$rm conftest* |
|
|
LDFLAGS="$save_LDFLAGS" |
|
|
|
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5 |
|
|
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6 |
|
|
|
|
|
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then |
|
|
: |
|
|
else |
|
|
lt_prog_compiler_static_CXX= |
|
|
fi |
|
|
|
|
|
|
|
| 11585 |
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 |
| 11586 |
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 |
| 11587 |
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then |
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then |
| 11603 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 11604 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 11605 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 11606 |
(eval echo "\"\$as_me:11901: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11606: $lt_compile\"" >&5) |
| 11607 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 11608 |
ac_status=$? |
ac_status=$? |
| 11609 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 11610 |
echo "$as_me:11905: \$? = $ac_status" >&5 |
echo "$as_me:11610: \$? = $ac_status" >&5 |
| 11611 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 11612 |
then |
then |
| 11613 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 11614 |
# So say no if there are warnings |
# So say no if there are warnings |
| 11615 |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
| 11616 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
| 11617 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 11618 |
lt_cv_prog_compiler_c_o_CXX=yes |
lt_cv_prog_compiler_c_o_CXX=yes |
| 11619 |
fi |
fi |
| 11620 |
fi |
fi |
| 11684 |
echo "${ECHO_T}$ld_shlibs_CXX" >&6 |
echo "${ECHO_T}$ld_shlibs_CXX" >&6 |
| 11685 |
test "$ld_shlibs_CXX" = no && can_build_shared=no |
test "$ld_shlibs_CXX" = no && can_build_shared=no |
| 11686 |
|
|
| 11687 |
|
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 11688 |
|
if test "$GCC" = yes; then |
| 11689 |
|
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
| 11690 |
|
fi |
| 11691 |
|
|
| 11692 |
# |
# |
| 11693 |
# Do we need to explicitly link libc? |
# Do we need to explicitly link libc? |
| 11694 |
# |
# |
| 11721 |
libobjs=conftest.$ac_objext |
libobjs=conftest.$ac_objext |
| 11722 |
deplibs= |
deplibs= |
| 11723 |
wl=$lt_prog_compiler_wl_CXX |
wl=$lt_prog_compiler_wl_CXX |
|
pic_flag=$lt_prog_compiler_pic_CXX |
|
| 11724 |
compiler_flags=-v |
compiler_flags=-v |
| 11725 |
linker_flags=-v |
linker_flags=-v |
| 11726 |
verstring= |
verstring= |
| 12002 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
| 12003 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 12004 |
;; |
;; |
| 12005 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
*) # from 3.2 on |
|
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
| 12006 |
shlibpath_overrides_runpath=no |
shlibpath_overrides_runpath=no |
| 12007 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 12008 |
;; |
;; |
|
freebsd*) # from 4.6 on |
|
|
shlibpath_overrides_runpath=yes |
|
|
hardcode_into_libs=yes |
|
|
;; |
|
| 12009 |
esac |
esac |
| 12010 |
;; |
;; |
| 12011 |
|
|
| 12065 |
postinstall_cmds='chmod 555 $lib' |
postinstall_cmds='chmod 555 $lib' |
| 12066 |
;; |
;; |
| 12067 |
|
|
|
interix3*) |
|
|
version_type=linux |
|
|
need_lib_prefix=no |
|
|
need_version=no |
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
|
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
|
shlibpath_var=LD_LIBRARY_PATH |
|
|
shlibpath_overrides_runpath=no |
|
|
hardcode_into_libs=yes |
|
|
;; |
|
|
|
|
| 12068 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
| 12069 |
case $host_os in |
case $host_os in |
| 12070 |
nonstopux*) version_type=nonstopux ;; |
nonstopux*) version_type=nonstopux ;; |
| 12122 |
# before this can be enabled. |
# before this can be enabled. |
| 12123 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 12124 |
|
|
|
# find out which ABI we are using |
|
|
libsuff= |
|
|
case "$host_cpu" in |
|
|
x86_64*|s390x*|powerpc64*) |
|
|
echo '#line 12437 "configure"' > conftest.$ac_ext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; then |
|
|
case `/usr/bin/file conftest.$ac_objext` in |
|
|
*64-bit*) |
|
|
libsuff=64 |
|
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
rm -rf conftest* |
|
|
;; |
|
|
esac |
|
|
|
|
| 12125 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
| 12126 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
| 12127 |
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' ' '` |
| 12128 |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 12129 |
fi |
fi |
| 12130 |
|
|
| 12131 |
# 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 |
| 12186 |
|
|
| 12187 |
openbsd*) |
openbsd*) |
| 12188 |
version_type=sunos |
version_type=sunos |
|
sys_lib_dlsearch_path_spec="/usr/lib" |
|
| 12189 |
need_lib_prefix=no |
need_lib_prefix=no |
| 12190 |
# 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. |
| 12191 |
case $host_os in |
case $host_os in |
| 12229 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
| 12230 |
;; |
;; |
| 12231 |
|
|
| 12232 |
|
sco3.2v5*) |
| 12233 |
|
version_type=osf |
| 12234 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 12235 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12236 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 12237 |
|
;; |
| 12238 |
|
|
| 12239 |
solaris*) |
solaris*) |
| 12240 |
version_type=linux |
version_type=linux |
| 12241 |
need_lib_prefix=no |
need_lib_prefix=no |
| 12261 |
need_version=yes |
need_version=yes |
| 12262 |
;; |
;; |
| 12263 |
|
|
| 12264 |
sysv4 | sysv4.3*) |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
| 12265 |
version_type=linux |
version_type=linux |
| 12266 |
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}' |
| 12267 |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
| 12294 |
fi |
fi |
| 12295 |
;; |
;; |
| 12296 |
|
|
|
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
|
version_type=freebsd-elf |
|
|
need_lib_prefix=no |
|
|
need_version=no |
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
|
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
shlibpath_var=LD_LIBRARY_PATH |
|
|
hardcode_into_libs=yes |
|
|
if test "$with_gnu_ld" = yes; then |
|
|
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
|
shlibpath_overrides_runpath=no |
|
|
else |
|
|
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
|
shlibpath_overrides_runpath=yes |
|
|
case $host_os in |
|
|
sco3.2v5*) |
|
|
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
sys_lib_dlsearch_path_spec='/usr/lib' |
|
|
;; |
|
|
|
|
| 12297 |
uts4*) |
uts4*) |
| 12298 |
version_type=linux |
version_type=linux |
| 12299 |
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}' |
| 12309 |
echo "${ECHO_T}$dynamic_linker" >&6 |
echo "${ECHO_T}$dynamic_linker" >&6 |
| 12310 |
test "$dynamic_linker" = no && can_build_shared=no |
test "$dynamic_linker" = no && can_build_shared=no |
| 12311 |
|
|
|
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 |
|
|
|
|
| 12312 |
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 |
| 12313 |
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 |
| 12314 |
hardcode_action_CXX= |
hardcode_action_CXX= |
| 12346 |
enable_fast_install=needless |
enable_fast_install=needless |
| 12347 |
fi |
fi |
| 12348 |
|
|
| 12349 |
|
striplib= |
| 12350 |
|
old_striplib= |
| 12351 |
|
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
| 12352 |
|
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
| 12353 |
|
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
| 12354 |
|
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
| 12355 |
|
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
| 12356 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
| 12357 |
|
echo "${ECHO_T}yes" >&6 |
| 12358 |
|
else |
| 12359 |
|
# FIXME - insert some real tests, host_os isn't really good enough |
| 12360 |
|
case $host_os in |
| 12361 |
|
darwin*) |
| 12362 |
|
if test -n "$STRIP" ; then |
| 12363 |
|
striplib="$STRIP -x" |
| 12364 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
| 12365 |
|
echo "${ECHO_T}yes" >&6 |
| 12366 |
|
else |
| 12367 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 12368 |
|
echo "${ECHO_T}no" >&6 |
| 12369 |
|
fi |
| 12370 |
|
;; |
| 12371 |
|
*) |
| 12372 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 12373 |
|
echo "${ECHO_T}no" >&6 |
| 12374 |
|
;; |
| 12375 |
|
esac |
| 12376 |
|
fi |
| 12377 |
|
|
| 12378 |
|
if test "x$enable_dlopen" != xyes; then |
| 12379 |
|
enable_dlopen=unknown |
| 12380 |
|
enable_dlopen_self=unknown |
| 12381 |
|
enable_dlopen_self_static=unknown |
| 12382 |
|
else |
| 12383 |
|
lt_cv_dlopen=no |
| 12384 |
|
lt_cv_dlopen_libs= |
| 12385 |
|
|
| 12386 |
|
case $host_os in |
| 12387 |
|
beos*) |
| 12388 |
|
lt_cv_dlopen="load_add_on" |
| 12389 |
|
lt_cv_dlopen_libs= |
| 12390 |
|
lt_cv_dlopen_self=yes |
| 12391 |
|
;; |
| 12392 |
|
|
| 12393 |
|
mingw* | pw32*) |
| 12394 |
|
lt_cv_dlopen="LoadLibrary" |
| 12395 |
|
lt_cv_dlopen_libs= |
| 12396 |
|
;; |
| 12397 |
|
|
| 12398 |
|
cygwin*) |
| 12399 |
|
lt_cv_dlopen="dlopen" |
| 12400 |
|
lt_cv_dlopen_libs= |
| 12401 |
|
;; |
| 12402 |
|
|
| 12403 |
|
darwin*) |
| 12404 |
|
# if libdl is installed we need to link against it |
| 12405 |
|
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
| 12406 |
|
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
| 12407 |
|
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
| 12408 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12409 |
|
else |
| 12410 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12411 |
|
LIBS="-ldl $LIBS" |
| 12412 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 12413 |
|
/* confdefs.h. */ |
| 12414 |
|
_ACEOF |
| 12415 |
|
cat confdefs.h >>conftest.$ac_ext |
| 12416 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 12417 |
|
/* end confdefs.h. */ |
| 12418 |
|
|
| 12419 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
| 12420 |
|
#ifdef __cplusplus |
| 12421 |
|
extern "C" |
| 12422 |
|
#endif |
| 12423 |
|
/* We use char because int might match the return type of a gcc2 |
| 12424 |
|
builtin and then its argument prototype would still apply. */ |
| 12425 |
|
char dlopen (); |
| 12426 |
|
int |
| 12427 |
|
main () |
| 12428 |
|
{ |
| 12429 |
|
dlopen (); |
| 12430 |
|
; |
| 12431 |
|
return 0; |
| 12432 |
|
} |
| 12433 |
|
_ACEOF |
| 12434 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 12435 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 12436 |
|
(eval $ac_link) 2>conftest.er1 |
| 12437 |
|
ac_status=$? |
| 12438 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 12439 |
|
rm -f conftest.er1 |
| 12440 |
|
cat conftest.err >&5 |
| 12441 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12442 |
|
(exit $ac_status); } && |
| 12443 |
|
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 12444 |
|
|| test ! -s conftest.err' |
| 12445 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12446 |
|
(eval $ac_try) 2>&5 |
| 12447 |
|
ac_status=$? |
| 12448 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12449 |
|
(exit $ac_status); }; } && |
| 12450 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 12451 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12452 |
|
(eval $ac_try) 2>&5 |
| 12453 |
|
ac_status=$? |
| 12454 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12455 |
|
(exit $ac_status); }; }; then |
| 12456 |
|
ac_cv_lib_dl_dlopen=yes |
| 12457 |
|
else |
| 12458 |
|
echo "$as_me: failed program was:" >&5 |
| 12459 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12460 |
|
|
| 12461 |
|
ac_cv_lib_dl_dlopen=no |
| 12462 |
|
fi |
| 12463 |
|
rm -f conftest.err conftest.$ac_objext \ |
| 12464 |
|
conftest$ac_exeext conftest.$ac_ext |
| 12465 |
|
LIBS=$ac_check_lib_save_LIBS |
| 12466 |
|
fi |
| 12467 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
| 12468 |
|
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
| 12469 |
|
if test $ac_cv_lib_dl_dlopen = yes; then |
| 12470 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
| 12471 |
|
else |
| 12472 |
|
|
| 12473 |
|
lt_cv_dlopen="dyld" |
| 12474 |
|
lt_cv_dlopen_libs= |
| 12475 |
|
lt_cv_dlopen_self=yes |
| 12476 |
|
|
| 12477 |
|
fi |
| 12478 |
|
|
| 12479 |
|
;; |
| 12480 |
|
|
| 12481 |
|
*) |
| 12482 |
|
echo "$as_me:$LINENO: checking for shl_load" >&5 |
| 12483 |
|
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 |
| 12484 |
|
if test "${ac_cv_func_shl_load+set}" = set; then |
| 12485 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12486 |
|
else |
| 12487 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 12488 |
|
/* confdefs.h. */ |
| 12489 |
|
_ACEOF |
| 12490 |
|
cat confdefs.h >>conftest.$ac_ext |
| 12491 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 12492 |
|
/* end confdefs.h. */ |
| 12493 |
|
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
| 12494 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 12495 |
|
#define shl_load innocuous_shl_load |
| 12496 |
|
|
| 12497 |
|
/* System header to define __stub macros and hopefully few prototypes, |
| 12498 |
|
which can conflict with char shl_load (); below. |
| 12499 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 12500 |
|
<limits.h> exists even on freestanding compilers. */ |
| 12501 |
|
|
| 12502 |
|
#ifdef __STDC__ |
| 12503 |
|
# include <limits.h> |
| 12504 |
|
#else |
| 12505 |
|
# include <assert.h> |
| 12506 |
|
#endif |
| 12507 |
|
|
| 12508 |
|
#undef shl_load |
| 12509 |
|
|
| 12510 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
| 12511 |
|
#ifdef __cplusplus |
| 12512 |
|
extern "C" |
| 12513 |
|
{ |
| 12514 |
|
#endif |
| 12515 |
|
/* We use char because int might match the return type of a gcc2 |
| 12516 |
|
builtin and then its argument prototype would still apply. */ |
| 12517 |
|
char shl_load (); |
| 12518 |
|
/* The GNU C library defines this for functions which it implements |
| 12519 |
|
to always fail with ENOSYS. Some functions are actually named |
| 12520 |
|
something starting with __ and the normal name is an alias. */ |
| 12521 |
|
#if defined (__stub_shl_load) || defined (__stub___shl_load) |
| 12522 |
|
choke me |
| 12523 |
|
#else |
| 12524 |
|
char (*f) () = shl_load; |
| 12525 |
|
#endif |
| 12526 |
|
#ifdef __cplusplus |
| 12527 |
|
} |
| 12528 |
|
#endif |
| 12529 |
|
|
| 12530 |
|
int |
| 12531 |
|
main () |
| 12532 |
|
{ |
| 12533 |
|
return f != shl_load; |
| 12534 |
|
; |
| 12535 |
|
return 0; |
| 12536 |
|
} |
| 12537 |
|
_ACEOF |
| 12538 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 12539 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 12540 |
|
(eval $ac_link) 2>conftest.er1 |
| 12541 |
|
ac_status=$? |
| 12542 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 12543 |
|
rm -f conftest.er1 |
| 12544 |
|
cat conftest.err >&5 |
| 12545 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12546 |
|
(exit $ac_status); } && |
| 12547 |
|
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 12548 |
|
|| test ! -s conftest.err' |
| 12549 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12550 |
|
(eval $ac_try) 2>&5 |
| 12551 |
|
ac_status=$? |
| 12552 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12553 |
|
(exit $ac_status); }; } && |
| 12554 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 12555 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12556 |
|
(eval $ac_try) 2>&5 |
| 12557 |
|
ac_status=$? |
| 12558 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12559 |
|
(exit $ac_status); }; }; then |
| 12560 |
|
ac_cv_func_shl_load=yes |
| 12561 |
|
else |
| 12562 |
|
echo "$as_me: failed program was:" >&5 |
| 12563 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12564 |
|
|
| 12565 |
|
ac_cv_func_shl_load=no |
| 12566 |
|
fi |
| 12567 |
|
rm -f conftest.err conftest.$ac_objext \ |
| 12568 |
|
conftest$ac_exeext conftest.$ac_ext |
| 12569 |
|
fi |
| 12570 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
| 12571 |
|
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
| 12572 |
|
if test $ac_cv_func_shl_load = yes; then |
| 12573 |
|
lt_cv_dlopen="shl_load" |
| 12574 |
|
else |
| 12575 |
|
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
| 12576 |
|
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 |
| 12577 |
|
if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
| 12578 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12579 |
|
else |
| 12580 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12581 |
|
LIBS="-ldld $LIBS" |
| 12582 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 12583 |
|
/* confdefs.h. */ |
| 12584 |
|
_ACEOF |
| 12585 |
|
cat confdefs.h >>conftest.$ac_ext |
| 12586 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 12587 |
|
/* end confdefs.h. */ |
| 12588 |
|
|
| 12589 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
| 12590 |
|
#ifdef __cplusplus |
| 12591 |
|
extern "C" |
| 12592 |
|
#endif |
| 12593 |
|
/* We use char because int might match the return type of a gcc2 |
| 12594 |
|
builtin and then its argument prototype would still apply. */ |
| 12595 |
|
char shl_load (); |
| 12596 |
|
int |
| 12597 |
|
main () |
| 12598 |
|
{ |
| 12599 |
|
shl_load (); |
| 12600 |
|
; |
| 12601 |
|
return 0; |
| 12602 |
|
} |
| 12603 |
|
_ACEOF |
| 12604 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 12605 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 12606 |
|
(eval $ac_link) 2>conftest.er1 |
| 12607 |
|
ac_status=$? |
| 12608 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 12609 |
|
rm -f conftest.er1 |
| 12610 |
|
cat conftest.err >&5 |
| 12611 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12612 |
|
(exit $ac_status); } && |
| 12613 |
|
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 12614 |
|
|| test ! -s conftest.err' |
| 12615 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12616 |
|
(eval $ac_try) 2>&5 |
| 12617 |
|
ac_status=$? |
| 12618 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12619 |
|
(exit $ac_status); }; } && |
| 12620 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 12621 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12622 |
|
(eval $ac_try) 2>&5 |
| 12623 |
|
ac_status=$? |
| 12624 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12625 |
|
(exit $ac_status); }; }; then |
| 12626 |
|
ac_cv_lib_dld_shl_load=yes |
| 12627 |
|
else |
| 12628 |
|
echo "$as_me: failed program was:" >&5 |
| 12629 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12630 |
|
|
| 12631 |
|
ac_cv_lib_dld_shl_load=no |
| 12632 |
|
fi |
| 12633 |
|
rm -f conftest.err conftest.$ac_objext \ |
| 12634 |
|
conftest$ac_exeext conftest.$ac_ext |
| 12635 |
|
LIBS=$ac_check_lib_save_LIBS |
| 12636 |
|
fi |
| 12637 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
| 12638 |
|
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 |
| 12639 |
|
if test $ac_cv_lib_dld_shl_load = yes; then |
| 12640 |
|
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" |
| 12641 |
|
else |
| 12642 |
|
echo "$as_me:$LINENO: checking for dlopen" >&5 |
| 12643 |
|
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 |
| 12644 |
|
if test "${ac_cv_func_dlopen+set}" = set; then |
| 12645 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12646 |
|
else |
| 12647 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 12648 |
|
/* confdefs.h. */ |
| 12649 |
|
_ACEOF |
| 12650 |
|
cat confdefs.h >>conftest.$ac_ext |
| 12651 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 12652 |
|
/* end confdefs.h. */ |
| 12653 |
|
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
| 12654 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 12655 |
|
#define dlopen innocuous_dlopen |
| 12656 |
|
|
| 12657 |
|
/* System header to define __stub macros and hopefully few prototypes, |
| 12658 |
|
which can conflict with char dlopen (); below. |
| 12659 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 12660 |
|
<limits.h> exists even on freestanding compilers. */ |
| 12661 |
|
|
| 12662 |
|
#ifdef __STDC__ |
| 12663 |
|
# include <limits.h> |
| 12664 |
|
#else |
| 12665 |
|
# include <assert.h> |
| 12666 |
|
#endif |
| 12667 |
|
|
| 12668 |
|
#undef dlopen |
| 12669 |
|
|
| 12670 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
| 12671 |
|
#ifdef __cplusplus |
| 12672 |
|
extern "C" |
| 12673 |
|
{ |
| 12674 |
|
#endif |
| 12675 |
|
/* We use char because int might match the return type of a gcc2 |
| 12676 |
|
builtin and then its argument prototype would still apply. */ |
| 12677 |
|
char dlopen (); |
| 12678 |
|
/* The GNU C library defines this for functions which it implements |
| 12679 |
|
to always fail with ENOSYS. Some functions are actually named |
| 12680 |
|
something starting with __ and the normal name is an alias. */ |
| 12681 |
|
#if defined (__stub_dlopen) || defined (__stub___dlopen) |
| 12682 |
|
choke me |
| 12683 |
|
#else |
| 12684 |
|
char (*f) () = dlopen; |
| 12685 |
|
#endif |
| 12686 |
|
#ifdef __cplusplus |
| 12687 |
|
} |
| 12688 |
|
#endif |
| 12689 |
|
|
| 12690 |
|
int |
| 12691 |
|
main () |
| 12692 |
|
{ |
| 12693 |
|
return f != dlopen; |
| 12694 |
|
; |
| 12695 |
|
return 0; |
| 12696 |
|
} |
| 12697 |
|
_ACEOF |
| 12698 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 12699 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 12700 |
|
(eval $ac_link) 2>conftest.er1 |
| 12701 |
|
ac_status=$? |
| 12702 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 12703 |
|
rm -f conftest.er1 |
| 12704 |
|
cat conftest.err >&5 |
| 12705 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12706 |
|
(exit $ac_status); } && |
| 12707 |
|
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 12708 |
|
|| test ! -s conftest.err' |
| 12709 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12710 |
|
(eval $ac_try) 2>&5 |
| 12711 |
|
ac_status=$? |
| 12712 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12713 |
|
(exit $ac_status); }; } && |
| 12714 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 12715 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12716 |
|
(eval $ac_try) 2>&5 |
| 12717 |
|
ac_status=$? |
| 12718 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12719 |
|
(exit $ac_status); }; }; then |
| 12720 |
|
ac_cv_func_dlopen=yes |
| 12721 |
|
else |
| 12722 |
|
echo "$as_me: failed program was:" >&5 |
| 12723 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12724 |
|
|
| 12725 |
|
ac_cv_func_dlopen=no |
| 12726 |
|
fi |
| 12727 |
|
rm -f conftest.err conftest.$ac_objext \ |
| 12728 |
|
conftest$ac_exeext conftest.$ac_ext |
| 12729 |
|
fi |
| 12730 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
| 12731 |
|
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
| 12732 |
|
if test $ac_cv_func_dlopen = yes; then |
| 12733 |
|
lt_cv_dlopen="dlopen" |
| 12734 |
|
else |
| 12735 |
|
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
| 12736 |
|
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
| 12737 |
|
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
| 12738 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12739 |
|
else |
| 12740 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12741 |
|
LIBS="-ldl $LIBS" |
| 12742 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 12743 |
|
/* confdefs.h. */ |
| 12744 |
|
_ACEOF |
| 12745 |
|
cat confdefs.h >>conftest.$ac_ext |
| 12746 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 12747 |
|
/* end confdefs.h. */ |
| 12748 |
|
|
| 12749 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
| 12750 |
|
#ifdef __cplusplus |
| 12751 |
|
extern "C" |
| 12752 |
|
#endif |
| 12753 |
|
/* We use char because int might match the return type of a gcc2 |
| 12754 |
|
builtin and then its argument prototype would still apply. */ |
| 12755 |
|
char dlopen (); |
| 12756 |
|
int |
| 12757 |
|
main () |
| 12758 |
|
{ |
| 12759 |
|
dlopen (); |
| 12760 |
|
; |
| 12761 |
|
return 0; |
| 12762 |
|
} |
| 12763 |
|
_ACEOF |
| 12764 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 12765 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 12766 |
|
(eval $ac_link) 2>conftest.er1 |
| 12767 |
|
ac_status=$? |
| 12768 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 12769 |
|
rm -f conftest.er1 |
| 12770 |
|
cat conftest.err >&5 |
| 12771 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12772 |
|
(exit $ac_status); } && |
| 12773 |
|
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 12774 |
|
|| test ! -s conftest.err' |
| 12775 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12776 |
|
(eval $ac_try) 2>&5 |
| 12777 |
|
ac_status=$? |
| 12778 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12779 |
|
(exit $ac_status); }; } && |
| 12780 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 12781 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12782 |
|
(eval $ac_try) 2>&5 |
| 12783 |
|
ac_status=$? |
| 12784 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12785 |
|
(exit $ac_status); }; }; then |
| 12786 |
|
ac_cv_lib_dl_dlopen=yes |
| 12787 |
|
else |
| 12788 |
|
echo "$as_me: failed program was:" >&5 |
| 12789 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12790 |
|
|
| 12791 |
|
ac_cv_lib_dl_dlopen=no |
| 12792 |
|
fi |
| 12793 |
|
rm -f conftest.err conftest.$ac_objext \ |
| 12794 |
|
conftest$ac_exeext conftest.$ac_ext |
| 12795 |
|
LIBS=$ac_check_lib_save_LIBS |
| 12796 |
|
fi |
| 12797 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
| 12798 |
|
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
| 12799 |
|
if test $ac_cv_lib_dl_dlopen = yes; then |
| 12800 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
| 12801 |
|
else |
| 12802 |
|
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
| 12803 |
|
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 |
| 12804 |
|
if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
| 12805 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12806 |
|
else |
| 12807 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12808 |
|
LIBS="-lsvld $LIBS" |
| 12809 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 12810 |
|
/* confdefs.h. */ |
| 12811 |
|
_ACEOF |
| 12812 |
|
cat confdefs.h >>conftest.$ac_ext |
| 12813 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 12814 |
|
/* end confdefs.h. */ |
| 12815 |
|
|
| 12816 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
| 12817 |
|
#ifdef __cplusplus |
| 12818 |
|
extern "C" |
| 12819 |
|
#endif |
| 12820 |
|
/* We use char because int might match the return type of a gcc2 |
| 12821 |
|
builtin and then its argument prototype would still apply. */ |
| 12822 |
|
char dlopen (); |
| 12823 |
|
int |
| 12824 |
|
main () |
| 12825 |
|
{ |
| 12826 |
|
dlopen (); |
| 12827 |
|
; |
| 12828 |
|
return 0; |
| 12829 |
|
} |
| 12830 |
|
_ACEOF |
| 12831 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 12832 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 12833 |
|
(eval $ac_link) 2>conftest.er1 |
| 12834 |
|
ac_status=$? |
| 12835 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 12836 |
|
rm -f conftest.er1 |
| 12837 |
|
cat conftest.err >&5 |
| 12838 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12839 |
|
(exit $ac_status); } && |
| 12840 |
|
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 12841 |
|
|| test ! -s conftest.err' |
| 12842 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12843 |
|
(eval $ac_try) 2>&5 |
| 12844 |
|
ac_status=$? |
| 12845 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12846 |
|
(exit $ac_status); }; } && |
| 12847 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 12848 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12849 |
|
(eval $ac_try) 2>&5 |
| 12850 |
|
ac_status=$? |
| 12851 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12852 |
|
(exit $ac_status); }; }; then |
| 12853 |
|
ac_cv_lib_svld_dlopen=yes |
| 12854 |
|
else |
| 12855 |
|
echo "$as_me: failed program was:" >&5 |
| 12856 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12857 |
|
|
| 12858 |
|
ac_cv_lib_svld_dlopen=no |
| 12859 |
|
fi |
| 12860 |
|
rm -f conftest.err conftest.$ac_objext \ |
| 12861 |
|
conftest$ac_exeext conftest.$ac_ext |
| 12862 |
|
LIBS=$ac_check_lib_save_LIBS |
| 12863 |
|
fi |
| 12864 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
| 12865 |
|
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 |
| 12866 |
|
if test $ac_cv_lib_svld_dlopen = yes; then |
| 12867 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
| 12868 |
|
else |
| 12869 |
|
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
| 12870 |
|
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 |
| 12871 |
|
if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
| 12872 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12873 |
|
else |
| 12874 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12875 |
|
LIBS="-ldld $LIBS" |
| 12876 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 12877 |
|
/* confdefs.h. */ |
| 12878 |
|
_ACEOF |
| 12879 |
|
cat confdefs.h >>conftest.$ac_ext |
| 12880 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 12881 |
|
/* end confdefs.h. */ |
| 12882 |
|
|
| 12883 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
| 12884 |
|
#ifdef __cplusplus |
| 12885 |
|
extern "C" |
| 12886 |
|
#endif |
| 12887 |
|
/* We use char because int might match the return type of a gcc2 |
| 12888 |
|
builtin and then its argument prototype would still apply. */ |
| 12889 |
|
char dld_link (); |
| 12890 |
|
int |
| 12891 |
|
main () |
| 12892 |
|
{ |
| 12893 |
|
dld_link (); |
| 12894 |
|
; |
| 12895 |
|
return 0; |
| 12896 |
|
} |
| 12897 |
|
_ACEOF |
| 12898 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 12899 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 12900 |
|
(eval $ac_link) 2>conftest.er1 |
| 12901 |
|
ac_status=$? |
| 12902 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 12903 |
|
rm -f conftest.er1 |
| 12904 |
|
cat conftest.err >&5 |
| 12905 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12906 |
|
(exit $ac_status); } && |
| 12907 |
|
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 12908 |
|
|| test ! -s conftest.err' |
| 12909 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12910 |
|
(eval $ac_try) 2>&5 |
| 12911 |
|
ac_status=$? |
| 12912 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12913 |
|
(exit $ac_status); }; } && |
| 12914 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 12915 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12916 |
|
(eval $ac_try) 2>&5 |
| 12917 |
|
ac_status=$? |
| 12918 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12919 |
|
(exit $ac_status); }; }; then |
| 12920 |
|
ac_cv_lib_dld_dld_link=yes |
| 12921 |
|
else |
| 12922 |
|
echo "$as_me: failed program was:" >&5 |
| 12923 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12924 |
|
|
| 12925 |
|
ac_cv_lib_dld_dld_link=no |
| 12926 |
|
fi |
| 12927 |
|
rm -f conftest.err conftest.$ac_objext \ |
| 12928 |
|
conftest$ac_exeext conftest.$ac_ext |
| 12929 |
|
LIBS=$ac_check_lib_save_LIBS |
| 12930 |
|
fi |
| 12931 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
| 12932 |
|
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 |
| 12933 |
|
if test $ac_cv_lib_dld_dld_link = yes; then |
| 12934 |
|
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" |
| 12935 |
|
fi |
| 12936 |
|
|
| 12937 |
|
|
| 12938 |
|
fi |
| 12939 |
|
|
| 12940 |
|
|
| 12941 |
|
fi |
| 12942 |
|
|
| 12943 |
|
|
| 12944 |
|
fi |
| 12945 |
|
|
| 12946 |
|
|
| 12947 |
|
fi |
| 12948 |
|
|
| 12949 |
|
|
| 12950 |
|
fi |
| 12951 |
|
|
| 12952 |
|
;; |
| 12953 |
|
esac |
| 12954 |
|
|
| 12955 |
|
if test "x$lt_cv_dlopen" != xno; then |
| 12956 |
|
enable_dlopen=yes |
| 12957 |
|
else |
| 12958 |
|
enable_dlopen=no |
| 12959 |
|
fi |
| 12960 |
|
|
| 12961 |
|
case $lt_cv_dlopen in |
| 12962 |
|
dlopen) |
| 12963 |
|
save_CPPFLAGS="$CPPFLAGS" |
| 12964 |
|
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
| 12965 |
|
|
| 12966 |
|
save_LDFLAGS="$LDFLAGS" |
| 12967 |
|
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
| 12968 |
|
|
| 12969 |
|
save_LIBS="$LIBS" |
| 12970 |
|
LIBS="$lt_cv_dlopen_libs $LIBS" |
| 12971 |
|
|
| 12972 |
|
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
| 12973 |
|
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 |
| 12974 |
|
if test "${lt_cv_dlopen_self+set}" = set; then |
| 12975 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12976 |
|
else |
| 12977 |
|
if test "$cross_compiling" = yes; then : |
| 12978 |
|
lt_cv_dlopen_self=cross |
| 12979 |
|
else |
| 12980 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 12981 |
|
lt_status=$lt_dlunknown |
| 12982 |
|
cat > conftest.$ac_ext <<EOF |
| 12983 |
|
#line 12983 "configure" |
| 12984 |
|
#include "confdefs.h" |
| 12985 |
|
|
| 12986 |
|
#if HAVE_DLFCN_H |
| 12987 |
|
#include <dlfcn.h> |
| 12988 |
|
#endif |
| 12989 |
|
|
| 12990 |
|
#include <stdio.h> |
| 12991 |
|
|
| 12992 |
|
#ifdef RTLD_GLOBAL |
| 12993 |
|
# define LT_DLGLOBAL RTLD_GLOBAL |
| 12994 |
|
#else |
| 12995 |
|
# ifdef DL_GLOBAL |
| 12996 |
|
# define LT_DLGLOBAL DL_GLOBAL |
| 12997 |
|
# else |
| 12998 |
|
# define LT_DLGLOBAL 0 |
| 12999 |
|
# endif |
| 13000 |
|
#endif |
| 13001 |
|
|
| 13002 |
|
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
| 13003 |
|
find out it does not work in some platform. */ |
| 13004 |
|
#ifndef LT_DLLAZY_OR_NOW |
| 13005 |
|
# ifdef RTLD_LAZY |
| 13006 |
|
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
| 13007 |
|
# else |
| 13008 |
|
# ifdef DL_LAZY |
| 13009 |
|
# define LT_DLLAZY_OR_NOW DL_LAZY |
| 13010 |
|
# else |
| 13011 |
|
# ifdef RTLD_NOW |
| 13012 |
|
# define LT_DLLAZY_OR_NOW RTLD_NOW |
| 13013 |
|
# else |
| 13014 |
|
# ifdef DL_NOW |
| 13015 |
|
# define LT_DLLAZY_OR_NOW DL_NOW |
| 13016 |
|
# else |
| 13017 |
|
# define LT_DLLAZY_OR_NOW 0 |
| 13018 |
|
# endif |
| 13019 |
|
# endif |
| 13020 |
|
# endif |
| 13021 |
|
# endif |
| 13022 |
|
#endif |
| 13023 |
|
|
| 13024 |
|
#ifdef __cplusplus |
| 13025 |
|
extern "C" void exit (int); |
| 13026 |
|
#endif |
| 13027 |
|
|
| 13028 |
|
void fnord() { int i=42;} |
| 13029 |
|
int main () |
| 13030 |
|
{ |
| 13031 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 13032 |
|
int status = $lt_dlunknown; |
| 13033 |
|
|
| 13034 |
|
if (self) |
| 13035 |
|
{ |
| 13036 |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 13037 |
|
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 13038 |
|
/* dlclose (self); */ |
| 13039 |
|
} |
| 13040 |
|
|
| 13041 |
|
exit (status); |
| 13042 |
|
} |
| 13043 |
|
EOF |
| 13044 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 13045 |
|
(eval $ac_link) 2>&5 |
| 13046 |
|
ac_status=$? |
| 13047 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13048 |
|
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
| 13049 |
|
(./conftest; exit; ) >&5 2>/dev/null |
| 13050 |
|
lt_status=$? |
| 13051 |
|
case x$lt_status in |
| 13052 |
|
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
| 13053 |
|
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
| 13054 |
|
x$lt_unknown|x*) lt_cv_dlopen_self=no ;; |
| 13055 |
|
esac |
| 13056 |
|
else : |
| 13057 |
|
# compilation failed |
| 13058 |
|
lt_cv_dlopen_self=no |
| 13059 |
|
fi |
| 13060 |
|
fi |
| 13061 |
|
rm -fr conftest* |
| 13062 |
|
|
| 13063 |
|
|
| 13064 |
|
fi |
| 13065 |
|
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
| 13066 |
|
echo "${ECHO_T}$lt_cv_dlopen_self" >&6 |
| 13067 |
|
|
| 13068 |
|
if test "x$lt_cv_dlopen_self" = xyes; then |
| 13069 |
|
LDFLAGS="$LDFLAGS $link_static_flag" |
| 13070 |
|
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
| 13071 |
|
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 |
| 13072 |
|
if test "${lt_cv_dlopen_self_static+set}" = set; then |
| 13073 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13074 |
|
else |
| 13075 |
|
if test "$cross_compiling" = yes; then : |
| 13076 |
|
lt_cv_dlopen_self_static=cross |
| 13077 |
|
else |
| 13078 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 13079 |
|
lt_status=$lt_dlunknown |
| 13080 |
|
cat > conftest.$ac_ext <<EOF |
| 13081 |
|
#line 13081 "configure" |
| 13082 |
|
#include "confdefs.h" |
| 13083 |
|
|
| 13084 |
|
#if HAVE_DLFCN_H |
| 13085 |
|
#include <dlfcn.h> |
| 13086 |
|
#endif |
| 13087 |
|
|
| 13088 |
|
#include <stdio.h> |
| 13089 |
|
|
| 13090 |
|
#ifdef RTLD_GLOBAL |
| 13091 |
|
# define LT_DLGLOBAL RTLD_GLOBAL |
| 13092 |
|
#else |
| 13093 |
|
# ifdef DL_GLOBAL |
| 13094 |
|
# define LT_DLGLOBAL DL_GLOBAL |
| 13095 |
|
# else |
| 13096 |
|
# define LT_DLGLOBAL 0 |
| 13097 |
|
# endif |
| 13098 |
|
#endif |
| 13099 |
|
|
| 13100 |
|
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
| 13101 |
|
find out it does not work in some platform. */ |
| 13102 |
|
#ifndef LT_DLLAZY_OR_NOW |
| 13103 |
|
# ifdef RTLD_LAZY |
| 13104 |
|
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
| 13105 |
|
# else |
| 13106 |
|
# ifdef DL_LAZY |
| 13107 |
|
# define LT_DLLAZY_OR_NOW DL_LAZY |
| 13108 |
|
# else |
| 13109 |
|
# ifdef RTLD_NOW |
| 13110 |
|
# define LT_DLLAZY_OR_NOW RTLD_NOW |
| 13111 |
|
# else |
| 13112 |
|
# ifdef DL_NOW |
| 13113 |
|
# define LT_DLLAZY_OR_NOW DL_NOW |
| 13114 |
|
# else |
| 13115 |
|
# define LT_DLLAZY_OR_NOW 0 |
| 13116 |
|
# endif |
| 13117 |
|
# endif |
| 13118 |
|
# endif |
| 13119 |
|
# endif |
| 13120 |
|
#endif |
| 13121 |
|
|
| 13122 |
|
#ifdef __cplusplus |
| 13123 |
|
extern "C" void exit (int); |
| 13124 |
|
#endif |
| 13125 |
|
|
| 13126 |
|
void fnord() { int i=42;} |
| 13127 |
|
int main () |
| 13128 |
|
{ |
| 13129 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 13130 |
|
int status = $lt_dlunknown; |
| 13131 |
|
|
| 13132 |
|
if (self) |
| 13133 |
|
{ |
| 13134 |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 13135 |
|
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 13136 |
|
/* dlclose (self); */ |
| 13137 |
|
} |
| 13138 |
|
|
| 13139 |
|
exit (status); |
| 13140 |
|
} |
| 13141 |
|
EOF |
| 13142 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 13143 |
|
(eval $ac_link) 2>&5 |
| 13144 |
|
ac_status=$? |
| 13145 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13146 |
|
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
| 13147 |
|
(./conftest; exit; ) >&5 2>/dev/null |
| 13148 |
|
lt_status=$? |
| 13149 |
|
case x$lt_status in |
| 13150 |
|
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
| 13151 |
|
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
| 13152 |
|
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; |
| 13153 |
|
esac |
| 13154 |
|
else : |
| 13155 |
|
# compilation failed |
| 13156 |
|
lt_cv_dlopen_self_static=no |
| 13157 |
|
fi |
| 13158 |
|
fi |
| 13159 |
|
rm -fr conftest* |
| 13160 |
|
|
| 13161 |
|
|
| 13162 |
|
fi |
| 13163 |
|
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
| 13164 |
|
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 |
| 13165 |
|
fi |
| 13166 |
|
|
| 13167 |
|
CPPFLAGS="$save_CPPFLAGS" |
| 13168 |
|
LDFLAGS="$save_LDFLAGS" |
| 13169 |
|
LIBS="$save_LIBS" |
| 13170 |
|
;; |
| 13171 |
|
esac |
| 13172 |
|
|
| 13173 |
|
case $lt_cv_dlopen_self in |
| 13174 |
|
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
| 13175 |
|
*) enable_dlopen_self=unknown ;; |
| 13176 |
|
esac |
| 13177 |
|
|
| 13178 |
|
case $lt_cv_dlopen_self_static in |
| 13179 |
|
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
| 13180 |
|
*) enable_dlopen_self_static=unknown ;; |
| 13181 |
|
esac |
| 13182 |
|
fi |
| 13183 |
|
|
| 13184 |
|
|
| 13185 |
# The else clause should only fire when bootstrapping the |
# The else clause should only fire when bootstrapping the |
| 13186 |
# libtool distribution, otherwise you forgot to ship ltmain.sh |
# libtool distribution, otherwise you forgot to ship ltmain.sh |
| 13195 |
# Now quote all the things that may contain metacharacters while being |
# Now quote all the things that may contain metacharacters while being |
| 13196 |
# 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 |
| 13197 |
# variables and quote the copies for generation of the libtool script. |
# variables and quote the copies for generation of the libtool script. |
| 13198 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ |
| 13199 |
SED SHELL STRIP \ |
SED SHELL STRIP \ |
| 13200 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
| 13201 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
| 13313 |
# A C compiler. |
# A C compiler. |
| 13314 |
LTCC=$lt_LTCC |
LTCC=$lt_LTCC |
| 13315 |
|
|
|
# LTCC compiler flags. |
|
|
LTCFLAGS=$lt_LTCFLAGS |
|
|
|
|
| 13316 |
# A language-specific compiler. |
# A language-specific compiler. |
| 13317 |
CC=$lt_compiler_CXX |
CC=$lt_compiler_CXX |
| 13318 |
|
|
| 13655 |
# If no C compiler was specified, use CC. |
# If no C compiler was specified, use CC. |
| 13656 |
LTCC=${LTCC-"$CC"} |
LTCC=${LTCC-"$CC"} |
| 13657 |
|
|
|
# If no C compiler flags were specified, use CFLAGS. |
|
|
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
|
|
|
| 13658 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
| 13659 |
compiler=$CC |
compiler=$CC |
| 13660 |
|
|
| 13662 |
# save warnings/boilerplate of simple test code |
# save warnings/boilerplate of simple test code |
| 13663 |
ac_outfile=conftest.$ac_objext |
ac_outfile=conftest.$ac_objext |
| 13664 |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
| 13665 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
| 13666 |
_lt_compiler_boilerplate=`cat conftest.err` |
_lt_compiler_boilerplate=`cat conftest.err` |
| 13667 |
$rm conftest* |
$rm conftest* |
| 13668 |
|
|
| 13669 |
ac_outfile=conftest.$ac_objext |
ac_outfile=conftest.$ac_objext |
| 13670 |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
| 13671 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
| 13672 |
_lt_linker_boilerplate=`cat conftest.err` |
_lt_linker_boilerplate=`cat conftest.err` |
| 13673 |
$rm conftest* |
$rm conftest* |
| 13674 |
|
|
| 13724 |
echo "$as_me:$LINENO: result: $enable_static" >&5 |
echo "$as_me:$LINENO: result: $enable_static" >&5 |
| 13725 |
echo "${ECHO_T}$enable_static" >&6 |
echo "${ECHO_T}$enable_static" >&6 |
| 13726 |
|
|
| 13727 |
|
test "$ld_shlibs_F77" = no && can_build_shared=no |
| 13728 |
|
|
| 13729 |
GCC_F77="$G77" |
GCC_F77="$G77" |
| 13730 |
LD_F77="$LD" |
LD_F77="$LD" |
| 13731 |
|
|
| 13772 |
lt_prog_compiler_pic_F77='-fno-common' |
lt_prog_compiler_pic_F77='-fno-common' |
| 13773 |
;; |
;; |
| 13774 |
|
|
|
interix3*) |
|
|
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
|
# Instead, we relocate shared libraries at runtime. |
|
|
;; |
|
|
|
|
| 13775 |
msdosdjgpp*) |
msdosdjgpp*) |
| 13776 |
# 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 |
| 13777 |
# on systems that don't support them. |
# on systems that don't support them. |
| 13886 |
lt_prog_compiler_static_F77='-non_shared' |
lt_prog_compiler_static_F77='-non_shared' |
| 13887 |
;; |
;; |
| 13888 |
|
|
| 13889 |
|
sco3.2v5*) |
| 13890 |
|
lt_prog_compiler_pic_F77='-Kpic' |
| 13891 |
|
lt_prog_compiler_static_F77='-dn' |
| 13892 |
|
;; |
| 13893 |
|
|
| 13894 |
solaris*) |
solaris*) |
| 13895 |
lt_prog_compiler_pic_F77='-KPIC' |
lt_prog_compiler_pic_F77='-KPIC' |
| 13896 |
lt_prog_compiler_static_F77='-Bstatic' |
lt_prog_compiler_static_F77='-Bstatic' |
| 13908 |
lt_prog_compiler_static_F77='-Bstatic' |
lt_prog_compiler_static_F77='-Bstatic' |
| 13909 |
;; |
;; |
| 13910 |
|
|
| 13911 |
sysv4 | sysv4.2uw2* | sysv4.3*) |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
| 13912 |
lt_prog_compiler_wl_F77='-Wl,' |
lt_prog_compiler_wl_F77='-Wl,' |
| 13913 |
lt_prog_compiler_pic_F77='-KPIC' |
lt_prog_compiler_pic_F77='-KPIC' |
| 13914 |
lt_prog_compiler_static_F77='-Bstatic' |
lt_prog_compiler_static_F77='-Bstatic' |
| 13921 |
fi |
fi |
| 13922 |
;; |
;; |
| 13923 |
|
|
|
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
|
|
lt_prog_compiler_wl_F77='-Wl,' |
|
|
lt_prog_compiler_pic_F77='-KPIC' |
|
|
lt_prog_compiler_static_F77='-Bstatic' |
|
|
;; |
|
|
|
|
| 13924 |
unicos*) |
unicos*) |
| 13925 |
lt_prog_compiler_wl_F77='-Wl,' |
lt_prog_compiler_wl_F77='-Wl,' |
| 13926 |
lt_prog_compiler_can_build_shared_F77=no |
lt_prog_compiler_can_build_shared_F77=no |
| 13963 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 13964 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 13965 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 13966 |
(eval echo "\"\$as_me:13492: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:13966: $lt_compile\"" >&5) |
| 13967 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 13968 |
ac_status=$? |
ac_status=$? |
| 13969 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 13970 |
echo "$as_me:13496: \$? = $ac_status" >&5 |
echo "$as_me:13970: \$? = $ac_status" >&5 |
| 13971 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 13972 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 13973 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 13974 |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
| 13975 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
$SED '/^$/d' conftest.err >conftest.er2 |
| 13976 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
| 13977 |
lt_prog_compiler_pic_works_F77=yes |
lt_prog_compiler_pic_works_F77=yes |
| 13978 |
fi |
fi |
| 13979 |
fi |
fi |
| 14004 |
;; |
;; |
| 14005 |
esac |
esac |
| 14006 |
|
|
|
# |
|
|
# Check to make sure the static flag actually works. |
|
|
# |
|
|
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" |
|
|
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
|
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 |
|
|
if test "${lt_prog_compiler_static_works_F77+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
lt_prog_compiler_static_works_F77=no |
|
|
save_LDFLAGS="$LDFLAGS" |
|
|
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
|
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 -e '/^$/d' > conftest.exp |
|
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
|
if diff conftest.exp conftest.er2 >/dev/null; then |
|
|
lt_prog_compiler_static_works_F77=yes |
|
|
fi |
|
|
else |
|
|
lt_prog_compiler_static_works_F77=yes |
|
|
fi |
|
|
fi |
|
|
$rm conftest* |
|
|
LDFLAGS="$save_LDFLAGS" |
|
|
|
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5 |
|
|
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6 |
|
|
|
|
|
if test x"$lt_prog_compiler_static_works_F77" = xyes; then |
|
|
: |
|
|
else |
|
|
lt_prog_compiler_static_F77= |
|
|
fi |
|
|
|
|
|
|
|
| 14007 |
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 |
| 14008 |
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 |
| 14009 |
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then |
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then |
| 14025 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 14026 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 14027 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 14028 |
(eval echo "\"\$as_me:13596: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:14028: $lt_compile\"" >&5) |
| 14029 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 14030 |
ac_status=$? |
ac_status=$? |
| 14031 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 14032 |
echo "$as_me:13600: \$? = $ac_status" >&5 |
echo "$as_me:14032: \$? = $ac_status" >&5 |
| 14033 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 14034 |
then |
then |
| 14035 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 14036 |
# So say no if there are warnings |
# So say no if there are warnings |
| 14037 |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
| 14038 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
| 14039 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 14040 |
lt_cv_prog_compiler_c_o_F77=yes |
lt_cv_prog_compiler_c_o_F77=yes |
| 14041 |
fi |
fi |
| 14042 |
fi |
fi |
| 14136 |
with_gnu_ld=no |
with_gnu_ld=no |
| 14137 |
fi |
fi |
| 14138 |
;; |
;; |
|
interix*) |
|
|
# we just hope/assume this is gcc and not c89 (= MSVC++) |
|
|
with_gnu_ld=yes |
|
|
;; |
|
| 14139 |
openbsd*) |
openbsd*) |
| 14140 |
with_gnu_ld=no |
with_gnu_ld=no |
| 14141 |
;; |
;; |
| 14220 |
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' |
| 14221 |
|
|
| 14222 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
| 14223 |
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
| 14224 |
# If the export-symbols file already is a .def file (1st line |
# If the export-symbols file already is a .def file (1st line |
| 14225 |
# is EXPORTS), use it as is; otherwise, prepend... |
# is EXPORTS), use it as is; otherwise, prepend... |
| 14226 |
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 |
| 14229 |
echo EXPORTS > $output_objdir/$soname.def; |
echo EXPORTS > $output_objdir/$soname.def; |
| 14230 |
cat $export_symbols >> $output_objdir/$soname.def; |
cat $export_symbols >> $output_objdir/$soname.def; |
| 14231 |
fi~ |
fi~ |
| 14232 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
| 14233 |
else |
else |
| 14234 |
ld_shlibs_F77=no |
ld_shlibs_F77=no |
| 14235 |
fi |
fi |
| 14236 |
;; |
;; |
| 14237 |
|
|
|
interix3*) |
|
|
hardcode_direct_F77=no |
|
|
hardcode_shlibpath_var_F77=no |
|
|
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
|
|
export_dynamic_flag_spec_F77='${wl}-E' |
|
|
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
|
# Instead, shared libraries are loaded at an image base (0x10000000 by |
|
|
# default) and relocated if they conflict, which is a slow very memory |
|
|
# consuming and fragmenting process. To avoid this, we pick a random, |
|
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
|
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
|
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' |
|
|
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' |
|
|
;; |
|
|
|
|
| 14238 |
linux*) |
linux*) |
| 14239 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
| 14240 |
tmp_addflag= |
tmp_addflag= |
| 14276 |
fi |
fi |
| 14277 |
;; |
;; |
| 14278 |
|
|
| 14279 |
solaris*) |
solaris* | sysv5*) |
| 14280 |
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
| 14281 |
ld_shlibs_F77=no |
ld_shlibs_F77=no |
| 14282 |
cat <<EOF 1>&2 |
cat <<EOF 1>&2 |
| 14297 |
fi |
fi |
| 14298 |
;; |
;; |
| 14299 |
|
|
|
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
|
|
case `$LD -v 2>&1` in |
|
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
|
ld_shlibs_F77=no |
|
|
cat <<_LT_EOF 1>&2 |
|
|
|
|
|
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
|
|
*** reliably create shared libraries on SCO systems. Therefore, libtool |
|
|
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
|
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
|
*** your PATH or compiler configuration so that the native linker is |
|
|
*** used, and then restart. |
|
|
|
|
|
_LT_EOF |
|
|
;; |
|
|
*) |
|
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
|
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' |
|
|
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' |
|
|
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' |
|
|
else |
|
|
ld_shlibs_F77=no |
|
|
fi |
|
|
;; |
|
|
esac |
|
|
;; |
|
|
|
|
| 14300 |
sunos4*) |
sunos4*) |
| 14301 |
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' |
| 14302 |
wlarc= |
wlarc= |
| 14330 |
# Note: this linker hardcodes the directories in LIBPATH if there |
# Note: this linker hardcodes the directories in LIBPATH if there |
| 14331 |
# are no directories specified by -L. |
# are no directories specified by -L. |
| 14332 |
hardcode_minus_L_F77=yes |
hardcode_minus_L_F77=yes |
| 14333 |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
if test "$GCC" = yes && test -z "$link_static_flag"; then |
| 14334 |
# Neither direct hardcoding nor static linking is supported with a |
# Neither direct hardcoding nor static linking is supported with a |
| 14335 |
# broken collect2. |
# broken collect2. |
| 14336 |
hardcode_direct_F77=unsupported |
hardcode_direct_F77=unsupported |
| 14364 |
break |
break |
| 14365 |
fi |
fi |
| 14366 |
done |
done |
|
;; |
|
| 14367 |
esac |
esac |
| 14368 |
|
|
| 14369 |
exp_sym_flag='-bexport' |
exp_sym_flag='-bexport' |
| 14401 |
hardcode_libdir_flag_spec_F77='-L$libdir' |
hardcode_libdir_flag_spec_F77='-L$libdir' |
| 14402 |
hardcode_libdir_separator_F77= |
hardcode_libdir_separator_F77= |
| 14403 |
fi |
fi |
|
;; |
|
| 14404 |
esac |
esac |
| 14405 |
shared_flag='-shared' |
shared_flag='-shared' |
| 14406 |
if test "$aix_use_runtimelinking" = yes; then |
if test "$aix_use_runtimelinking" = yes; then |
| 14413 |
# chokes on -Wl,-G. The following line is correct: |
# chokes on -Wl,-G. The following line is correct: |
| 14414 |
shared_flag='-G' |
shared_flag='-G' |
| 14415 |
else |
else |
| 14416 |
if test "$aix_use_runtimelinking" = yes; then |
if test "$aix_use_runtimelinking" = yes; then |
| 14417 |
shared_flag='${wl}-G' |
shared_flag='${wl}-G' |
| 14418 |
else |
else |
| 14419 |
shared_flag='${wl}-bM:SRE' |
shared_flag='${wl}-bM:SRE' |
| 14420 |
fi |
fi |
| 14421 |
fi |
fi |
| 14422 |
fi |
fi |
| 14423 |
|
|
| 14472 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 14473 |
|
|
| 14474 |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 14475 |
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" |
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" |
| 14476 |
else |
else |
| 14477 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
| 14478 |
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' |
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' |
| 14479 |
allow_undefined_flag_F77="-z nodefs" |
allow_undefined_flag_F77="-z nodefs" |
| 14480 |
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" |
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" |
| 14481 |
else |
else |
| 14482 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
| 14483 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| 14527 |
# -berok will link without error, but may produce a broken library. |
# -berok will link without error, but may produce a broken library. |
| 14528 |
no_undefined_flag_F77=' ${wl}-bernotok' |
no_undefined_flag_F77=' ${wl}-bernotok' |
| 14529 |
allow_undefined_flag_F77=' ${wl}-berok' |
allow_undefined_flag_F77=' ${wl}-berok' |
| 14530 |
|
# -bexpall does not export symbols beginning with underscore (_) |
| 14531 |
|
always_export_symbols_F77=yes |
| 14532 |
# Exported symbols can be pulled into shared objects from archives |
# Exported symbols can be pulled into shared objects from archives |
| 14533 |
whole_archive_flag_spec_F77='$convenience' |
whole_archive_flag_spec_F77=' ' |
| 14534 |
archive_cmds_need_lc_F77=yes |
archive_cmds_need_lc_F77=yes |
| 14535 |
# This is similar to how AIX traditionally builds its shared libraries. |
# This is similar to how AIX traditionally builds its shared libraries. |
| 14536 |
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' |
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' |
| 14537 |
fi |
fi |
| 14538 |
fi |
fi |
| 14539 |
;; |
;; |
| 14674 |
export_dynamic_flag_spec_F77='${wl}-E' |
export_dynamic_flag_spec_F77='${wl}-E' |
| 14675 |
;; |
;; |
| 14676 |
|
|
| 14677 |
hpux10*) |
hpux10* | hpux11*) |
|
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
|
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
|
else |
|
|
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
|
fi |
|
|
if test "$with_gnu_ld" = no; then |
|
|
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
|
|
hardcode_libdir_separator_F77=: |
|
|
|
|
|
hardcode_direct_F77=yes |
|
|
export_dynamic_flag_spec_F77='${wl}-E' |
|
|
|
|
|
# hardcode_minus_L: Not really in the search PATH, |
|
|
# but as the default location of the library. |
|
|
hardcode_minus_L_F77=yes |
|
|
fi |
|
|
;; |
|
|
|
|
|
hpux11*) |
|
| 14678 |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
| 14679 |
case $host_cpu in |
case $host_cpu in |
| 14680 |
hppa*64*) |
hppa*64*|ia64*) |
| 14681 |
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' |
| 14682 |
;; |
;; |
|
ia64*) |
|
|
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
|
;; |
|
| 14683 |
*) |
*) |
| 14684 |
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' |
| 14685 |
;; |
;; |
| 14686 |
esac |
esac |
| 14687 |
else |
else |
| 14688 |
case $host_cpu in |
case $host_cpu in |
| 14689 |
hppa*64*) |
hppa*64*|ia64*) |
| 14690 |
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
;; |
|
|
ia64*) |
|
|
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
| 14691 |
;; |
;; |
| 14692 |
*) |
*) |
| 14693 |
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 14694 |
;; |
;; |
| 14695 |
esac |
esac |
| 14696 |
fi |
fi |
| 14697 |
if test "$with_gnu_ld" = no; then |
if test "$with_gnu_ld" = no; then |
|
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
|
|
hardcode_libdir_separator_F77=: |
|
|
|
|
| 14698 |
case $host_cpu in |
case $host_cpu in |
| 14699 |
hppa*64*|ia64*) |
hppa*64*) |
| 14700 |
|
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
| 14701 |
hardcode_libdir_flag_spec_ld_F77='+b $libdir' |
hardcode_libdir_flag_spec_ld_F77='+b $libdir' |
| 14702 |
|
hardcode_libdir_separator_F77=: |
| 14703 |
|
hardcode_direct_F77=no |
| 14704 |
|
hardcode_shlibpath_var_F77=no |
| 14705 |
|
;; |
| 14706 |
|
ia64*) |
| 14707 |
|
hardcode_libdir_flag_spec_F77='-L$libdir' |
| 14708 |
hardcode_direct_F77=no |
hardcode_direct_F77=no |
| 14709 |
hardcode_shlibpath_var_F77=no |
hardcode_shlibpath_var_F77=no |
| 14710 |
|
|
| 14711 |
|
# hardcode_minus_L: Not really in the search PATH, |
| 14712 |
|
# but as the default location of the library. |
| 14713 |
|
hardcode_minus_L_F77=yes |
| 14714 |
;; |
;; |
| 14715 |
*) |
*) |
| 14716 |
|
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
| 14717 |
|
hardcode_libdir_separator_F77=: |
| 14718 |
hardcode_direct_F77=yes |
hardcode_direct_F77=yes |
| 14719 |
export_dynamic_flag_spec_F77='${wl}-E' |
export_dynamic_flag_spec_F77='${wl}-E' |
| 14720 |
|
|
| 14816 |
hardcode_libdir_separator_F77=: |
hardcode_libdir_separator_F77=: |
| 14817 |
;; |
;; |
| 14818 |
|
|
| 14819 |
|
sco3.2v5*) |
| 14820 |
|
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 14821 |
|
hardcode_shlibpath_var_F77=no |
| 14822 |
|
export_dynamic_flag_spec_F77='${wl}-Bexport' |
| 14823 |
|
runpath_var=LD_RUN_PATH |
| 14824 |
|
hardcode_runpath_var=yes |
| 14825 |
|
;; |
| 14826 |
|
|
| 14827 |
solaris*) |
solaris*) |
| 14828 |
no_undefined_flag_F77=' -z text' |
no_undefined_flag_F77=' -z text' |
| 14829 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
| 14909 |
fi |
fi |
| 14910 |
;; |
;; |
| 14911 |
|
|
| 14912 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) |
sysv4.2uw2*) |
| 14913 |
no_undefined_flag_F77='${wl}-z,text' |
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
| 14914 |
archive_cmds_need_lc_F77=no |
hardcode_direct_F77=yes |
| 14915 |
|
hardcode_minus_L_F77=no |
| 14916 |
hardcode_shlibpath_var_F77=no |
hardcode_shlibpath_var_F77=no |
| 14917 |
runpath_var='LD_RUN_PATH' |
hardcode_runpath_var=yes |
| 14918 |
|
runpath_var=LD_RUN_PATH |
| 14919 |
|
;; |
| 14920 |
|
|
| 14921 |
|
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) |
| 14922 |
|
no_undefined_flag_F77='${wl}-z ${wl}text' |
| 14923 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
| 14924 |
archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
| 14925 |
else |
else |
| 14926 |
archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
| 14927 |
fi |
fi |
| 14928 |
|
runpath_var='LD_RUN_PATH' |
| 14929 |
|
hardcode_shlibpath_var_F77=no |
| 14930 |
;; |
;; |
| 14931 |
|
|
| 14932 |
sysv5* | sco3.2v5* | sco5v6*) |
sysv5*) |
| 14933 |
# Note: We can NOT use -z defs as we might desire, because we do not |
no_undefined_flag_F77=' -z text' |
| 14934 |
# link with -lc, and that would cause any symbols used from libc to |
# $CC -shared without GNU ld will not create a library from C++ |
| 14935 |
# always be unresolved, which means just about no library would |
# object files and a static libstdc++, better avoid it by now |
| 14936 |
# ever link correctly. If we're not using GNU ld we use -z text |
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 14937 |
# though, which does catch some bad symbols but isn't as heavy-handed |
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
| 14938 |
# as -z defs. |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
| 14939 |
no_undefined_flag_F77='${wl}-z,text' |
hardcode_libdir_flag_spec_F77= |
|
allow_undefined_flag_F77='${wl}-z,nodefs' |
|
|
archive_cmds_need_lc_F77=no |
|
| 14940 |
hardcode_shlibpath_var_F77=no |
hardcode_shlibpath_var_F77=no |
|
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
|
|
hardcode_libdir_separator_F77=':' |
|
|
link_all_deplibs_F77=yes |
|
|
export_dynamic_flag_spec_F77='${wl}-Bexport' |
|
| 14941 |
runpath_var='LD_RUN_PATH' |
runpath_var='LD_RUN_PATH' |
|
|
|
|
if test "$GCC" = yes; then |
|
|
archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
else |
|
|
archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
fi |
|
| 14942 |
;; |
;; |
| 14943 |
|
|
| 14944 |
uts4*) |
uts4*) |
| 14957 |
echo "${ECHO_T}$ld_shlibs_F77" >&6 |
echo "${ECHO_T}$ld_shlibs_F77" >&6 |
| 14958 |
test "$ld_shlibs_F77" = no && can_build_shared=no |
test "$ld_shlibs_F77" = no && can_build_shared=no |
| 14959 |
|
|
| 14960 |
|
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 14961 |
|
if test "$GCC" = yes; then |
| 14962 |
|
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
| 14963 |
|
fi |
| 14964 |
|
|
| 14965 |
# |
# |
| 14966 |
# Do we need to explicitly link libc? |
# Do we need to explicitly link libc? |
| 14967 |
# |
# |
| 14994 |
libobjs=conftest.$ac_objext |
libobjs=conftest.$ac_objext |
| 14995 |
deplibs= |
deplibs= |
| 14996 |
wl=$lt_prog_compiler_wl_F77 |
wl=$lt_prog_compiler_wl_F77 |
|
pic_flag=$lt_prog_compiler_pic_F77 |
|
| 14997 |
compiler_flags=-v |
compiler_flags=-v |
| 14998 |
linker_flags=-v |
linker_flags=-v |
| 14999 |
verstring= |
verstring= |
| 15275 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
| 15276 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 15277 |
;; |
;; |
| 15278 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
*) # from 3.2 on |
|
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
| 15279 |
shlibpath_overrides_runpath=no |
shlibpath_overrides_runpath=no |
| 15280 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 15281 |
;; |
;; |
|
freebsd*) # from 4.6 on |
|
|
shlibpath_overrides_runpath=yes |
|
|
hardcode_into_libs=yes |
|
|
;; |
|
| 15282 |
esac |
esac |
| 15283 |
;; |
;; |
| 15284 |
|
|
| 15338 |
postinstall_cmds='chmod 555 $lib' |
postinstall_cmds='chmod 555 $lib' |
| 15339 |
;; |
;; |
| 15340 |
|
|
|
interix3*) |
|
|
version_type=linux |
|
|
need_lib_prefix=no |
|
|
need_version=no |
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
|
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
|
shlibpath_var=LD_LIBRARY_PATH |
|
|
shlibpath_overrides_runpath=no |
|
|
hardcode_into_libs=yes |
|
|
;; |
|
|
|
|
| 15341 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
| 15342 |
case $host_os in |
case $host_os in |
| 15343 |
nonstopux*) version_type=nonstopux ;; |
nonstopux*) version_type=nonstopux ;; |
| 15395 |
# before this can be enabled. |
# before this can be enabled. |
| 15396 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 15397 |
|
|
|
# find out which ABI we are using |
|
|
libsuff= |
|
|
case "$host_cpu" in |
|
|
x86_64*|s390x*|powerpc64*) |
|
|
echo '#line 15045 "configure"' > conftest.$ac_ext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; then |
|
|
case `/usr/bin/file conftest.$ac_objext` in |
|
|
*64-bit*) |
|
|
libsuff=64 |
|
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
rm -rf conftest* |
|
|
;; |
|
|
esac |
|
|
|
|
| 15398 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
| 15399 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
| 15400 |
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' ' '` |
| 15401 |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 15402 |
fi |
fi |
| 15403 |
|
|
| 15404 |
# 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 |
| 15459 |
|
|
| 15460 |
openbsd*) |
openbsd*) |
| 15461 |
version_type=sunos |
version_type=sunos |
|
sys_lib_dlsearch_path_spec="/usr/lib" |
|
| 15462 |
need_lib_prefix=no |
need_lib_prefix=no |
| 15463 |
# 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. |
| 15464 |
case $host_os in |
case $host_os in |
| 15502 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
| 15503 |
;; |
;; |
| 15504 |
|
|
| 15505 |
|
sco3.2v5*) |
| 15506 |
|
version_type=osf |
| 15507 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 15508 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 15509 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 15510 |
|
;; |
| 15511 |
|
|
| 15512 |
solaris*) |
solaris*) |
| 15513 |
version_type=linux |
version_type=linux |
| 15514 |
need_lib_prefix=no |
need_lib_prefix=no |
| 15534 |
need_version=yes |
need_version=yes |
| 15535 |
;; |
;; |
| 15536 |
|
|
| 15537 |
sysv4 | sysv4.3*) |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
| 15538 |
version_type=linux |
version_type=linux |
| 15539 |
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}' |
| 15540 |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
| 15567 |
fi |
fi |
| 15568 |
;; |
;; |
| 15569 |
|
|
|
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
|
version_type=freebsd-elf |
|
|
need_lib_prefix=no |
|
|
need_version=no |
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
|
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
shlibpath_var=LD_LIBRARY_PATH |
|
|
hardcode_into_libs=yes |
|
|
if test "$with_gnu_ld" = yes; then |
|
|
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
|
shlibpath_overrides_runpath=no |
|
|
else |
|
|
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
|
shlibpath_overrides_runpath=yes |
|
|
case $host_os in |
|
|
sco3.2v5*) |
|
|
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
sys_lib_dlsearch_path_spec='/usr/lib' |
|
|
;; |
|
|
|
|
| 15570 |
uts4*) |
uts4*) |
| 15571 |
version_type=linux |
version_type=linux |
| 15572 |
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}' |
| 15582 |
echo "${ECHO_T}$dynamic_linker" >&6 |
echo "${ECHO_T}$dynamic_linker" >&6 |
| 15583 |
test "$dynamic_linker" = no && can_build_shared=no |
test "$dynamic_linker" = no && can_build_shared=no |
| 15584 |
|
|
|
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 |
|
|
|
|
| 15585 |
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 |
| 15586 |
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 |
| 15587 |
hardcode_action_F77= |
hardcode_action_F77= |
| 15619 |
enable_fast_install=needless |
enable_fast_install=needless |
| 15620 |
fi |
fi |
| 15621 |
|
|
| 15622 |
|
striplib= |
| 15623 |
|
old_striplib= |
| 15624 |
|
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
| 15625 |
|
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
| 15626 |
|
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
| 15627 |
|
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
| 15628 |
|
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
| 15629 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
| 15630 |
|
echo "${ECHO_T}yes" >&6 |
| 15631 |
|
else |
| 15632 |
|
# FIXME - insert some real tests, host_os isn't really good enough |
| 15633 |
|
case $host_os in |
| 15634 |
|
darwin*) |
| 15635 |
|
if test -n "$STRIP" ; then |
| 15636 |
|
striplib="$STRIP -x" |
| 15637 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
| 15638 |
|
echo "${ECHO_T}yes" >&6 |
| 15639 |
|
else |
| 15640 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 15641 |
|
echo "${ECHO_T}no" >&6 |
| 15642 |
|
fi |
| 15643 |
|
;; |
| 15644 |
|
*) |
| 15645 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 15646 |
|
echo "${ECHO_T}no" >&6 |
| 15647 |
|
;; |
| 15648 |
|
esac |
| 15649 |
|
fi |
| 15650 |
|
|
| 15651 |
|
|
| 15652 |
|
|
| 15653 |
# The else clause should only fire when bootstrapping the |
# The else clause should only fire when bootstrapping the |
| 15654 |
# libtool distribution, otherwise you forgot to ship ltmain.sh |
# libtool distribution, otherwise you forgot to ship ltmain.sh |
| 15663 |
# Now quote all the things that may contain metacharacters while being |
# Now quote all the things that may contain metacharacters while being |
| 15664 |
# 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 |
| 15665 |
# variables and quote the copies for generation of the libtool script. |
# variables and quote the copies for generation of the libtool script. |
| 15666 |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ |
| 15667 |
SED SHELL STRIP \ |
SED SHELL STRIP \ |
| 15668 |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
| 15669 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
| 15781 |
# A C compiler. |
# A C compiler. |
| 15782 |
LTCC=$lt_LTCC |
LTCC=$lt_LTCC |
| 15783 |
|
|
|
# LTCC compiler flags. |
|
|
LTCFLAGS=$lt_LTCFLAGS |
|
|
|
|
| 15784 |
# A language-specific compiler. |
# A language-specific compiler. |
| 15785 |
CC=$lt_compiler_F77 |
CC=$lt_compiler_F77 |
| 15786 |
|
|
| 16091 |
# If no C compiler was specified, use CC. |
# If no C compiler was specified, use CC. |
| 16092 |
LTCC=${LTCC-"$CC"} |
LTCC=${LTCC-"$CC"} |
| 16093 |
|
|
|
# If no C compiler flags were specified, use CFLAGS. |
|
|
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
|
|
|
| 16094 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
| 16095 |
compiler=$CC |
compiler=$CC |
| 16096 |
|
|
| 16098 |
# save warnings/boilerplate of simple test code |
# save warnings/boilerplate of simple test code |
| 16099 |
ac_outfile=conftest.$ac_objext |
ac_outfile=conftest.$ac_objext |
| 16100 |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
| 16101 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
| 16102 |
_lt_compiler_boilerplate=`cat conftest.err` |
_lt_compiler_boilerplate=`cat conftest.err` |
| 16103 |
$rm conftest* |
$rm conftest* |
| 16104 |
|
|
| 16105 |
ac_outfile=conftest.$ac_objext |
ac_outfile=conftest.$ac_objext |
| 16106 |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
| 16107 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
| 16108 |
_lt_linker_boilerplate=`cat conftest.err` |
_lt_linker_boilerplate=`cat conftest.err` |
| 16109 |
$rm conftest* |
$rm conftest* |
| 16110 |
|
|
| 16159 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 16160 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 16161 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 16162 |
(eval echo "\"\$as_me:15824: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:16162: $lt_compile\"" >&5) |
| 16163 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 16164 |
ac_status=$? |
ac_status=$? |
| 16165 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 16166 |
echo "$as_me:15828: \$? = $ac_status" >&5 |
echo "$as_me:16166: \$? = $ac_status" >&5 |
| 16167 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 16168 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 16169 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 16170 |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
| 16171 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
$SED '/^$/d' conftest.err >conftest.er2 |
| 16172 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
| 16173 |
lt_cv_prog_compiler_rtti_exceptions=yes |
lt_cv_prog_compiler_rtti_exceptions=yes |
| 16174 |
fi |
fi |
| 16175 |
fi |
fi |
| 16230 |
lt_prog_compiler_pic_GCJ='-fno-common' |
lt_prog_compiler_pic_GCJ='-fno-common' |
| 16231 |
;; |
;; |
| 16232 |
|
|
|
interix3*) |
|
|
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
|
# Instead, we relocate shared libraries at runtime. |
|
|
;; |
|
|
|
|
| 16233 |
msdosdjgpp*) |
msdosdjgpp*) |
| 16234 |
# 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 |
| 16235 |
# on systems that don't support them. |
# on systems that don't support them. |
| 16344 |
lt_prog_compiler_static_GCJ='-non_shared' |
lt_prog_compiler_static_GCJ='-non_shared' |
| 16345 |
;; |
;; |
| 16346 |
|
|
| 16347 |
|
sco3.2v5*) |
| 16348 |
|
lt_prog_compiler_pic_GCJ='-Kpic' |
| 16349 |
|
lt_prog_compiler_static_GCJ='-dn' |
| 16350 |
|
;; |
| 16351 |
|
|
| 16352 |
solaris*) |
solaris*) |
| 16353 |
lt_prog_compiler_pic_GCJ='-KPIC' |
lt_prog_compiler_pic_GCJ='-KPIC' |
| 16354 |
lt_prog_compiler_static_GCJ='-Bstatic' |
lt_prog_compiler_static_GCJ='-Bstatic' |
| 16366 |
lt_prog_compiler_static_GCJ='-Bstatic' |
lt_prog_compiler_static_GCJ='-Bstatic' |
| 16367 |
;; |
;; |
| 16368 |
|
|
| 16369 |
sysv4 | sysv4.2uw2* | sysv4.3*) |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
| 16370 |
lt_prog_compiler_wl_GCJ='-Wl,' |
lt_prog_compiler_wl_GCJ='-Wl,' |
| 16371 |
lt_prog_compiler_pic_GCJ='-KPIC' |
lt_prog_compiler_pic_GCJ='-KPIC' |
| 16372 |
lt_prog_compiler_static_GCJ='-Bstatic' |
lt_prog_compiler_static_GCJ='-Bstatic' |
| 16379 |
fi |
fi |
| 16380 |
;; |
;; |
| 16381 |
|
|
|
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
|
|
lt_prog_compiler_wl_GCJ='-Wl,' |
|
|
lt_prog_compiler_pic_GCJ='-KPIC' |
|
|
lt_prog_compiler_static_GCJ='-Bstatic' |
|
|
;; |
|
|
|
|
| 16382 |
unicos*) |
unicos*) |
| 16383 |
lt_prog_compiler_wl_GCJ='-Wl,' |
lt_prog_compiler_wl_GCJ='-Wl,' |
| 16384 |
lt_prog_compiler_can_build_shared_GCJ=no |
lt_prog_compiler_can_build_shared_GCJ=no |
| 16421 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 16422 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 16423 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 16424 |
(eval echo "\"\$as_me:16092: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:16424: $lt_compile\"" >&5) |
| 16425 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 16426 |
ac_status=$? |
ac_status=$? |
| 16427 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 16428 |
echo "$as_me:16096: \$? = $ac_status" >&5 |
echo "$as_me:16428: \$? = $ac_status" >&5 |
| 16429 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 16430 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 16431 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 16432 |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
| 16433 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
$SED '/^$/d' conftest.err >conftest.er2 |
| 16434 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
| 16435 |
lt_prog_compiler_pic_works_GCJ=yes |
lt_prog_compiler_pic_works_GCJ=yes |
| 16436 |
fi |
fi |
| 16437 |
fi |
fi |
| 16462 |
;; |
;; |
| 16463 |
esac |
esac |
| 16464 |
|
|
|
# |
|
|
# Check to make sure the static flag actually works. |
|
|
# |
|
|
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" |
|
|
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
|
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 |
|
|
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
lt_prog_compiler_static_works_GCJ=no |
|
|
save_LDFLAGS="$LDFLAGS" |
|
|
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
|
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 -e '/^$/d' > conftest.exp |
|
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
|
if diff conftest.exp conftest.er2 >/dev/null; then |
|
|
lt_prog_compiler_static_works_GCJ=yes |
|
|
fi |
|
|
else |
|
|
lt_prog_compiler_static_works_GCJ=yes |
|
|
fi |
|
|
fi |
|
|
$rm conftest* |
|
|
LDFLAGS="$save_LDFLAGS" |
|
|
|
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5 |
|
|
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6 |
|
|
|
|
|
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then |
|
|
: |
|
|
else |
|
|
lt_prog_compiler_static_GCJ= |
|
|
fi |
|
|
|
|
|
|
|
| 16465 |
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 |
| 16466 |
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 |
| 16467 |
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then |
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then |
| 16483 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 16484 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 16485 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 16486 |
(eval echo "\"\$as_me:16196: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:16486: $lt_compile\"" >&5) |
| 16487 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 16488 |
ac_status=$? |
ac_status=$? |
| 16489 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 16490 |
echo "$as_me:16200: \$? = $ac_status" >&5 |
echo "$as_me:16490: \$? = $ac_status" >&5 |
| 16491 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 16492 |
then |
then |
| 16493 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 16494 |
# So say no if there are warnings |
# So say no if there are warnings |
| 16495 |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
| 16496 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
| 16497 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 16498 |
lt_cv_prog_compiler_c_o_GCJ=yes |
lt_cv_prog_compiler_c_o_GCJ=yes |
| 16499 |
fi |
fi |
| 16500 |
fi |
fi |
| 16594 |
with_gnu_ld=no |
with_gnu_ld=no |
| 16595 |
fi |
fi |
| 16596 |
;; |
;; |
|
interix*) |
|
|
# we just hope/assume this is gcc and not c89 (= MSVC++) |
|
|
with_gnu_ld=yes |
|
|
;; |
|
| 16597 |
openbsd*) |
openbsd*) |
| 16598 |
with_gnu_ld=no |
with_gnu_ld=no |
| 16599 |
;; |
;; |
| 16678 |
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' |
| 16679 |
|
|
| 16680 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
| 16681 |
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
| 16682 |
# If the export-symbols file already is a .def file (1st line |
# If the export-symbols file already is a .def file (1st line |
| 16683 |
# is EXPORTS), use it as is; otherwise, prepend... |
# is EXPORTS), use it as is; otherwise, prepend... |
| 16684 |
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 |
| 16687 |
echo EXPORTS > $output_objdir/$soname.def; |
echo EXPORTS > $output_objdir/$soname.def; |
| 16688 |
cat $export_symbols >> $output_objdir/$soname.def; |
cat $export_symbols >> $output_objdir/$soname.def; |
| 16689 |
fi~ |
fi~ |
| 16690 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
| 16691 |
else |
else |
| 16692 |
ld_shlibs_GCJ=no |
ld_shlibs_GCJ=no |
| 16693 |
fi |
fi |
| 16694 |
;; |
;; |
| 16695 |
|
|
|
interix3*) |
|
|
hardcode_direct_GCJ=no |
|
|
hardcode_shlibpath_var_GCJ=no |
|
|
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
|
|
export_dynamic_flag_spec_GCJ='${wl}-E' |
|
|
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
|
# Instead, shared libraries are loaded at an image base (0x10000000 by |
|
|
# default) and relocated if they conflict, which is a slow very memory |
|
|
# consuming and fragmenting process. To avoid this, we pick a random, |
|
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
|
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
|
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' |
|
|
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' |
|
|
;; |
|
|
|
|
| 16696 |
linux*) |
linux*) |
| 16697 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
| 16698 |
tmp_addflag= |
tmp_addflag= |
| 16734 |
fi |
fi |
| 16735 |
;; |
;; |
| 16736 |
|
|
| 16737 |
solaris*) |
solaris* | sysv5*) |
| 16738 |
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
| 16739 |
ld_shlibs_GCJ=no |
ld_shlibs_GCJ=no |
| 16740 |
cat <<EOF 1>&2 |
cat <<EOF 1>&2 |
| 16755 |
fi |
fi |
| 16756 |
;; |
;; |
| 16757 |
|
|
|
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
|
|
case `$LD -v 2>&1` in |
|
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
|
ld_shlibs_GCJ=no |
|
|
cat <<_LT_EOF 1>&2 |
|
|
|
|
|
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
|
|
*** reliably create shared libraries on SCO systems. Therefore, libtool |
|
|
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
|
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
|
*** your PATH or compiler configuration so that the native linker is |
|
|
*** used, and then restart. |
|
|
|
|
|
_LT_EOF |
|
|
;; |
|
|
*) |
|
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
|
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' |
|
|
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' |
|
|
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' |
|
|
else |
|
|
ld_shlibs_GCJ=no |
|
|
fi |
|
|
;; |
|
|
esac |
|
|
;; |
|
|
|
|
| 16758 |
sunos4*) |
sunos4*) |
| 16759 |
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' |
| 16760 |
wlarc= |
wlarc= |
| 16788 |
# Note: this linker hardcodes the directories in LIBPATH if there |
# Note: this linker hardcodes the directories in LIBPATH if there |
| 16789 |
# are no directories specified by -L. |
# are no directories specified by -L. |
| 16790 |
hardcode_minus_L_GCJ=yes |
hardcode_minus_L_GCJ=yes |
| 16791 |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
if test "$GCC" = yes && test -z "$link_static_flag"; then |
| 16792 |
# Neither direct hardcoding nor static linking is supported with a |
# Neither direct hardcoding nor static linking is supported with a |
| 16793 |
# broken collect2. |
# broken collect2. |
| 16794 |
hardcode_direct_GCJ=unsupported |
hardcode_direct_GCJ=unsupported |
| 16822 |
break |
break |
| 16823 |
fi |
fi |
| 16824 |
done |
done |
|
;; |
|
| 16825 |
esac |
esac |
| 16826 |
|
|
| 16827 |
exp_sym_flag='-bexport' |
exp_sym_flag='-bexport' |
| 16859 |
hardcode_libdir_flag_spec_GCJ='-L$libdir' |
hardcode_libdir_flag_spec_GCJ='-L$libdir' |
| 16860 |
hardcode_libdir_separator_GCJ= |
hardcode_libdir_separator_GCJ= |
| 16861 |
fi |
fi |
|
;; |
|
| 16862 |
esac |
esac |
| 16863 |
shared_flag='-shared' |
shared_flag='-shared' |
| 16864 |
if test "$aix_use_runtimelinking" = yes; then |
if test "$aix_use_runtimelinking" = yes; then |
| 16871 |
# chokes on -Wl,-G. The following line is correct: |
# chokes on -Wl,-G. The following line is correct: |
| 16872 |
shared_flag='-G' |
shared_flag='-G' |
| 16873 |
else |
else |
| 16874 |
if test "$aix_use_runtimelinking" = yes; then |
if test "$aix_use_runtimelinking" = yes; then |
| 16875 |
shared_flag='${wl}-G' |
shared_flag='${wl}-G' |
| 16876 |
else |
else |
| 16877 |
shared_flag='${wl}-bM:SRE' |
shared_flag='${wl}-bM:SRE' |
| 16878 |
fi |
fi |
| 16879 |
fi |
fi |
| 16880 |
fi |
fi |
| 16881 |
|
|
| 16940 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 16941 |
|
|
| 16942 |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 16943 |
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" |
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" |
| 16944 |
else |
else |
| 16945 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
| 16946 |
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' |
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' |
| 16947 |
allow_undefined_flag_GCJ="-z nodefs" |
allow_undefined_flag_GCJ="-z nodefs" |
| 16948 |
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" |
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" |
| 16949 |
else |
else |
| 16950 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
| 16951 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| 17005 |
# -berok will link without error, but may produce a broken library. |
# -berok will link without error, but may produce a broken library. |
| 17006 |
no_undefined_flag_GCJ=' ${wl}-bernotok' |
no_undefined_flag_GCJ=' ${wl}-bernotok' |
| 17007 |
allow_undefined_flag_GCJ=' ${wl}-berok' |
allow_undefined_flag_GCJ=' ${wl}-berok' |
| 17008 |
|
# -bexpall does not export symbols beginning with underscore (_) |
| 17009 |
|
always_export_symbols_GCJ=yes |
| 17010 |
# Exported symbols can be pulled into shared objects from archives |
# Exported symbols can be pulled into shared objects from archives |
| 17011 |
whole_archive_flag_spec_GCJ='$convenience' |
whole_archive_flag_spec_GCJ=' ' |
| 17012 |
archive_cmds_need_lc_GCJ=yes |
archive_cmds_need_lc_GCJ=yes |
| 17013 |
# This is similar to how AIX traditionally builds its shared libraries. |
# This is similar to how AIX traditionally builds its shared libraries. |
| 17014 |
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' |
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' |
| 17015 |
fi |
fi |
| 17016 |
fi |
fi |
| 17017 |
;; |
;; |
| 17152 |
export_dynamic_flag_spec_GCJ='${wl}-E' |
export_dynamic_flag_spec_GCJ='${wl}-E' |
| 17153 |
;; |
;; |
| 17154 |
|
|
| 17155 |
hpux10*) |
hpux10* | hpux11*) |
|
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
|
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
|
else |
|
|
archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
|
fi |
|
|
if test "$with_gnu_ld" = no; then |
|
|
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' |
|
|
hardcode_libdir_separator_GCJ=: |
|
|
|
|
|
hardcode_direct_GCJ=yes |
|
|
export_dynamic_flag_spec_GCJ='${wl}-E' |
|
|
|
|
|
# hardcode_minus_L: Not really in the search PATH, |
|
|
# but as the default location of the library. |
|
|
hardcode_minus_L_GCJ=yes |
|
|
fi |
|
|
;; |
|
|
|
|
|
hpux11*) |
|
| 17156 |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
| 17157 |
case $host_cpu in |
case $host_cpu in |
| 17158 |
hppa*64*) |
hppa*64*|ia64*) |
| 17159 |
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' |
| 17160 |
;; |
;; |
|
ia64*) |
|
|
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
|
;; |
|
| 17161 |
*) |
*) |
| 17162 |
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' |
| 17163 |
;; |
;; |
| 17164 |
esac |
esac |
| 17165 |
else |
else |
| 17166 |
case $host_cpu in |
case $host_cpu in |
| 17167 |
hppa*64*) |
hppa*64*|ia64*) |
| 17168 |
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
;; |
|
|
ia64*) |
|
|
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
| 17169 |
;; |
;; |
| 17170 |
*) |
*) |
| 17171 |
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 17172 |
;; |
;; |
| 17173 |
esac |
esac |
| 17174 |
fi |
fi |
| 17175 |
if test "$with_gnu_ld" = no; then |
if test "$with_gnu_ld" = no; then |
|
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' |
|
|
hardcode_libdir_separator_GCJ=: |
|
|
|
|
| 17176 |
case $host_cpu in |
case $host_cpu in |
| 17177 |
hppa*64*|ia64*) |
hppa*64*) |
| 17178 |
|
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' |
| 17179 |
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' |
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' |
| 17180 |
|
hardcode_libdir_separator_GCJ=: |
| 17181 |
|
hardcode_direct_GCJ=no |
| 17182 |
|
hardcode_shlibpath_var_GCJ=no |
| 17183 |
|
;; |
| 17184 |
|
ia64*) |
| 17185 |
|
hardcode_libdir_flag_spec_GCJ='-L$libdir' |
| 17186 |
hardcode_direct_GCJ=no |
hardcode_direct_GCJ=no |
| 17187 |
hardcode_shlibpath_var_GCJ=no |
hardcode_shlibpath_var_GCJ=no |
| 17188 |
|
|
| 17189 |
|
# hardcode_minus_L: Not really in the search PATH, |
| 17190 |
|
# but as the default location of the library. |
| 17191 |
|
hardcode_minus_L_GCJ=yes |
| 17192 |
;; |
;; |
| 17193 |
*) |
*) |
| 17194 |
|
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' |
| 17195 |
|
hardcode_libdir_separator_GCJ=: |
| 17196 |
hardcode_direct_GCJ=yes |
hardcode_direct_GCJ=yes |
| 17197 |
export_dynamic_flag_spec_GCJ='${wl}-E' |
export_dynamic_flag_spec_GCJ='${wl}-E' |
| 17198 |
|
|
| 17294 |
hardcode_libdir_separator_GCJ=: |
hardcode_libdir_separator_GCJ=: |
| 17295 |
;; |
;; |
| 17296 |
|
|
| 17297 |
|
sco3.2v5*) |
| 17298 |
|
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 17299 |
|
hardcode_shlibpath_var_GCJ=no |
| 17300 |
|
export_dynamic_flag_spec_GCJ='${wl}-Bexport' |
| 17301 |
|
runpath_var=LD_RUN_PATH |
| 17302 |
|
hardcode_runpath_var=yes |
| 17303 |
|
;; |
| 17304 |
|
|
| 17305 |
solaris*) |
solaris*) |
| 17306 |
no_undefined_flag_GCJ=' -z text' |
no_undefined_flag_GCJ=' -z text' |
| 17307 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
| 17387 |
fi |
fi |
| 17388 |
;; |
;; |
| 17389 |
|
|
| 17390 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) |
sysv4.2uw2*) |
| 17391 |
no_undefined_flag_GCJ='${wl}-z,text' |
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
| 17392 |
archive_cmds_need_lc_GCJ=no |
hardcode_direct_GCJ=yes |
| 17393 |
|
hardcode_minus_L_GCJ=no |
| 17394 |
hardcode_shlibpath_var_GCJ=no |
hardcode_shlibpath_var_GCJ=no |
| 17395 |
runpath_var='LD_RUN_PATH' |
hardcode_runpath_var=yes |
| 17396 |
|
runpath_var=LD_RUN_PATH |
| 17397 |
|
;; |
| 17398 |
|
|
| 17399 |
|
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) |
| 17400 |
|
no_undefined_flag_GCJ='${wl}-z ${wl}text' |
| 17401 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
| 17402 |
archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
| 17403 |
else |
else |
| 17404 |
archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
| 17405 |
fi |
fi |
| 17406 |
|
runpath_var='LD_RUN_PATH' |
| 17407 |
|
hardcode_shlibpath_var_GCJ=no |
| 17408 |
;; |
;; |
| 17409 |
|
|
| 17410 |
sysv5* | sco3.2v5* | sco5v6*) |
sysv5*) |
| 17411 |
# Note: We can NOT use -z defs as we might desire, because we do not |
no_undefined_flag_GCJ=' -z text' |
| 17412 |
# link with -lc, and that would cause any symbols used from libc to |
# $CC -shared without GNU ld will not create a library from C++ |
| 17413 |
# always be unresolved, which means just about no library would |
# object files and a static libstdc++, better avoid it by now |
| 17414 |
# ever link correctly. If we're not using GNU ld we use -z text |
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 17415 |
# though, which does catch some bad symbols but isn't as heavy-handed |
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
| 17416 |
# as -z defs. |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
| 17417 |
no_undefined_flag_GCJ='${wl}-z,text' |
hardcode_libdir_flag_spec_GCJ= |
|
allow_undefined_flag_GCJ='${wl}-z,nodefs' |
|
|
archive_cmds_need_lc_GCJ=no |
|
| 17418 |
hardcode_shlibpath_var_GCJ=no |
hardcode_shlibpath_var_GCJ=no |
|
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
|
|
hardcode_libdir_separator_GCJ=':' |
|
|
link_all_deplibs_GCJ=yes |
|
|
export_dynamic_flag_spec_GCJ='${wl}-Bexport' |
|
| 17419 |
runpath_var='LD_RUN_PATH' |
runpath_var='LD_RUN_PATH' |
|
|
|
|
if test "$GCC" = yes; then |
|
|
archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
else |
|
|
archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
fi |
|
| 17420 |
;; |
;; |
| 17421 |
|
|
| 17422 |
uts4*) |
uts4*) |
| 17435 |
echo "${ECHO_T}$ld_shlibs_GCJ" >&6 |
echo "${ECHO_T}$ld_shlibs_GCJ" >&6 |
| 17436 |
test "$ld_shlibs_GCJ" = no && can_build_shared=no |
test "$ld_shlibs_GCJ" = no && can_build_shared=no |
| 17437 |
|
|
| 17438 |
|
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 17439 |
|
if test "$GCC" = yes; then |
| 17440 |
|
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
| 17441 |
|
fi |
| 17442 |
|
|
| 17443 |
# |
# |
| 17444 |
# Do we need to explicitly link libc? |
# Do we need to explicitly link libc? |
| 17445 |
# |
# |
| 17472 |
libobjs=conftest.$ac_objext |
libobjs=conftest.$ac_objext |
| 17473 |
deplibs= |
deplibs= |
| 17474 |
wl=$lt_prog_compiler_wl_GCJ |
wl=$lt_prog_compiler_wl_GCJ |
|
pic_flag=$lt_prog_compiler_pic_GCJ |
|
| 17475 |
compiler_flags=-v |
compiler_flags=-v |
| 17476 |
linker_flags=-v |
linker_flags=-v |
| 17477 |
verstring= |
verstring= |
| 17753 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
| 17754 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 17755 |
;; |
;; |
| 17756 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
*) # from 3.2 on |
|
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
| 17757 |
shlibpath_overrides_runpath=no |
shlibpath_overrides_runpath=no |
| 17758 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 17759 |
;; |
;; |
|
freebsd*) # from 4.6 on |
|
|
shlibpath_overrides_runpath=yes |
|
|
hardcode_into_libs=yes |
|
|
;; |
|
| 17760 |
esac |
esac |
| 17761 |
;; |
;; |
| 17762 |
|
|
| 17816 |
postinstall_cmds='chmod 555 $lib' |
postinstall_cmds='chmod 555 $lib' |
| 17817 |
;; |
;; |
| 17818 |
|
|
|
interix3*) |
|
|
version_type=linux |
|
|
need_lib_prefix=no |
|
|
need_version=no |
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
|
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
|
shlibpath_var=LD_LIBRARY_PATH |
|
|
shlibpath_overrides_runpath=no |
|
|
hardcode_into_libs=yes |
|
|
;; |
|
|
|
|
| 17819 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
| 17820 |
case $host_os in |
case $host_os in |
| 17821 |
nonstopux*) version_type=nonstopux ;; |
nonstopux*) version_type=nonstopux ;; |
| 17873 |
# before this can be enabled. |
# before this can be enabled. |
| 17874 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 17875 |
|
|
|
# find out which ABI we are using |
|
|
libsuff= |
|
|
case "$host_cpu" in |
|
|
x86_64*|s390x*|powerpc64*) |
|
|
echo '#line 17665 "configure"' > conftest.$ac_ext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; then |
|
|
case `/usr/bin/file conftest.$ac_objext` in |
|
|
*64-bit*) |
|
|
libsuff=64 |
|
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
rm -rf conftest* |
|
|
;; |
|
|
esac |
|
|
|
|
| 17876 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
| 17877 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
| 17878 |
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' ' '` |
| 17879 |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 17880 |
fi |
fi |
| 17881 |
|
|
| 17882 |
# 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 |
| 17937 |
|
|
| 17938 |
openbsd*) |
openbsd*) |
| 17939 |
version_type=sunos |
version_type=sunos |
|
sys_lib_dlsearch_path_spec="/usr/lib" |
|
| 17940 |
need_lib_prefix=no |
need_lib_prefix=no |
| 17941 |
# 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. |
| 17942 |
case $host_os in |
case $host_os in |
| 17980 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
| 17981 |
;; |
;; |
| 17982 |
|
|
| 17983 |
|
sco3.2v5*) |
| 17984 |
|
version_type=osf |
| 17985 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 17986 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 17987 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 17988 |
|
;; |
| 17989 |
|
|
| 17990 |
solaris*) |
solaris*) |
| 17991 |
version_type=linux |
version_type=linux |
| 17992 |
need_lib_prefix=no |
need_lib_prefix=no |
| 18012 |
need_version=yes |
need_version=yes |
| 18013 |
;; |
;; |
| 18014 |
|
|
| 18015 |
sysv4 | sysv4.3*) |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
| 18016 |
version_type=linux |
version_type=linux |
| 18017 |
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}' |
| 18018 |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
| 18045 |
fi |
fi |
| 18046 |
;; |
;; |
| 18047 |
|
|
|
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
|
version_type=freebsd-elf |
|
|
need_lib_prefix=no |
|
|
need_version=no |
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
|
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
shlibpath_var=LD_LIBRARY_PATH |
|
|
hardcode_into_libs=yes |
|
|
if test "$with_gnu_ld" = yes; then |
|
|
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
|
shlibpath_overrides_runpath=no |
|
|
else |
|
|
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
|
shlibpath_overrides_runpath=yes |
|
|
case $host_os in |
|
|
sco3.2v5*) |
|
|
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
sys_lib_dlsearch_path_spec='/usr/lib' |
|
|
;; |
|
|
|
|
| 18048 |
uts4*) |
uts4*) |
| 18049 |
version_type=linux |
version_type=linux |
| 18050 |
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}' |
| 18060 |
echo "${ECHO_T}$dynamic_linker" >&6 |
echo "${ECHO_T}$dynamic_linker" >&6 |
| 18061 |
test "$dynamic_linker" = no && can_build_shared=no |
test "$dynamic_linker" = no && can_build_shared=no |
| 18062 |
|
|
|
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 |
|
|
|
|
| 18063 |
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 |
| 18064 |
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 |
| 18065 |
hardcode_action_GCJ= |
hardcode_action_GCJ= |
| 18097 |
enable_fast_install=needless |
enable_fast_install=needless |
| 18098 |
fi |
fi |
| 18099 |
|
|
| 18100 |
|
striplib= |
| 18101 |
|
old_striplib= |
| 18102 |
|
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
| 18103 |
|
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
| 18104 |
|
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
|