configure (191771) | configure (192350) |
---|---|
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. | 1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. |
3# Generated by GNU Autoconf 2.61 for file 5.00. | 3# Generated by GNU Autoconf 2.61 for file 5.03. |
4# 5# Report bugs to <christos@astron.com>. 6# 7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## --------------------- ## --- 578 unchanged lines hidden (view full) --- 590# if CDPATH is set. 591(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 592 593if test -z "$ECHO"; then 594if test "X${echo_test_string+set}" != Xset; then 595# find a string as large as possible, as long as the shell can cope with it 596 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... | 4# 5# Report bugs to <christos@astron.com>. 6# 7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## --------------------- ## --- 578 unchanged lines hidden (view full) --- 590# if CDPATH is set. 591(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 592 593if test -z "$ECHO"; then 594if test "X${echo_test_string+set}" != Xset; then 595# find a string as large as possible, as long as the shell can cope with it 596 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
598 if (echo_test_string="`eval $cmd`") 2>/dev/null && 599 echo_test_string="`eval $cmd`" && | 598 if (echo_test_string=`eval $cmd`) 2>/dev/null && 599 echo_test_string=`eval $cmd` && |
600 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null 601 then 602 break 603 fi 604 done 605fi 606 607if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && --- 115 unchanged lines hidden (view full) --- 723subdirs= 724MFLAGS= 725MAKEFLAGS= 726SHELL=${CONFIG_SHELL-/bin/sh} 727 728# Identity of this package. 729PACKAGE_NAME='file' 730PACKAGE_TARNAME='file' | 600 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null 601 then 602 break 603 fi 604 done 605fi 606 607if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && --- 115 unchanged lines hidden (view full) --- 723subdirs= 724MFLAGS= 725MAKEFLAGS= 726SHELL=${CONFIG_SHELL-/bin/sh} 727 728# Identity of this package. 729PACKAGE_NAME='file' 730PACKAGE_TARNAME='file' |
731PACKAGE_VERSION='5.00' 732PACKAGE_STRING='file 5.00' | 731PACKAGE_VERSION='5.03' 732PACKAGE_STRING='file 5.03' |
733PACKAGE_BUGREPORT='christos@astron.com' 734 735# Factoring default headers for most tests. 736ac_includes_default="\ 737#include <stdio.h> 738#ifdef HAVE_SYS_TYPES_H 739# include <sys/types.h> 740#endif --- 81 unchanged lines hidden (view full) --- 822INSTALL_STRIP_PROGRAM 823mkdir_p 824AWK 825SET_MAKE 826am__leading_dot 827AMTAR 828am__tar 829am__untar | 733PACKAGE_BUGREPORT='christos@astron.com' 734 735# Factoring default headers for most tests. 736ac_includes_default="\ 737#include <stdio.h> 738#ifdef HAVE_SYS_TYPES_H 739# include <sys/types.h> 740#endif --- 81 unchanged lines hidden (view full) --- 822INSTALL_STRIP_PROGRAM 823mkdir_p 824AWK 825SET_MAKE 826am__leading_dot 827AMTAR 828am__tar 829am__untar |
830pkgdatadir |
|
830fsect 831FSECT5_TRUE 832FSECT5_FALSE 833WARNINGS 834CC 835CFLAGS 836LDFLAGS 837CPPFLAGS --- 13 unchanged lines hidden (view full) --- 851build 852build_cpu 853build_vendor 854build_os 855host 856host_cpu 857host_vendor 858host_os | 831fsect 832FSECT5_TRUE 833FSECT5_FALSE 834WARNINGS 835CC 836CFLAGS 837LDFLAGS 838CPPFLAGS --- 13 unchanged lines hidden (view full) --- 852build 853build_cpu 854build_vendor 855build_os 856host 857host_cpu 858host_vendor 859host_os |
860SED |
|
859GREP 860EGREP 861ECHO 862AR 863RANLIB | 861GREP 862EGREP 863ECHO 864AR 865RANLIB |
866DSYMUTIL 867NMEDIT |
|
864CPP 865CXX 866CXXFLAGS 867ac_ct_CXX 868CXXDEPMODE 869am__fastdepCXX_TRUE 870am__fastdepCXX_FALSE 871CXXCPP --- 518 unchanged lines hidden (view full) --- 1390 1391# 1392# Report the --help message. 1393# 1394if test "$ac_init_help" = "long"; then 1395 # Omit some internal or obsolete options to make the list less imposing. 1396 # This message is too long to be a string in the A/UX 3.1 sh. 1397 cat <<_ACEOF | 868CPP 869CXX 870CXXFLAGS 871ac_ct_CXX 872CXXDEPMODE 873am__fastdepCXX_TRUE 874am__fastdepCXX_FALSE 875CXXCPP --- 518 unchanged lines hidden (view full) --- 1394 1395# 1396# Report the --help message. 1397# 1398if test "$ac_init_help" = "long"; then 1399 # Omit some internal or obsolete options to make the list less imposing. 1400 # This message is too long to be a string in the A/UX 3.1 sh. 1401 cat <<_ACEOF |
1398\`configure' configures file 5.00 to adapt to many kinds of systems. | 1402\`configure' configures file 5.03 to adapt to many kinds of systems. |
1399 1400Usage: $0 [OPTION]... [VAR=VALUE]... 1401 1402To assign environment variables (e.g., CC, CFLAGS...), specify them as 1403VAR=VALUE. See below for descriptions of some of the useful variables. 1404 1405Defaults for the options are specified in brackets. 1406 --- 53 unchanged lines hidden (view full) --- 1460System types: 1461 --build=BUILD configure for building on BUILD [guessed] 1462 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1463_ACEOF 1464fi 1465 1466if test -n "$ac_init_help"; then 1467 case $ac_init_help in | 1403 1404Usage: $0 [OPTION]... [VAR=VALUE]... 1405 1406To assign environment variables (e.g., CC, CFLAGS...), specify them as 1407VAR=VALUE. See below for descriptions of some of the useful variables. 1408 1409Defaults for the options are specified in brackets. 1410 --- 53 unchanged lines hidden (view full) --- 1464System types: 1465 --build=BUILD configure for building on BUILD [guessed] 1466 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1467_ACEOF 1468fi 1469 1470if test -n "$ac_init_help"; then 1471 case $ac_init_help in |
1468 short | recursive ) echo "Configuration of file 5.00:";; | 1472 short | recursive ) echo "Configuration of file 5.03:";; |
1469 esac 1470 cat <<\_ACEOF 1471 1472Optional Features: 1473 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1474 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1475 --disable-elf disable builtin ELF support 1476 --disable-elf-core disable ELF core file support --- 90 unchanged lines hidden (view full) --- 1567 fi || ac_status=$? 1568 cd "$ac_pwd" || { ac_status=$?; break; } 1569 done 1570fi 1571 1572test -n "$ac_init_help" && exit $ac_status 1573if $ac_init_version; then 1574 cat <<\_ACEOF | 1473 esac 1474 cat <<\_ACEOF 1475 1476Optional Features: 1477 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1478 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1479 --disable-elf disable builtin ELF support 1480 --disable-elf-core disable ELF core file support --- 90 unchanged lines hidden (view full) --- 1571 fi || ac_status=$? 1572 cd "$ac_pwd" || { ac_status=$?; break; } 1573 done 1574fi 1575 1576test -n "$ac_init_help" && exit $ac_status 1577if $ac_init_version; then 1578 cat <<\_ACEOF |
1575file configure 5.00 | 1579file configure 5.03 |
1576generated by GNU Autoconf 2.61 1577 1578Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 15792002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1580This configure script is free software; the Free Software Foundation 1581gives unlimited permission to copy, distribute and modify it. 1582_ACEOF 1583 exit 1584fi 1585cat >config.log <<_ACEOF 1586This file contains any messages produced by compilers while 1587running configure, to aid debugging if configure makes a mistake. 1588 | 1580generated by GNU Autoconf 2.61 1581 1582Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 15832002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1584This configure script is free software; the Free Software Foundation 1585gives unlimited permission to copy, distribute and modify it. 1586_ACEOF 1587 exit 1588fi 1589cat >config.log <<_ACEOF 1590This file contains any messages produced by compilers while 1591running configure, to aid debugging if configure makes a mistake. 1592 |
1589It was created by file $as_me 5.00, which was | 1593It was created by file $as_me 5.03, which was |
1590generated by GNU Autoconf 2.61. Invocation command line was 1591 1592 $ $0 $@ 1593 1594_ACEOF 1595exec 5>>config.log 1596{ 1597cat <<_ASUNAME --- 673 unchanged lines hidden (view full) --- 2271 else 2272 CYGPATH_W=echo 2273 fi 2274fi 2275 2276 2277# Define the identity of the package. 2278 PACKAGE='file' | 1594generated by GNU Autoconf 2.61. Invocation command line was 1595 1596 $ $0 $@ 1597 1598_ACEOF 1599exec 5>>config.log 1600{ 1601cat <<_ASUNAME --- 673 unchanged lines hidden (view full) --- 2275 else 2276 CYGPATH_W=echo 2277 fi 2278fi 2279 2280 2281# Define the identity of the package. 2282 PACKAGE='file' |
2279 VERSION='5.00' | 2283 VERSION='5.03' |
2280 2281 2282cat >>confdefs.h <<_ACEOF 2283#define PACKAGE "$PACKAGE" 2284_ACEOF 2285 2286 2287cat >>confdefs.h <<_ACEOF --- 131 unchanged lines hidden (view full) --- 2419am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2420 2421 2422 2423 2424 2425ac_config_headers="$ac_config_headers config.h" 2426 | 2284 2285 2286cat >>confdefs.h <<_ACEOF 2287#define PACKAGE "$PACKAGE" 2288_ACEOF 2289 2290 2291cat >>confdefs.h <<_ACEOF --- 131 unchanged lines hidden (view full) --- 2423am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2424 2425 2426 2427 2428 2429ac_config_headers="$ac_config_headers config.h" 2430 |
2431#AC_CONFIG_MACRO_DIR([m4]) |
|
2427 2428{ echo "$as_me:$LINENO: checking for builtin ELF support" >&5 2429echo $ECHO_N "checking for builtin ELF support... $ECHO_C" >&6; } 2430# Check whether --enable-elf was given. 2431if test "${enable_elf+set}" = set; then 2432 enableval=$enable_elf; if test "${enableval}" = yes; then 2433 { echo "$as_me:$LINENO: result: yes" >&5 2434echo "${ECHO_T}yes" >&6; } --- 68 unchanged lines hidden (view full) --- 2503 # disable by default 2504 { echo "$as_me:$LINENO: result: no" >&5 2505echo "${ECHO_T}no" >&6; } 2506 fsect=4 2507 2508fi 2509 2510 | 2432 2433{ echo "$as_me:$LINENO: checking for builtin ELF support" >&5 2434echo $ECHO_N "checking for builtin ELF support... $ECHO_C" >&6; } 2435# Check whether --enable-elf was given. 2436if test "${enable_elf+set}" = set; then 2437 enableval=$enable_elf; if test "${enableval}" = yes; then 2438 { echo "$as_me:$LINENO: result: yes" >&5 2439echo "${ECHO_T}yes" >&6; } --- 68 unchanged lines hidden (view full) --- 2508 # disable by default 2509 { echo "$as_me:$LINENO: result: no" >&5 2510echo "${ECHO_T}no" >&6; } 2511 fsect=4 2512 2513fi 2514 2515 |
2516pkgdatadir='$(datadir)/misc' |
|
2511 | 2517 |
2518 |
|
2512 if test x$fsect = x5; then 2513 FSECT5_TRUE= 2514 FSECT5_FALSE='#' 2515else 2516 FSECT5_TRUE='#' 2517 FSECT5_FALSE= 2518fi 2519 --- 1476 unchanged lines hidden (view full) --- 3996# Then use that list of sed's as ones to test for truncation. 3997as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3998for as_dir in $PATH 3999do 4000 IFS=$as_save_IFS 4001 test -z "$as_dir" && as_dir=. 4002 for lt_ac_prog in sed gsed; do 4003 for ac_exec_ext in '' $ac_executable_extensions; do | 2519 if test x$fsect = x5; then 2520 FSECT5_TRUE= 2521 FSECT5_FALSE='#' 2522else 2523 FSECT5_TRUE='#' 2524 FSECT5_FALSE= 2525fi 2526 --- 1476 unchanged lines hidden (view full) --- 4003# Then use that list of sed's as ones to test for truncation. 4004as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4005for as_dir in $PATH 4006do 4007 IFS=$as_save_IFS 4008 test -z "$as_dir" && as_dir=. 4009 for lt_ac_prog in sed gsed; do 4010 for ac_exec_ext in '' $ac_executable_extensions; do |
4004 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then | 4011 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then |
4005 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" 4006 fi 4007 done 4008 done 4009done | 4012 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" 4013 fi 4014 done 4015 done 4016done |
4017IFS=$as_save_IFS |
|
4010lt_ac_max=0 4011lt_ac_count=0 4012# Add /usr/xpg4/bin/sed as it is typically found on Solaris 4013# along with /bin/sed that truncates output. 4014for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do 4015 test ! -f $lt_ac_sed && continue 4016 cat /dev/null > conftest.in 4017 lt_ac_count=0 --- 18 unchanged lines hidden (view full) --- 4036 lt_cv_path_SED=$lt_ac_sed 4037 fi 4038 done 4039done 4040 4041fi 4042 4043SED=$lt_cv_path_SED | 4018lt_ac_max=0 4019lt_ac_count=0 4020# Add /usr/xpg4/bin/sed as it is typically found on Solaris 4021# along with /bin/sed that truncates output. 4022for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do 4023 test ! -f $lt_ac_sed && continue 4024 cat /dev/null > conftest.in 4025 lt_ac_count=0 --- 18 unchanged lines hidden (view full) --- 4044 lt_cv_path_SED=$lt_ac_sed 4045 fi 4046 done 4047done 4048 4049fi 4050 4051SED=$lt_cv_path_SED |
4052 |
|
4044{ echo "$as_me:$LINENO: result: $SED" >&5 4045echo "${ECHO_T}$SED" >&6; } 4046 4047{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4048echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4049if test "${ac_cv_path_GREP+set}" = set; then 4050 echo $ECHO_N "(cached) $ECHO_C" >&6 4051else --- 207 unchanged lines hidden (view full) --- 4259 if test -z "$LD"; then 4260 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4261 for ac_dir in $PATH; do 4262 IFS="$lt_save_ifs" 4263 test -z "$ac_dir" && ac_dir=. 4264 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4265 lt_cv_path_LD="$ac_dir/$ac_prog" 4266 # Check to see if the program is GNU ld. I'd rather use --version, | 4053{ echo "$as_me:$LINENO: result: $SED" >&5 4054echo "${ECHO_T}$SED" >&6; } 4055 4056{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4057echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4058if test "${ac_cv_path_GREP+set}" = set; then 4059 echo $ECHO_N "(cached) $ECHO_C" >&6 4060else --- 207 unchanged lines hidden (view full) --- 4268 if test -z "$LD"; then 4269 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4270 for ac_dir in $PATH; do 4271 IFS="$lt_save_ifs" 4272 test -z "$ac_dir" && ac_dir=. 4273 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4274 lt_cv_path_LD="$ac_dir/$ac_prog" 4275 # Check to see if the program is GNU ld. I'd rather use --version, |
4267 # but apparently some GNU ld's only accept -v. | 4276 # but apparently some variants of GNU ld only accept -v. |
4268 # Break only if it was the GNU/non-GNU ld that we prefer. 4269 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4270 *GNU* | *'with BFD'*) 4271 test "$with_gnu_ld" != no && break 4272 ;; 4273 *) 4274 test "$with_gnu_ld" != yes && break 4275 ;; --- 17 unchanged lines hidden (view full) --- 4293test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 4294echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 4295 { (exit 1); exit 1; }; } 4296{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 4297echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } 4298if test "${lt_cv_prog_gnu_ld+set}" = set; then 4299 echo $ECHO_N "(cached) $ECHO_C" >&6 4300else | 4277 # Break only if it was the GNU/non-GNU ld that we prefer. 4278 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4279 *GNU* | *'with BFD'*) 4280 test "$with_gnu_ld" != no && break 4281 ;; 4282 *) 4283 test "$with_gnu_ld" != yes && break 4284 ;; --- 17 unchanged lines hidden (view full) --- 4302test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 4303echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 4304 { (exit 1); exit 1; }; } 4305{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 4306echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } 4307if test "${lt_cv_prog_gnu_ld+set}" = set; then 4308 echo $ECHO_N "(cached) $ECHO_C" >&6 4309else |
4301 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 4310 # I'd rather use --version here, but apparently some GNU lds only accept -v. |
4302case `$LD -v 2>&1 </dev/null` in 4303*GNU* | *'with BFD'*) 4304 lt_cv_prog_gnu_ld=yes 4305 ;; 4306*) 4307 lt_cv_prog_gnu_ld=no 4308 ;; 4309esac --- 16 unchanged lines hidden (view full) --- 4326case $reload_flag in 4327"" | " "*) ;; 4328*) reload_flag=" $reload_flag" ;; 4329esac 4330reload_cmds='$LD$reload_flag -o $output$reload_objs' 4331case $host_os in 4332 darwin*) 4333 if test "$GCC" = yes; then | 4311case `$LD -v 2>&1 </dev/null` in 4312*GNU* | *'with BFD'*) 4313 lt_cv_prog_gnu_ld=yes 4314 ;; 4315*) 4316 lt_cv_prog_gnu_ld=no 4317 ;; 4318esac --- 16 unchanged lines hidden (view full) --- 4335case $reload_flag in 4336"" | " "*) ;; 4337*) reload_flag=" $reload_flag" ;; 4338esac 4339reload_cmds='$LD$reload_flag -o $output$reload_objs' 4340case $host_os in 4341 darwin*) 4342 if test "$GCC" = yes; then |
4334 reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs' | 4343 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
4335 else 4336 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4337 fi 4338 ;; 4339esac 4340 4341{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 4342echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; } 4343if test "${lt_cv_path_NM+set}" = set; then 4344 echo $ECHO_N "(cached) $ECHO_C" >&6 4345else 4346 if test -n "$NM"; then 4347 # Let the user override the test. 4348 lt_cv_path_NM="$NM" 4349else | 4344 else 4345 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4346 fi 4347 ;; 4348esac 4349 4350{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 4351echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; } 4352if test "${lt_cv_path_NM+set}" = set; then 4353 echo $ECHO_N "(cached) $ECHO_C" >&6 4354else 4355 if test -n "$NM"; then 4356 # Let the user override the test. 4357 lt_cv_path_NM="$NM" 4358else |
4350 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4351 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do 4352 IFS="$lt_save_ifs" 4353 test -z "$ac_dir" && ac_dir=. 4354 tmp_nm="$ac_dir/${ac_tool_prefix}nm" 4355 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4356 # Check to see if the nm accepts a BSD-compat flag. 4357 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4358 # nm: unknown option "B" ignored 4359 # Tru64's nm complains that /dev/null is an invalid object file 4360 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4361 */dev/null* | *'Invalid file or object type'*) 4362 lt_cv_path_NM="$tmp_nm -B" 4363 break 4364 ;; 4365 *) 4366 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4367 */dev/null*) 4368 lt_cv_path_NM="$tmp_nm -p" | 4359 lt_nm_to_check="${ac_tool_prefix}nm" 4360 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4361 lt_nm_to_check="$lt_nm_to_check nm" 4362 fi 4363 for lt_tmp_nm in $lt_nm_to_check; do 4364 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4365 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4366 IFS="$lt_save_ifs" 4367 test -z "$ac_dir" && ac_dir=. 4368 tmp_nm="$ac_dir/$lt_tmp_nm" 4369 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4370 # Check to see if the nm accepts a BSD-compat flag. 4371 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4372 # nm: unknown option "B" ignored 4373 # Tru64's nm complains that /dev/null is an invalid object file 4374 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4375 */dev/null* | *'Invalid file or object type'*) 4376 lt_cv_path_NM="$tmp_nm -B" |
4369 break 4370 ;; 4371 *) | 4377 break 4378 ;; 4379 *) |
4372 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4373 continue # so that we can try to find one that supports BSD flags | 4380 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4381 */dev/null*) 4382 lt_cv_path_NM="$tmp_nm -p" 4383 break 4384 ;; 4385 *) 4386 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4387 continue # so that we can try to find one that supports BSD flags 4388 ;; 4389 esac |
4374 ;; 4375 esac | 4390 ;; 4391 esac |
4376 esac 4377 fi | 4392 fi 4393 done 4394 IFS="$lt_save_ifs" |
4378 done | 4395 done |
4379 IFS="$lt_save_ifs" | |
4380 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 4381fi 4382fi 4383{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 4384echo "${ECHO_T}$lt_cv_path_NM" >&6; } 4385NM="$lt_cv_path_NM" 4386 | 4396 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 4397fi 4398fi 4399{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 4400echo "${ECHO_T}$lt_cv_path_NM" >&6; } 4401NM="$lt_cv_path_NM" 4402 |
4387{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 4388echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; } | 4403{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 4404echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; } |
4389if test "${lt_cv_deplibs_check_method+set}" = set; then 4390 echo $ECHO_N "(cached) $ECHO_C" >&6 4391else 4392 lt_cv_file_magic_cmd='$MAGIC_CMD' 4393lt_cv_file_magic_test_file= 4394lt_cv_deplibs_check_method='unknown' 4395# Need to set the preceding variable on all platforms that support 4396# interlibrary dependencies. 4397# 'none' -- dependencies not supported. 4398# `unknown' -- same as none, but documents that we really don't know. 4399# 'pass_all' -- all dependencies passed with no checks. 4400# 'test_compile' -- check by making test program. 4401# 'file_magic [[regex]]' -- check by looking for files in library path 4402# which responds to the $file_magic_cmd with a given extended regex. 4403# If you have `file' or equivalent on your system and you're not sure 4404# whether `pass_all' will *always* work, you probably want this one. 4405 4406case $host_os in | 4405if test "${lt_cv_deplibs_check_method+set}" = set; then 4406 echo $ECHO_N "(cached) $ECHO_C" >&6 4407else 4408 lt_cv_file_magic_cmd='$MAGIC_CMD' 4409lt_cv_file_magic_test_file= 4410lt_cv_deplibs_check_method='unknown' 4411# Need to set the preceding variable on all platforms that support 4412# interlibrary dependencies. 4413# 'none' -- dependencies not supported. 4414# `unknown' -- same as none, but documents that we really don't know. 4415# 'pass_all' -- all dependencies passed with no checks. 4416# 'test_compile' -- check by making test program. 4417# 'file_magic [[regex]]' -- check by looking for files in library path 4418# which responds to the $file_magic_cmd with a given extended regex. 4419# If you have `file' or equivalent on your system and you're not sure 4420# whether `pass_all' will *always* work, you probably want this one. 4421 4422case $host_os in |
4407aix4* | aix5*) | 4423aix[4-9]*) |
4408 lt_cv_deplibs_check_method=pass_all 4409 ;; 4410 4411beos*) 4412 lt_cv_deplibs_check_method=pass_all 4413 ;; 4414 4415bsdi[45]*) --- 5 unchanged lines hidden (view full) --- 4421cygwin*) 4422 # func_win32_libid is a shell function defined in ltmain.sh 4423 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4424 lt_cv_file_magic_cmd='func_win32_libid' 4425 ;; 4426 4427mingw* | pw32*) 4428 # Base MSYS/MinGW do not provide the 'file' command needed by | 4424 lt_cv_deplibs_check_method=pass_all 4425 ;; 4426 4427beos*) 4428 lt_cv_deplibs_check_method=pass_all 4429 ;; 4430 4431bsdi[45]*) --- 5 unchanged lines hidden (view full) --- 4437cygwin*) 4438 # func_win32_libid is a shell function defined in ltmain.sh 4439 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4440 lt_cv_file_magic_cmd='func_win32_libid' 4441 ;; 4442 4443mingw* | pw32*) 4444 # Base MSYS/MinGW do not provide the 'file' command needed by |
4429 # func_win32_libid shell function, so use a weaker test based on 'objdump'. 4430 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 4431 lt_cv_file_magic_cmd='$OBJDUMP -f' | 4445 # func_win32_libid shell function, so use a weaker test based on 'objdump', 4446 # unless we find 'file', for example because we are cross-compiling. 4447 if ( file / ) >/dev/null 2>&1; then 4448 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4449 lt_cv_file_magic_cmd='func_win32_libid' 4450 else 4451 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 4452 lt_cv_file_magic_cmd='$OBJDUMP -f' 4453 fi |
4432 ;; 4433 4434darwin* | rhapsody*) 4435 lt_cv_deplibs_check_method=pass_all 4436 ;; 4437 | 4454 ;; 4455 4456darwin* | rhapsody*) 4457 lt_cv_deplibs_check_method=pass_all 4458 ;; 4459 |
4438freebsd* | kfreebsd*-gnu | dragonfly*) | 4460freebsd* | dragonfly*) |
4439 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 4440 case $host_cpu in 4441 i*86 ) 4442 # Not sure whether the presence of OpenBSD here was a mistake. 4443 # Let's accept both of them until this is cleared up. 4444 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 4445 lt_cv_file_magic_cmd=/usr/bin/file 4446 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` --- 5 unchanged lines hidden (view full) --- 4452 ;; 4453 4454gnu*) 4455 lt_cv_deplibs_check_method=pass_all 4456 ;; 4457 4458hpux10.20* | hpux11*) 4459 lt_cv_file_magic_cmd=/usr/bin/file | 4461 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 4462 case $host_cpu in 4463 i*86 ) 4464 # Not sure whether the presence of OpenBSD here was a mistake. 4465 # Let's accept both of them until this is cleared up. 4466 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 4467 lt_cv_file_magic_cmd=/usr/bin/file 4468 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` --- 5 unchanged lines hidden (view full) --- 4474 ;; 4475 4476gnu*) 4477 lt_cv_deplibs_check_method=pass_all 4478 ;; 4479 4480hpux10.20* | hpux11*) 4481 lt_cv_file_magic_cmd=/usr/bin/file |
4460 case "$host_cpu" in | 4482 case $host_cpu in |
4461 ia64*) 4462 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 4463 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 4464 ;; 4465 hppa*64*) 4466 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' 4467 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 4468 ;; 4469 *) 4470 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 4471 lt_cv_file_magic_test_file=/usr/lib/libc.sl 4472 ;; 4473 esac 4474 ;; 4475 | 4483 ia64*) 4484 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 4485 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 4486 ;; 4487 hppa*64*) 4488 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' 4489 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 4490 ;; 4491 *) 4492 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 4493 lt_cv_file_magic_test_file=/usr/lib/libc.sl 4494 ;; 4495 esac 4496 ;; 4497 |
4498interix[3-9]*) 4499 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 4500 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 4501 ;; 4502 |
|
4476irix5* | irix6* | nonstopux*) 4477 case $LD in 4478 *-32|*"-32 ") libmagic=32-bit;; 4479 *-n32|*"-n32 ") libmagic=N32;; 4480 *-64|*"-64 ") libmagic=64-bit;; 4481 *) libmagic=never-match;; 4482 esac 4483 lt_cv_deplibs_check_method=pass_all 4484 ;; 4485 4486# This must be Linux ELF. | 4503irix5* | irix6* | nonstopux*) 4504 case $LD in 4505 *-32|*"-32 ") libmagic=32-bit;; 4506 *-n32|*"-n32 ") libmagic=N32;; 4507 *-64|*"-64 ") libmagic=64-bit;; 4508 *) libmagic=never-match;; 4509 esac 4510 lt_cv_deplibs_check_method=pass_all 4511 ;; 4512 4513# This must be Linux ELF. |
4487linux*) | 4514linux* | k*bsd*-gnu) |
4488 lt_cv_deplibs_check_method=pass_all 4489 ;; 4490 4491netbsd*) 4492 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 4493 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 4494 else 4495 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' --- 17 unchanged lines hidden (view full) --- 4513 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 4514 fi 4515 ;; 4516 4517osf3* | osf4* | osf5*) 4518 lt_cv_deplibs_check_method=pass_all 4519 ;; 4520 | 4515 lt_cv_deplibs_check_method=pass_all 4516 ;; 4517 4518netbsd*) 4519 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 4520 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 4521 else 4522 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' --- 17 unchanged lines hidden (view full) --- 4540 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 4541 fi 4542 ;; 4543 4544osf3* | osf4* | osf5*) 4545 lt_cv_deplibs_check_method=pass_all 4546 ;; 4547 |
4521sco3.2v5*) | 4548rdos*) |
4522 lt_cv_deplibs_check_method=pass_all 4523 ;; 4524 4525solaris*) 4526 lt_cv_deplibs_check_method=pass_all 4527 ;; 4528 | 4549 lt_cv_deplibs_check_method=pass_all 4550 ;; 4551 4552solaris*) 4553 lt_cv_deplibs_check_method=pass_all 4554 ;; 4555 |
4529sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 4556sysv4 | sysv4.3*) |
4530 case $host_vendor in 4531 motorola) 4532 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]' 4533 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 4534 ;; 4535 ncr) 4536 lt_cv_deplibs_check_method=pass_all 4537 ;; --- 4 unchanged lines hidden (view full) --- 4542 sni) 4543 lt_cv_file_magic_cmd='/bin/file' 4544 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 4545 lt_cv_file_magic_test_file=/lib/libc.so 4546 ;; 4547 siemens) 4548 lt_cv_deplibs_check_method=pass_all 4549 ;; | 4557 case $host_vendor in 4558 motorola) 4559 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]' 4560 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 4561 ;; 4562 ncr) 4563 lt_cv_deplibs_check_method=pass_all 4564 ;; --- 4 unchanged lines hidden (view full) --- 4569 sni) 4570 lt_cv_file_magic_cmd='/bin/file' 4571 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 4572 lt_cv_file_magic_test_file=/lib/libc.so 4573 ;; 4574 siemens) 4575 lt_cv_deplibs_check_method=pass_all 4576 ;; |
4577 pc) 4578 lt_cv_deplibs_check_method=pass_all 4579 ;; |
|
4550 esac 4551 ;; 4552 | 4580 esac 4581 ;; 4582 |
4553sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) | 4583sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
4554 lt_cv_deplibs_check_method=pass_all 4555 ;; 4556esac 4557 4558fi 4559{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 4560echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } 4561file_magic_cmd=$lt_cv_file_magic_cmd 4562deplibs_check_method=$lt_cv_deplibs_check_method 4563test -z "$deplibs_check_method" && deplibs_check_method=unknown 4564 4565 4566 4567 4568# If no C compiler was specified, use CC. 4569LTCC=${LTCC-"$CC"} 4570 | 4584 lt_cv_deplibs_check_method=pass_all 4585 ;; 4586esac 4587 4588fi 4589{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 4590echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } 4591file_magic_cmd=$lt_cv_file_magic_cmd 4592deplibs_check_method=$lt_cv_deplibs_check_method 4593test -z "$deplibs_check_method" && deplibs_check_method=unknown 4594 4595 4596 4597 4598# If no C compiler was specified, use CC. 4599LTCC=${LTCC-"$CC"} 4600 |
4601# If no C compiler flags were specified, use CFLAGS. 4602LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 4603 |
|
4571# Allow CC to be a program name with arguments. 4572compiler=$CC 4573 4574 4575# Check whether --enable-libtool-lock was given. 4576if test "${enable_libtool_lock+set}" = set; then 4577 enableval=$enable_libtool_lock; 4578fi --- 19 unchanged lines hidden (view full) --- 4598 HPUX_IA64_MODE="64" 4599 ;; 4600 esac 4601 fi 4602 rm -rf conftest* 4603 ;; 4604*-*-irix6*) 4605 # Find out which ABI we are using. | 4604# Allow CC to be a program name with arguments. 4605compiler=$CC 4606 4607 4608# Check whether --enable-libtool-lock was given. 4609if test "${enable_libtool_lock+set}" = set; then 4610 enableval=$enable_libtool_lock; 4611fi --- 19 unchanged lines hidden (view full) --- 4631 HPUX_IA64_MODE="64" 4632 ;; 4633 esac 4634 fi 4635 rm -rf conftest* 4636 ;; 4637*-*-irix6*) 4638 # Find out which ABI we are using. |
4606 echo '#line 4606 "configure"' > conftest.$ac_ext | 4639 echo '#line 4639 "configure"' > conftest.$ac_ext |
4607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4608 (eval $ac_compile) 2>&5 4609 ac_status=$? 4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4611 (exit $ac_status); }; then 4612 if test "$lt_cv_prog_gnu_ld" = yes; then 4613 case `/usr/bin/file conftest.$ac_objext` in 4614 *32-bit*) --- 18 unchanged lines hidden (view full) --- 4633 LD="${LD-ld} -64" 4634 ;; 4635 esac 4636 fi 4637 fi 4638 rm -rf conftest* 4639 ;; 4640 | 4640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4641 (eval $ac_compile) 2>&5 4642 ac_status=$? 4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4644 (exit $ac_status); }; then 4645 if test "$lt_cv_prog_gnu_ld" = yes; then 4646 case `/usr/bin/file conftest.$ac_objext` in 4647 *32-bit*) --- 18 unchanged lines hidden (view full) --- 4666 LD="${LD-ld} -64" 4667 ;; 4668 esac 4669 fi 4670 fi 4671 rm -rf conftest* 4672 ;; 4673 |
4641x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) | 4674x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 4675s390*-*linux*|sparc*-*linux*) |
4642 # Find out which ABI we are using. 4643 echo 'int i;' > conftest.$ac_ext 4644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4645 (eval $ac_compile) 2>&5 4646 ac_status=$? 4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4648 (exit $ac_status); }; then | 4676 # Find out which ABI we are using. 4677 echo 'int i;' > conftest.$ac_ext 4678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4679 (eval $ac_compile) 2>&5 4680 ac_status=$? 4681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4682 (exit $ac_status); }; then |
4649 case "`/usr/bin/file conftest.o`" in | 4683 case `/usr/bin/file conftest.o` in |
4650 *32-bit*) 4651 case $host in | 4684 *32-bit*) 4685 case $host in |
4686 x86_64-*kfreebsd*-gnu) 4687 LD="${LD-ld} -m elf_i386_fbsd" 4688 ;; |
|
4652 x86_64-*linux*) 4653 LD="${LD-ld} -m elf_i386" 4654 ;; 4655 ppc64-*linux*|powerpc64-*linux*) 4656 LD="${LD-ld} -m elf32ppclinux" 4657 ;; 4658 s390x-*linux*) 4659 LD="${LD-ld} -m elf_s390" 4660 ;; 4661 sparc64-*linux*) 4662 LD="${LD-ld} -m elf32_sparc" 4663 ;; 4664 esac 4665 ;; 4666 *64-bit*) 4667 case $host in | 4689 x86_64-*linux*) 4690 LD="${LD-ld} -m elf_i386" 4691 ;; 4692 ppc64-*linux*|powerpc64-*linux*) 4693 LD="${LD-ld} -m elf32ppclinux" 4694 ;; 4695 s390x-*linux*) 4696 LD="${LD-ld} -m elf_s390" 4697 ;; 4698 sparc64-*linux*) 4699 LD="${LD-ld} -m elf32_sparc" 4700 ;; 4701 esac 4702 ;; 4703 *64-bit*) 4704 case $host in |
4705 x86_64-*kfreebsd*-gnu) 4706 LD="${LD-ld} -m elf_x86_64_fbsd" 4707 ;; |
|
4668 x86_64-*linux*) 4669 LD="${LD-ld} -m elf_x86_64" 4670 ;; 4671 ppc*-*linux*|powerpc*-*linux*) 4672 LD="${LD-ld} -m elf64ppc" 4673 ;; 4674 s390*-*linux*) 4675 LD="${LD-ld} -m elf64_s390" --- 75 unchanged lines hidden (view full) --- 4751fi 4752{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 4753echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } 4754 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 4755 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 4756 CFLAGS="$SAVE_CFLAGS" 4757 fi 4758 ;; | 4708 x86_64-*linux*) 4709 LD="${LD-ld} -m elf_x86_64" 4710 ;; 4711 ppc*-*linux*|powerpc*-*linux*) 4712 LD="${LD-ld} -m elf64ppc" 4713 ;; 4714 s390*-*linux*) 4715 LD="${LD-ld} -m elf64_s390" --- 75 unchanged lines hidden (view full) --- 4791fi 4792{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 4793echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } 4794 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 4795 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 4796 CFLAGS="$SAVE_CFLAGS" 4797 fi 4798 ;; |
4799sparc*-*solaris*) 4800 # Find out which ABI we are using. 4801 echo 'int i;' > conftest.$ac_ext 4802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4803 (eval $ac_compile) 2>&5 4804 ac_status=$? 4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4806 (exit $ac_status); }; then 4807 case `/usr/bin/file conftest.o` in 4808 *64-bit*) 4809 case $lt_cv_prog_gnu_ld in 4810 yes*) LD="${LD-ld} -m elf64_sparc" ;; 4811 *) 4812 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 4813 LD="${LD-ld} -64" 4814 fi 4815 ;; 4816 esac 4817 ;; 4818 esac 4819 fi 4820 rm -rf conftest* 4821 ;; |
|
4759 | 4822 |
4823 |
|
4760esac 4761 4762need_locks="$enable_libtool_lock" 4763 4764 4765ac_ext=c 4766ac_cpp='$CPP $CPPFLAGS' 4767ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' --- 1577 unchanged lines hidden (view full) --- 6345ac_cpp='$CPP $CPPFLAGS' 6346ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6347ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6348ac_compiler_gnu=$ac_cv_c_compiler_gnu 6349 6350 6351 6352# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! | 4824esac 4825 4826need_locks="$enable_libtool_lock" 4827 4828 4829ac_ext=c 4830ac_cpp='$CPP $CPPFLAGS' 4831ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' --- 1577 unchanged lines hidden (view full) --- 6409ac_cpp='$CPP $CPPFLAGS' 6410ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6411ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6412ac_compiler_gnu=$ac_cv_c_compiler_gnu 6413 6414 6415 6416# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! |
6353 | |
6354# find the maximum length of command line arguments 6355{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 6356echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } 6357if test "${lt_cv_sys_max_cmd_len+set}" = set; then 6358 echo $ECHO_N "(cached) $ECHO_C" >&6 6359else 6360 i=0 6361 teststring="ABCD" --- 33 unchanged lines hidden (view full) --- 6395 6396 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 6397 # This has been around since 386BSD, at least. Likely further. 6398 if test -x /sbin/sysctl; then 6399 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6400 elif test -x /usr/sbin/sysctl; then 6401 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6402 else | 6417# find the maximum length of command line arguments 6418{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 6419echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } 6420if test "${lt_cv_sys_max_cmd_len+set}" = set; then 6421 echo $ECHO_N "(cached) $ECHO_C" >&6 6422else 6423 i=0 6424 teststring="ABCD" --- 33 unchanged lines hidden (view full) --- 6458 6459 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 6460 # This has been around since 386BSD, at least. Likely further. 6461 if test -x /sbin/sysctl; then 6462 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6463 elif test -x /usr/sbin/sysctl; then 6464 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6465 else |
6403 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD | 6466 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
6404 fi 6405 # And add a safety zone 6406 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6407 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6408 ;; | 6467 fi 6468 # And add a safety zone 6469 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6470 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6471 ;; |
6472 6473 interix*) 6474 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6475 lt_cv_sys_max_cmd_len=196608 6476 ;; 6477 |
|
6409 osf*) 6410 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6411 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6412 # nice to cause kernel panics so lets avoid the loop below. 6413 # First set a reasonable default. 6414 lt_cv_sys_max_cmd_len=16384 6415 # 6416 if test -x /sbin/sysconfig; then 6417 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6418 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6419 esac 6420 fi 6421 ;; | 6478 osf*) 6479 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6480 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6481 # nice to cause kernel panics so lets avoid the loop below. 6482 # First set a reasonable default. 6483 lt_cv_sys_max_cmd_len=16384 6484 # 6485 if test -x /sbin/sysconfig; then 6486 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6487 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6488 esac 6489 fi 6490 ;; |
6491 sco3.2v5*) 6492 lt_cv_sys_max_cmd_len=102400 6493 ;; 6494 sysv5* | sco5v6* | sysv4.2uw2*) 6495 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6496 if test -n "$kargmax"; then 6497 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6498 else 6499 lt_cv_sys_max_cmd_len=32768 6500 fi 6501 ;; |
|
6422 *) | 6502 *) |
6423 # If test is not a shell built-in, we'll probably end up computing a 6424 # maximum length that is only half of the actual maximum length, but 6425 # we can't tell. 6426 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6427 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ | 6503 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6504 if test -n "$lt_cv_sys_max_cmd_len"; then 6505 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6506 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6507 else 6508 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6509 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ |
6428 = "XX$teststring") >/dev/null 2>&1 && | 6510 = "XX$teststring") >/dev/null 2>&1 && |
6429 new_result=`expr "X$teststring" : ".*" 2>&1` && 6430 lt_cv_sys_max_cmd_len=$new_result && 6431 test $i != 17 # 1/2 MB should be enough 6432 do 6433 i=`expr $i + 1` 6434 teststring=$teststring$teststring 6435 done 6436 teststring= 6437 # Add a significant safety factor because C++ compilers can tack on massive 6438 # amounts of additional arguments before passing them to the linker. 6439 # It appears as though 1/2 is a usable value. 6440 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` | 6511 new_result=`expr "X$teststring" : ".*" 2>&1` && 6512 lt_cv_sys_max_cmd_len=$new_result && 6513 test $i != 17 # 1/2 MB should be enough 6514 do 6515 i=`expr $i + 1` 6516 teststring=$teststring$teststring 6517 done 6518 teststring= 6519 # Add a significant safety factor because C++ compilers can tack on massive 6520 # amounts of additional arguments before passing them to the linker. 6521 # It appears as though 1/2 is a usable value. 6522 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6523 fi |
6441 ;; 6442 esac 6443 6444fi 6445 6446if test -n $lt_cv_sys_max_cmd_len ; then 6447 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 6448echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } 6449else 6450 { echo "$as_me:$LINENO: result: none" >&5 6451echo "${ECHO_T}none" >&6; } 6452fi 6453 6454 6455 6456 | 6524 ;; 6525 esac 6526 6527fi 6528 6529if test -n $lt_cv_sys_max_cmd_len ; then 6530 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 6531echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } 6532else 6533 { echo "$as_me:$LINENO: result: none" >&5 6534echo "${ECHO_T}none" >&6; } 6535fi 6536 6537 6538 6539 |
6540 |
|
6457# Check for command to grab the raw symbol name followed by C symbol from nm. 6458{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 6459echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } 6460if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 6461 echo $ECHO_N "(cached) $ECHO_C" >&6 6462else 6463 6464# These are sane defaults that work on at least a few old systems. --- 21 unchanged lines hidden (view full) --- 6486 ;; 6487hpux*) # Its linker distinguishes data from code symbols 6488 if test "$host_cpu" = ia64; then 6489 symcode='[ABCDEGRST]' 6490 fi 6491 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6492 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" 6493 ;; | 6541# Check for command to grab the raw symbol name followed by C symbol from nm. 6542{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 6543echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } 6544if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 6545 echo $ECHO_N "(cached) $ECHO_C" >&6 6546else 6547 6548# These are sane defaults that work on at least a few old systems. --- 21 unchanged lines hidden (view full) --- 6570 ;; 6571hpux*) # Its linker distinguishes data from code symbols 6572 if test "$host_cpu" = ia64; then 6573 symcode='[ABCDEGRST]' 6574 fi 6575 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6576 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" 6577 ;; |
6494linux*) | 6578linux* | k*bsd*-gnu) |
6495 if test "$host_cpu" = ia64; then 6496 symcode='[ABCDGIRSTW]' 6497 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6498 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" 6499 fi 6500 ;; 6501irix* | nonstopux*) 6502 symcode='[BCDEGRST]' 6503 ;; 6504osf*) 6505 symcode='[BCDEGQRST]' 6506 ;; | 6579 if test "$host_cpu" = ia64; then 6580 symcode='[ABCDGIRSTW]' 6581 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6582 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" 6583 fi 6584 ;; 6585irix* | nonstopux*) 6586 symcode='[BCDEGRST]' 6587 ;; 6588osf*) 6589 symcode='[BCDEGQRST]' 6590 ;; |
6507solaris* | sysv5*) | 6591solaris*) |
6508 symcode='[BDRT]' 6509 ;; | 6592 symcode='[BDRT]' 6593 ;; |
6594sco3.2v5*) 6595 symcode='[DT]' 6596 ;; 6597sysv4.2uw2*) 6598 symcode='[DT]' 6599 ;; 6600sysv5* | sco5v6* | unixware* | OpenUNIX*) 6601 symcode='[ABDT]' 6602 ;; |
|
6510sysv4) 6511 symcode='[DFNSTU]' 6512 ;; 6513esac 6514 6515# Handle CRLF in mingw tool chain 6516opt_cr= 6517case $build_os in --- 112 unchanged lines hidden (view full) --- 6630 fi 6631 else 6632 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6633 fi 6634 else 6635 echo "$progname: failed program was:" >&5 6636 cat conftest.$ac_ext >&5 6637 fi | 6603sysv4) 6604 symcode='[DFNSTU]' 6605 ;; 6606esac 6607 6608# Handle CRLF in mingw tool chain 6609opt_cr= 6610case $build_os in --- 112 unchanged lines hidden (view full) --- 6723 fi 6724 else 6725 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6726 fi 6727 else 6728 echo "$progname: failed program was:" >&5 6729 cat conftest.$ac_ext >&5 6730 fi |
6638 rm -f conftest* conftst* | 6731 rm -rf conftest* conftst* |
6639 6640 # Do not use the global_symbol_pipe unless it works. 6641 if test "$pipe_works" = yes; then 6642 break 6643 else 6644 lt_cv_sys_global_symbol_pipe= 6645 fi 6646done --- 63 unchanged lines hidden (view full) --- 6710 6711# Constants: 6712rm="rm -f" 6713 6714# Global variables: 6715default_ofile=libtool 6716can_build_shared=yes 6717 | 6732 6733 # Do not use the global_symbol_pipe unless it works. 6734 if test "$pipe_works" = yes; then 6735 break 6736 else 6737 lt_cv_sys_global_symbol_pipe= 6738 fi 6739done --- 63 unchanged lines hidden (view full) --- 6803 6804# Constants: 6805rm="rm -f" 6806 6807# Global variables: 6808default_ofile=libtool 6809can_build_shared=yes 6810 |
6718# All known linkers require a `.a' archive for static linking (except M$VC, | 6811# All known linkers require a `.a' archive for static linking (except MSVC, |
6719# which needs '.lib'). 6720libext=a 6721ltmain="$ac_aux_dir/ltmain.sh" 6722ofile="$default_ofile" 6723with_gnu_ld="$lt_cv_prog_gnu_ld" 6724 6725if test -n "$ac_tool_prefix"; then 6726 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. --- 288 unchanged lines hidden (view full) --- 7015old_CFLAGS="$CFLAGS" 7016 7017# Set sane defaults for various variables 7018test -z "$AR" && AR=ar 7019test -z "$AR_FLAGS" && AR_FLAGS=cru 7020test -z "$AS" && AS=as 7021test -z "$CC" && CC=cc 7022test -z "$LTCC" && LTCC=$CC | 6812# which needs '.lib'). 6813libext=a 6814ltmain="$ac_aux_dir/ltmain.sh" 6815ofile="$default_ofile" 6816with_gnu_ld="$lt_cv_prog_gnu_ld" 6817 6818if test -n "$ac_tool_prefix"; then 6819 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. --- 288 unchanged lines hidden (view full) --- 7108old_CFLAGS="$CFLAGS" 7109 7110# Set sane defaults for various variables 7111test -z "$AR" && AR=ar 7112test -z "$AR_FLAGS" && AR_FLAGS=cru 7113test -z "$AS" && AS=as 7114test -z "$CC" && CC=cc 7115test -z "$LTCC" && LTCC=$CC |
7116test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
|
7023test -z "$DLLTOOL" && DLLTOOL=dlltool 7024test -z "$LD" && LD=ld 7025test -z "$LN_S" && LN_S="ln -s" 7026test -z "$MAGIC_CMD" && MAGIC_CMD=file 7027test -z "$NM" && NM=nm 7028test -z "$SED" && SED=sed 7029test -z "$OBJDUMP" && OBJDUMP=objdump 7030test -z "$RANLIB" && RANLIB=: 7031test -z "$STRIP" && STRIP=: 7032test -z "$ac_objext" && ac_objext=o 7033 7034# Determine commands to create old-style static archives. | 7117test -z "$DLLTOOL" && DLLTOOL=dlltool 7118test -z "$LD" && LD=ld 7119test -z "$LN_S" && LN_S="ln -s" 7120test -z "$MAGIC_CMD" && MAGIC_CMD=file 7121test -z "$NM" && NM=nm 7122test -z "$SED" && SED=sed 7123test -z "$OBJDUMP" && OBJDUMP=objdump 7124test -z "$RANLIB" && RANLIB=: 7125test -z "$STRIP" && STRIP=: 7126test -z "$ac_objext" && ac_objext=o 7127 7128# Determine commands to create old-style static archives. |
7035old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' | 7129old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
7036old_postinstall_cmds='chmod 644 $oldlib' 7037old_postuninstall_cmds= 7038 7039if test -n "$RANLIB"; then 7040 case $host_os in 7041 openbsd*) | 7130old_postinstall_cmds='chmod 644 $oldlib' 7131old_postuninstall_cmds= 7132 7133if test -n "$RANLIB"; then 7134 case $host_os in 7135 openbsd*) |
7042 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" | 7136 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
7043 ;; 7044 *) | 7137 ;; 7138 *) |
7045 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" | 7139 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
7046 ;; 7047 esac 7048 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 7049fi 7050 7051for cc_temp in $compiler""; do 7052 case $cc_temp in 7053 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; --- 25 unchanged lines hidden (view full) --- 7079 for ac_dir in $ac_dummy; do 7080 IFS="$lt_save_ifs" 7081 test -z "$ac_dir" && ac_dir=. 7082 if test -f $ac_dir/${ac_tool_prefix}file; then 7083 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7084 if test -n "$file_magic_test_file"; then 7085 case $deplibs_check_method in 7086 "file_magic "*) | 7140 ;; 7141 esac 7142 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 7143fi 7144 7145for cc_temp in $compiler""; do 7146 case $cc_temp in 7147 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; --- 25 unchanged lines hidden (view full) --- 7173 for ac_dir in $ac_dummy; do 7174 IFS="$lt_save_ifs" 7175 test -z "$ac_dir" && ac_dir=. 7176 if test -f $ac_dir/${ac_tool_prefix}file; then 7177 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7178 if test -n "$file_magic_test_file"; then 7179 case $deplibs_check_method in 7180 "file_magic "*) |
7087 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" | 7181 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
7088 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7089 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7090 $EGREP "$file_magic_regex" > /dev/null; then 7091 : 7092 else 7093 cat <<EOF 1>&2 7094 7095*** Warning: the command libtool uses to detect shared libraries, --- 45 unchanged lines hidden (view full) --- 7141 for ac_dir in $ac_dummy; do 7142 IFS="$lt_save_ifs" 7143 test -z "$ac_dir" && ac_dir=. 7144 if test -f $ac_dir/file; then 7145 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7146 if test -n "$file_magic_test_file"; then 7147 case $deplibs_check_method in 7148 "file_magic "*) | 7182 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7183 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7184 $EGREP "$file_magic_regex" > /dev/null; then 7185 : 7186 else 7187 cat <<EOF 1>&2 7188 7189*** Warning: the command libtool uses to detect shared libraries, --- 45 unchanged lines hidden (view full) --- 7235 for ac_dir in $ac_dummy; do 7236 IFS="$lt_save_ifs" 7237 test -z "$ac_dir" && ac_dir=. 7238 if test -f $ac_dir/file; then 7239 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7240 if test -n "$file_magic_test_file"; then 7241 case $deplibs_check_method in 7242 "file_magic "*) |
7149 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" | 7243 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
7150 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7151 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7152 $EGREP "$file_magic_regex" > /dev/null; then 7153 : 7154 else 7155 cat <<EOF 1>&2 7156 7157*** Warning: the command libtool uses to detect shared libraries, --- 31 unchanged lines hidden (view full) --- 7189 MAGIC_CMD=: 7190 fi 7191fi 7192 7193 fi 7194 ;; 7195esac 7196 | 7244 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7245 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7246 $EGREP "$file_magic_regex" > /dev/null; then 7247 : 7248 else 7249 cat <<EOF 1>&2 7250 7251*** Warning: the command libtool uses to detect shared libraries, --- 31 unchanged lines hidden (view full) --- 7283 MAGIC_CMD=: 7284 fi 7285fi 7286 7287 fi 7288 ;; 7289esac 7290 |
7291 7292 case $host_os in 7293 rhapsody* | darwin*) 7294 if test -n "$ac_tool_prefix"; then 7295 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7296set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7297{ echo "$as_me:$LINENO: checking for $ac_word" >&5 7298echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7299if test "${ac_cv_prog_DSYMUTIL+set}" = set; then 7300 echo $ECHO_N "(cached) $ECHO_C" >&6 7301else 7302 if test -n "$DSYMUTIL"; then 7303 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7304else 7305as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7306for as_dir in $PATH 7307do 7308 IFS=$as_save_IFS 7309 test -z "$as_dir" && as_dir=. 7310 for ac_exec_ext in '' $ac_executable_extensions; do 7311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7312 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7314 break 2 7315 fi 7316done 7317done 7318IFS=$as_save_IFS 7319 7320fi 7321fi 7322DSYMUTIL=$ac_cv_prog_DSYMUTIL 7323if test -n "$DSYMUTIL"; then 7324 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 7325echo "${ECHO_T}$DSYMUTIL" >&6; } 7326else 7327 { echo "$as_me:$LINENO: result: no" >&5 7328echo "${ECHO_T}no" >&6; } 7329fi 7330 7331 7332fi 7333if test -z "$ac_cv_prog_DSYMUTIL"; then 7334 ac_ct_DSYMUTIL=$DSYMUTIL 7335 # Extract the first word of "dsymutil", so it can be a program name with args. 7336set dummy dsymutil; ac_word=$2 7337{ echo "$as_me:$LINENO: checking for $ac_word" >&5 7338echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7339if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then 7340 echo $ECHO_N "(cached) $ECHO_C" >&6 7341else 7342 if test -n "$ac_ct_DSYMUTIL"; then 7343 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7344else 7345as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7346for as_dir in $PATH 7347do 7348 IFS=$as_save_IFS 7349 test -z "$as_dir" && as_dir=. 7350 for ac_exec_ext in '' $ac_executable_extensions; do 7351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7352 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7354 break 2 7355 fi 7356done 7357done 7358IFS=$as_save_IFS 7359 7360fi 7361fi 7362ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7363if test -n "$ac_ct_DSYMUTIL"; then 7364 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 7365echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; } 7366else 7367 { echo "$as_me:$LINENO: result: no" >&5 7368echo "${ECHO_T}no" >&6; } 7369fi 7370 7371 if test "x$ac_ct_DSYMUTIL" = x; then 7372 DSYMUTIL=":" 7373 else 7374 case $cross_compiling:$ac_tool_warned in 7375yes:) 7376{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 7377whose name does not start with the host triplet. If you think this 7378configuration is useful to you, please write to autoconf@gnu.org." >&5 7379echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 7380whose name does not start with the host triplet. If you think this 7381configuration is useful to you, please write to autoconf@gnu.org." >&2;} 7382ac_tool_warned=yes ;; 7383esac 7384 DSYMUTIL=$ac_ct_DSYMUTIL 7385 fi 7386else 7387 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7388fi 7389 7390 if test -n "$ac_tool_prefix"; then 7391 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7392set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7393{ echo "$as_me:$LINENO: checking for $ac_word" >&5 7394echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7395if test "${ac_cv_prog_NMEDIT+set}" = set; then 7396 echo $ECHO_N "(cached) $ECHO_C" >&6 7397else 7398 if test -n "$NMEDIT"; then 7399 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7400else 7401as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7402for as_dir in $PATH 7403do 7404 IFS=$as_save_IFS 7405 test -z "$as_dir" && as_dir=. 7406 for ac_exec_ext in '' $ac_executable_extensions; do 7407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7408 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7410 break 2 7411 fi 7412done 7413done 7414IFS=$as_save_IFS 7415 7416fi 7417fi 7418NMEDIT=$ac_cv_prog_NMEDIT 7419if test -n "$NMEDIT"; then 7420 { echo "$as_me:$LINENO: result: $NMEDIT" >&5 7421echo "${ECHO_T}$NMEDIT" >&6; } 7422else 7423 { echo "$as_me:$LINENO: result: no" >&5 7424echo "${ECHO_T}no" >&6; } 7425fi 7426 7427 7428fi 7429if test -z "$ac_cv_prog_NMEDIT"; then 7430 ac_ct_NMEDIT=$NMEDIT 7431 # Extract the first word of "nmedit", so it can be a program name with args. 7432set dummy nmedit; ac_word=$2 7433{ echo "$as_me:$LINENO: checking for $ac_word" >&5 7434echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7435if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then 7436 echo $ECHO_N "(cached) $ECHO_C" >&6 7437else 7438 if test -n "$ac_ct_NMEDIT"; then 7439 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7440else 7441as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7442for as_dir in $PATH 7443do 7444 IFS=$as_save_IFS 7445 test -z "$as_dir" && as_dir=. 7446 for ac_exec_ext in '' $ac_executable_extensions; do 7447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7448 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7450 break 2 7451 fi 7452done 7453done 7454IFS=$as_save_IFS 7455 7456fi 7457fi 7458ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7459if test -n "$ac_ct_NMEDIT"; then 7460 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 7461echo "${ECHO_T}$ac_ct_NMEDIT" >&6; } 7462else 7463 { echo "$as_me:$LINENO: result: no" >&5 7464echo "${ECHO_T}no" >&6; } 7465fi 7466 7467 if test "x$ac_ct_NMEDIT" = x; then 7468 NMEDIT=":" 7469 else 7470 case $cross_compiling:$ac_tool_warned in 7471yes:) 7472{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 7473whose name does not start with the host triplet. If you think this 7474configuration is useful to you, please write to autoconf@gnu.org." >&5 7475echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 7476whose name does not start with the host triplet. If you think this 7477configuration is useful to you, please write to autoconf@gnu.org." >&2;} 7478ac_tool_warned=yes ;; 7479esac 7480 NMEDIT=$ac_ct_NMEDIT 7481 fi 7482else 7483 NMEDIT="$ac_cv_prog_NMEDIT" 7484fi 7485 7486 7487 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 7488echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; } 7489if test "${lt_cv_apple_cc_single_mod+set}" = set; then 7490 echo $ECHO_N "(cached) $ECHO_C" >&6 7491else 7492 lt_cv_apple_cc_single_mod=no 7493 if test -z "${LT_MULTI_MODULE}"; then 7494 # By default we will add the -single_module flag. You can override 7495 # by either setting the environment variable LT_MULTI_MODULE 7496 # non-empty at configure time, or by adding -multi_module to the 7497 # link flags. 7498 echo "int foo(void){return 1;}" > conftest.c 7499 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7500 -dynamiclib ${wl}-single_module conftest.c 7501 if test -f libconftest.dylib; then 7502 lt_cv_apple_cc_single_mod=yes 7503 rm -rf libconftest.dylib* 7504 fi 7505 rm conftest.c 7506 fi 7507fi 7508{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 7509echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; } 7510 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 7511echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; } 7512if test "${lt_cv_ld_exported_symbols_list+set}" = set; then 7513 echo $ECHO_N "(cached) $ECHO_C" >&6 7514else 7515 lt_cv_ld_exported_symbols_list=no 7516 save_LDFLAGS=$LDFLAGS 7517 echo "_main" > conftest.sym 7518 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7519 cat >conftest.$ac_ext <<_ACEOF 7520/* confdefs.h. */ 7521_ACEOF 7522cat confdefs.h >>conftest.$ac_ext 7523cat >>conftest.$ac_ext <<_ACEOF 7524/* end confdefs.h. */ 7525 7526int 7527main () 7528{ 7529 7530 ; 7531 return 0; 7532} 7533_ACEOF 7534rm -f conftest.$ac_objext conftest$ac_exeext 7535if { (ac_try="$ac_link" 7536case "(($ac_try" in 7537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7538 *) ac_try_echo=$ac_try;; 7539esac 7540eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7541 (eval "$ac_link") 2>conftest.er1 7542 ac_status=$? 7543 grep -v '^ *+' conftest.er1 >conftest.err 7544 rm -f conftest.er1 7545 cat conftest.err >&5 7546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7547 (exit $ac_status); } && { 7548 test -z "$ac_c_werror_flag" || 7549 test ! -s conftest.err 7550 } && test -s conftest$ac_exeext && 7551 $as_test_x conftest$ac_exeext; then 7552 lt_cv_ld_exported_symbols_list=yes 7553else 7554 echo "$as_me: failed program was:" >&5 7555sed 's/^/| /' conftest.$ac_ext >&5 7556 7557 lt_cv_ld_exported_symbols_list=no 7558fi 7559 7560rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7561 conftest$ac_exeext conftest.$ac_ext 7562 LDFLAGS="$save_LDFLAGS" 7563 7564fi 7565{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 7566echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; } 7567 case $host_os in 7568 rhapsody* | darwin1.[0123]) 7569 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7570 darwin1.*) 7571 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7572 darwin*) 7573 # if running on 10.5 or later, the deployment target defaults 7574 # to the OS version, if on x86, and 10.4, the deployment 7575 # target defaults to 10.4. Don't you love it? 7576 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7577 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7578 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7579 10.[012]*) 7580 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7581 10.*) 7582 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7583 esac 7584 ;; 7585 esac 7586 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7587 _lt_dar_single_mod='$single_module' 7588 fi 7589 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7590 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7591 else 7592 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}" 7593 fi 7594 if test "$DSYMUTIL" != ":"; then 7595 _lt_dsymutil="~$DSYMUTIL \$lib || :" 7596 else 7597 _lt_dsymutil= 7598 fi 7599 ;; 7600 esac 7601 7602 |
|
7197enable_dlopen=no 7198enable_win32_dll=no 7199 7200# Check whether --enable-libtool-lock was given. 7201if test "${enable_libtool_lock+set}" = set; then 7202 enableval=$enable_libtool_lock; 7203fi 7204 --- 22 unchanged lines hidden (view full) --- 7227# Source file extension for C test sources. 7228ac_ext=c 7229 7230# Object file extension for compiled C test sources. 7231objext=o 7232objext=$objext 7233 7234# Code to be used in simple compile tests | 7603enable_dlopen=no 7604enable_win32_dll=no 7605 7606# Check whether --enable-libtool-lock was given. 7607if test "${enable_libtool_lock+set}" = set; then 7608 enableval=$enable_libtool_lock; 7609fi 7610 --- 22 unchanged lines hidden (view full) --- 7633# Source file extension for C test sources. 7634ac_ext=c 7635 7636# Object file extension for compiled C test sources. 7637objext=o 7638objext=$objext 7639 7640# Code to be used in simple compile tests |
7235lt_simple_compile_test_code="int some_variable = 0;\n" | 7641lt_simple_compile_test_code="int some_variable = 0;" |
7236 7237# Code to be used in simple link tests | 7642 7643# Code to be used in simple link tests |
7238lt_simple_link_test_code='int main(){return(0);}\n' | 7644lt_simple_link_test_code='int main(){return(0);}' |
7239 7240 7241# If no C compiler was specified, use CC. 7242LTCC=${LTCC-"$CC"} 7243 | 7645 7646 7647# If no C compiler was specified, use CC. 7648LTCC=${LTCC-"$CC"} 7649 |
7650# If no C compiler flags were specified, use CFLAGS. 7651LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7652 |
|
7244# Allow CC to be a program name with arguments. 7245compiler=$CC 7246 7247 7248# save warnings/boilerplate of simple test code 7249ac_outfile=conftest.$ac_objext | 7653# Allow CC to be a program name with arguments. 7654compiler=$CC 7655 7656 7657# save warnings/boilerplate of simple test code 7658ac_outfile=conftest.$ac_objext |
7250printf "$lt_simple_compile_test_code" >conftest.$ac_ext 7251eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err | 7659echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7660eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
7252_lt_compiler_boilerplate=`cat conftest.err` 7253$rm conftest* 7254 7255ac_outfile=conftest.$ac_objext | 7661_lt_compiler_boilerplate=`cat conftest.err` 7662$rm conftest* 7663 7664ac_outfile=conftest.$ac_objext |
7256printf "$lt_simple_link_test_code" >conftest.$ac_ext 7257eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err | 7665echo "$lt_simple_link_test_code" >conftest.$ac_ext 7666eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
7258_lt_linker_boilerplate=`cat conftest.err` | 7667_lt_linker_boilerplate=`cat conftest.err` |
7259$rm conftest* | 7668$rm -r conftest* |
7260 7261 | 7669 7670 |
7262# 7263# Check for any special shared library compilation flags. 7264# 7265lt_prog_cc_shlib= 7266if test "$GCC" = no; then 7267 case $host_os in 7268 sco3.2v5*) 7269 lt_prog_cc_shlib='-belf' 7270 ;; 7271 esac 7272fi 7273if test -n "$lt_prog_cc_shlib"; then 7274 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 7275echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} 7276 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then : 7277 else 7278 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 7279echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} 7280 lt_cv_prog_cc_can_build_shared=no 7281 fi 7282fi | |
7283 | 7671 |
7284 7285# 7286# Check to make sure the static flag actually works. 7287# 7288{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 7289echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; } 7290if test "${lt_prog_compiler_static_works+set}" = set; then 7291 echo $ECHO_N "(cached) $ECHO_C" >&6 7292else 7293 lt_prog_compiler_static_works=no 7294 save_LDFLAGS="$LDFLAGS" 7295 LDFLAGS="$LDFLAGS $lt_prog_compiler_static" 7296 printf "$lt_simple_link_test_code" > conftest.$ac_ext 7297 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 7298 # The compiler can only warn and ignore the option if not recognized 7299 # So say no if there are warnings 7300 if test -s conftest.err; then 7301 # Append any errors to the config.log. 7302 cat conftest.err 1>&5 7303 $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp 7304 $SED '/^$/d' conftest.err >conftest.er2 7305 if diff conftest.exp conftest.er2 >/dev/null; then 7306 lt_prog_compiler_static_works=yes 7307 fi 7308 else 7309 lt_prog_compiler_static_works=yes 7310 fi 7311 fi 7312 $rm conftest* 7313 LDFLAGS="$save_LDFLAGS" 7314 7315fi 7316{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 7317echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; } 7318 7319if test x"$lt_prog_compiler_static_works" = xyes; then 7320 : 7321else 7322 lt_prog_compiler_static= 7323fi 7324 7325 7326 7327 | |
7328lt_prog_compiler_no_builtin_flag= 7329 7330if test "$GCC" = yes; then 7331 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 7332 7333 7334{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7335echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } 7336if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 7337 echo $ECHO_N "(cached) $ECHO_C" >&6 7338else 7339 lt_cv_prog_compiler_rtti_exceptions=no 7340 ac_outfile=conftest.$ac_objext | 7672lt_prog_compiler_no_builtin_flag= 7673 7674if test "$GCC" = yes; then 7675 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 7676 7677 7678{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7679echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } 7680if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 7681 echo $ECHO_N "(cached) $ECHO_C" >&6 7682else 7683 lt_cv_prog_compiler_rtti_exceptions=no 7684 ac_outfile=conftest.$ac_objext |
7341 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 7685 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
7342 lt_compiler_flag="-fno-rtti -fno-exceptions" 7343 # Insert the option either (1) after the last *FLAGS variable, or 7344 # (2) before a word containing "conftest.", or (3) at the end. 7345 # Note that $ac_compile itself does not contain backslashes and begins 7346 # with a dollar sign (not a hyphen), so the echo should work correctly. 7347 # The option is referenced via a variable to avoid confusing sed. 7348 lt_compile=`echo "$ac_compile" | $SED \ | 7686 lt_compiler_flag="-fno-rtti -fno-exceptions" 7687 # Insert the option either (1) after the last *FLAGS variable, or 7688 # (2) before a word containing "conftest.", or (3) at the end. 7689 # Note that $ac_compile itself does not contain backslashes and begins 7690 # with a dollar sign (not a hyphen), so the echo should work correctly. 7691 # The option is referenced via a variable to avoid confusing sed. 7692 lt_compile=`echo "$ac_compile" | $SED \ |
7349 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 7693 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
7350 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7351 -e 's:$: $lt_compiler_flag:'` | 7694 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7695 -e 's:$: $lt_compiler_flag:'` |
7352 (eval echo "\"\$as_me:7352: $lt_compile\"" >&5) | 7696 (eval echo "\"\$as_me:7696: $lt_compile\"" >&5) |
7353 (eval "$lt_compile" 2>conftest.err) 7354 ac_status=$? 7355 cat conftest.err >&5 | 7697 (eval "$lt_compile" 2>conftest.err) 7698 ac_status=$? 7699 cat conftest.err >&5 |
7356 echo "$as_me:7356: \$? = $ac_status" >&5 | 7700 echo "$as_me:7700: \$? = $ac_status" >&5 |
7357 if (exit $ac_status) && test -s "$ac_outfile"; then 7358 # The compiler can only warn and ignore the option if not recognized 7359 # So say no if there are warnings other than the usual output. | 7701 if (exit $ac_status) && test -s "$ac_outfile"; then 7702 # The compiler can only warn and ignore the option if not recognized 7703 # So say no if there are warnings other than the usual output. |
7360 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp 7361 $SED '/^$/d' conftest.err >conftest.er2 7362 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then | 7704 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7705 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7706 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
7363 lt_cv_prog_compiler_rtti_exceptions=yes 7364 fi 7365 fi 7366 $rm conftest* 7367 7368fi 7369{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7370echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } --- 28 unchanged lines hidden (view full) --- 7399 7400 amigaos*) 7401 # FIXME: we need at least 68020 code to build shared libraries, but 7402 # adding the `-m68020' flag to GCC prevents building anything better, 7403 # like `-m68040'. 7404 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7405 ;; 7406 | 7707 lt_cv_prog_compiler_rtti_exceptions=yes 7708 fi 7709 fi 7710 $rm conftest* 7711 7712fi 7713{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7714echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } --- 28 unchanged lines hidden (view full) --- 7743 7744 amigaos*) 7745 # FIXME: we need at least 68020 code to build shared libraries, but 7746 # adding the `-m68020' flag to GCC prevents building anything better, 7747 # like `-m68040'. 7748 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7749 ;; 7750 |
7407 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 7751 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
7408 # PIC is the default for these OSes. 7409 ;; 7410 | 7752 # PIC is the default for these OSes. 7753 ;; 7754 |
7411 mingw* | pw32* | os2*) | 7755 mingw* | cygwin* | pw32* | os2*) |
7412 # This hack is so that the source file can tell whether it is being 7413 # built for inclusion in a dll (and should export symbols for example). | 7756 # This hack is so that the source file can tell whether it is being 7757 # built for inclusion in a dll (and should export symbols for example). |
7758 # Although the cygwin gcc ignores -fPIC, still need this for old-style 7759 # (--disable-auto-import) libraries |
|
7414 lt_prog_compiler_pic='-DDLL_EXPORT' 7415 ;; 7416 7417 darwin* | rhapsody*) 7418 # PIC is the default on this platform 7419 # Common symbols not allowed in MH_DYLIB files 7420 lt_prog_compiler_pic='-fno-common' 7421 ;; 7422 | 7760 lt_prog_compiler_pic='-DDLL_EXPORT' 7761 ;; 7762 7763 darwin* | rhapsody*) 7764 # PIC is the default on this platform 7765 # Common symbols not allowed in MH_DYLIB files 7766 lt_prog_compiler_pic='-fno-common' 7767 ;; 7768 |
7769 interix[3-9]*) 7770 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 7771 # Instead, we relocate shared libraries at runtime. 7772 ;; 7773 |
|
7423 msdosdjgpp*) 7424 # Just because we use GCC doesn't mean we suddenly get shared libraries 7425 # on systems that don't support them. 7426 lt_prog_compiler_can_build_shared=no 7427 enable_shared=no 7428 ;; 7429 7430 sysv4*MP*) 7431 if test -d /usr/nec; then 7432 lt_prog_compiler_pic=-Kconform_pic 7433 fi 7434 ;; 7435 7436 hpux*) 7437 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7438 # not for PA HP-UX. | 7774 msdosdjgpp*) 7775 # Just because we use GCC doesn't mean we suddenly get shared libraries 7776 # on systems that don't support them. 7777 lt_prog_compiler_can_build_shared=no 7778 enable_shared=no 7779 ;; 7780 7781 sysv4*MP*) 7782 if test -d /usr/nec; then 7783 lt_prog_compiler_pic=-Kconform_pic 7784 fi 7785 ;; 7786 7787 hpux*) 7788 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7789 # not for PA HP-UX. |
7439 case "$host_cpu" in | 7790 case $host_cpu in |
7440 hppa*64*|ia64*) 7441 # +Z the default 7442 ;; 7443 *) 7444 lt_prog_compiler_pic='-fPIC' 7445 ;; 7446 esac 7447 ;; --- 20 unchanged lines hidden (view full) --- 7468 case $cc_basename in 7469 xlc*) 7470 lt_prog_compiler_pic='-qnocommon' 7471 lt_prog_compiler_wl='-Wl,' 7472 ;; 7473 esac 7474 ;; 7475 | 7791 hppa*64*|ia64*) 7792 # +Z the default 7793 ;; 7794 *) 7795 lt_prog_compiler_pic='-fPIC' 7796 ;; 7797 esac 7798 ;; --- 20 unchanged lines hidden (view full) --- 7819 case $cc_basename in 7820 xlc*) 7821 lt_prog_compiler_pic='-qnocommon' 7822 lt_prog_compiler_wl='-Wl,' 7823 ;; 7824 esac 7825 ;; 7826 |
7476 mingw* | pw32* | os2*) | 7827 mingw* | cygwin* | pw32* | os2*) |
7477 # This hack is so that the source file can tell whether it is being 7478 # built for inclusion in a dll (and should export symbols for example). 7479 lt_prog_compiler_pic='-DDLL_EXPORT' 7480 ;; 7481 7482 hpux9* | hpux10* | hpux11*) 7483 lt_prog_compiler_wl='-Wl,' 7484 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7485 # not for PA HP-UX. | 7828 # This hack is so that the source file can tell whether it is being 7829 # built for inclusion in a dll (and should export symbols for example). 7830 lt_prog_compiler_pic='-DDLL_EXPORT' 7831 ;; 7832 7833 hpux9* | hpux10* | hpux11*) 7834 lt_prog_compiler_wl='-Wl,' 7835 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7836 # not for PA HP-UX. |
7486 case "$host_cpu" in | 7837 case $host_cpu in |
7487 hppa*64*|ia64*) 7488 # +Z the default 7489 ;; 7490 *) 7491 lt_prog_compiler_pic='+Z' 7492 ;; 7493 esac 7494 # Is there a better lt_prog_compiler_static that works with the bundled CC? --- 6 unchanged lines hidden (view full) --- 7501 lt_prog_compiler_static='-non_shared' 7502 ;; 7503 7504 newsos6) 7505 lt_prog_compiler_pic='-KPIC' 7506 lt_prog_compiler_static='-Bstatic' 7507 ;; 7508 | 7838 hppa*64*|ia64*) 7839 # +Z the default 7840 ;; 7841 *) 7842 lt_prog_compiler_pic='+Z' 7843 ;; 7844 esac 7845 # Is there a better lt_prog_compiler_static that works with the bundled CC? --- 6 unchanged lines hidden (view full) --- 7852 lt_prog_compiler_static='-non_shared' 7853 ;; 7854 7855 newsos6) 7856 lt_prog_compiler_pic='-KPIC' 7857 lt_prog_compiler_static='-Bstatic' 7858 ;; 7859 |
7509 linux*) | 7860 linux* | k*bsd*-gnu) |
7510 case $cc_basename in 7511 icc* | ecc*) 7512 lt_prog_compiler_wl='-Wl,' 7513 lt_prog_compiler_pic='-KPIC' 7514 lt_prog_compiler_static='-static' 7515 ;; | 7861 case $cc_basename in 7862 icc* | ecc*) 7863 lt_prog_compiler_wl='-Wl,' 7864 lt_prog_compiler_pic='-KPIC' 7865 lt_prog_compiler_static='-static' 7866 ;; |
7516 pgcc* | pgf77* | pgf90*) | 7867 pgcc* | pgf77* | pgf90* | pgf95*) |
7517 # Portland Group compilers (*not* the Pentium gcc compiler, 7518 # which looks to be a dead project) 7519 lt_prog_compiler_wl='-Wl,' 7520 lt_prog_compiler_pic='-fpic' | 7868 # Portland Group compilers (*not* the Pentium gcc compiler, 7869 # which looks to be a dead project) 7870 lt_prog_compiler_wl='-Wl,' 7871 lt_prog_compiler_pic='-fpic' |
7521 lt_prog_compiler_static='-static' | 7872 lt_prog_compiler_static='-Bstatic' |
7522 ;; 7523 ccc*) 7524 lt_prog_compiler_wl='-Wl,' 7525 # All Alpha code is PIC. 7526 lt_prog_compiler_static='-non_shared' 7527 ;; | 7873 ;; 7874 ccc*) 7875 lt_prog_compiler_wl='-Wl,' 7876 # All Alpha code is PIC. 7877 lt_prog_compiler_static='-non_shared' 7878 ;; |
7879 *) 7880 case `$CC -V 2>&1 | sed 5q` in 7881 *Sun\ C*) 7882 # Sun C 5.9 7883 lt_prog_compiler_pic='-KPIC' 7884 lt_prog_compiler_static='-Bstatic' 7885 lt_prog_compiler_wl='-Wl,' 7886 ;; 7887 *Sun\ F*) 7888 # Sun Fortran 8.3 passes all unrecognized flags to the linker 7889 lt_prog_compiler_pic='-KPIC' 7890 lt_prog_compiler_static='-Bstatic' 7891 lt_prog_compiler_wl='' 7892 ;; 7893 esac 7894 ;; |
|
7528 esac 7529 ;; 7530 7531 osf3* | osf4* | osf5*) 7532 lt_prog_compiler_wl='-Wl,' 7533 # All OSF/1 code is PIC. 7534 lt_prog_compiler_static='-non_shared' 7535 ;; 7536 | 7895 esac 7896 ;; 7897 7898 osf3* | osf4* | osf5*) 7899 lt_prog_compiler_wl='-Wl,' 7900 # All OSF/1 code is PIC. 7901 lt_prog_compiler_static='-non_shared' 7902 ;; 7903 |
7537 sco3.2v5*) 7538 lt_prog_compiler_pic='-Kpic' 7539 lt_prog_compiler_static='-dn' | 7904 rdos*) 7905 lt_prog_compiler_static='-non_shared' |
7540 ;; 7541 7542 solaris*) 7543 lt_prog_compiler_pic='-KPIC' 7544 lt_prog_compiler_static='-Bstatic' 7545 case $cc_basename in 7546 f77* | f90* | f95*) 7547 lt_prog_compiler_wl='-Qoption ld ';; 7548 *) 7549 lt_prog_compiler_wl='-Wl,';; 7550 esac 7551 ;; 7552 7553 sunos4*) 7554 lt_prog_compiler_wl='-Qoption ld ' 7555 lt_prog_compiler_pic='-PIC' 7556 lt_prog_compiler_static='-Bstatic' 7557 ;; 7558 | 7906 ;; 7907 7908 solaris*) 7909 lt_prog_compiler_pic='-KPIC' 7910 lt_prog_compiler_static='-Bstatic' 7911 case $cc_basename in 7912 f77* | f90* | f95*) 7913 lt_prog_compiler_wl='-Qoption ld ';; 7914 *) 7915 lt_prog_compiler_wl='-Wl,';; 7916 esac 7917 ;; 7918 7919 sunos4*) 7920 lt_prog_compiler_wl='-Qoption ld ' 7921 lt_prog_compiler_pic='-PIC' 7922 lt_prog_compiler_static='-Bstatic' 7923 ;; 7924 |
7559 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 7925 sysv4 | sysv4.2uw2* | sysv4.3*) |
7560 lt_prog_compiler_wl='-Wl,' 7561 lt_prog_compiler_pic='-KPIC' 7562 lt_prog_compiler_static='-Bstatic' 7563 ;; 7564 7565 sysv4*MP*) 7566 if test -d /usr/nec ;then 7567 lt_prog_compiler_pic='-Kconform_pic' 7568 lt_prog_compiler_static='-Bstatic' 7569 fi 7570 ;; 7571 | 7926 lt_prog_compiler_wl='-Wl,' 7927 lt_prog_compiler_pic='-KPIC' 7928 lt_prog_compiler_static='-Bstatic' 7929 ;; 7930 7931 sysv4*MP*) 7932 if test -d /usr/nec ;then 7933 lt_prog_compiler_pic='-Kconform_pic' 7934 lt_prog_compiler_static='-Bstatic' 7935 fi 7936 ;; 7937 |
7938 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 7939 lt_prog_compiler_wl='-Wl,' 7940 lt_prog_compiler_pic='-KPIC' 7941 lt_prog_compiler_static='-Bstatic' 7942 ;; 7943 |
|
7572 unicos*) 7573 lt_prog_compiler_wl='-Wl,' 7574 lt_prog_compiler_can_build_shared=no 7575 ;; 7576 7577 uts4*) 7578 lt_prog_compiler_pic='-pic' 7579 lt_prog_compiler_static='-Bstatic' --- 10 unchanged lines hidden (view full) --- 7590 7591# 7592# Check to make sure the PIC flag actually works. 7593# 7594if test -n "$lt_prog_compiler_pic"; then 7595 7596{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 7597echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } | 7944 unicos*) 7945 lt_prog_compiler_wl='-Wl,' 7946 lt_prog_compiler_can_build_shared=no 7947 ;; 7948 7949 uts4*) 7950 lt_prog_compiler_pic='-pic' 7951 lt_prog_compiler_static='-Bstatic' --- 10 unchanged lines hidden (view full) --- 7962 7963# 7964# Check to make sure the PIC flag actually works. 7965# 7966if test -n "$lt_prog_compiler_pic"; then 7967 7968{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 7969echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } |
7598if test "${lt_prog_compiler_pic_works+set}" = set; then | 7970if test "${lt_cv_prog_compiler_pic_works+set}" = set; then |
7599 echo $ECHO_N "(cached) $ECHO_C" >&6 7600else | 7971 echo $ECHO_N "(cached) $ECHO_C" >&6 7972else |
7601 lt_prog_compiler_pic_works=no | 7973 lt_cv_prog_compiler_pic_works=no |
7602 ac_outfile=conftest.$ac_objext | 7974 ac_outfile=conftest.$ac_objext |
7603 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 7975 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
7604 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 7605 # Insert the option either (1) after the last *FLAGS variable, or 7606 # (2) before a word containing "conftest.", or (3) at the end. 7607 # Note that $ac_compile itself does not contain backslashes and begins 7608 # with a dollar sign (not a hyphen), so the echo should work correctly. 7609 # The option is referenced via a variable to avoid confusing sed. 7610 lt_compile=`echo "$ac_compile" | $SED \ | 7976 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 7977 # Insert the option either (1) after the last *FLAGS variable, or 7978 # (2) before a word containing "conftest.", or (3) at the end. 7979 # Note that $ac_compile itself does not contain backslashes and begins 7980 # with a dollar sign (not a hyphen), so the echo should work correctly. 7981 # The option is referenced via a variable to avoid confusing sed. 7982 lt_compile=`echo "$ac_compile" | $SED \ |
7611 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 7983 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
7612 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7613 -e 's:$: $lt_compiler_flag:'` | 7984 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7985 -e 's:$: $lt_compiler_flag:'` |
7614 (eval echo "\"\$as_me:7614: $lt_compile\"" >&5) | 7986 (eval echo "\"\$as_me:7986: $lt_compile\"" >&5) |
7615 (eval "$lt_compile" 2>conftest.err) 7616 ac_status=$? 7617 cat conftest.err >&5 | 7987 (eval "$lt_compile" 2>conftest.err) 7988 ac_status=$? 7989 cat conftest.err >&5 |
7618 echo "$as_me:7618: \$? = $ac_status" >&5 | 7990 echo "$as_me:7990: \$? = $ac_status" >&5 |
7619 if (exit $ac_status) && test -s "$ac_outfile"; then 7620 # The compiler can only warn and ignore the option if not recognized 7621 # So say no if there are warnings other than the usual output. | 7991 if (exit $ac_status) && test -s "$ac_outfile"; then 7992 # The compiler can only warn and ignore the option if not recognized 7993 # So say no if there are warnings other than the usual output. |
7622 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp 7623 $SED '/^$/d' conftest.err >conftest.er2 7624 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then 7625 lt_prog_compiler_pic_works=yes | 7994 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7995 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7996 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7997 lt_cv_prog_compiler_pic_works=yes |
7626 fi 7627 fi 7628 $rm conftest* 7629 7630fi | 7998 fi 7999 fi 8000 $rm conftest* 8001 8002fi |
7631{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 7632echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; } | 8003{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 8004echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; } |
7633 | 8005 |
7634if test x"$lt_prog_compiler_pic_works" = xyes; then | 8006if test x"$lt_cv_prog_compiler_pic_works" = xyes; then |
7635 case $lt_prog_compiler_pic in 7636 "" | " "*) ;; 7637 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 7638 esac 7639else 7640 lt_prog_compiler_pic= 7641 lt_prog_compiler_can_build_shared=no 7642fi 7643 7644fi | 8007 case $lt_prog_compiler_pic in 8008 "" | " "*) ;; 8009 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8010 esac 8011else 8012 lt_prog_compiler_pic= 8013 lt_prog_compiler_can_build_shared=no 8014fi 8015 8016fi |
7645case "$host_os" in | 8017case $host_os in |
7646 # For platforms which do not support PIC, -DPIC is meaningless: 7647 *djgpp*) 7648 lt_prog_compiler_pic= 7649 ;; 7650 *) 7651 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 7652 ;; 7653esac 7654 | 8018 # For platforms which do not support PIC, -DPIC is meaningless: 8019 *djgpp*) 8020 lt_prog_compiler_pic= 8021 ;; 8022 *) 8023 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8024 ;; 8025esac 8026 |
8027# 8028# Check to make sure the static flag actually works. 8029# 8030wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8031{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8032echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } 8033if test "${lt_cv_prog_compiler_static_works+set}" = set; then 8034 echo $ECHO_N "(cached) $ECHO_C" >&6 8035else 8036 lt_cv_prog_compiler_static_works=no 8037 save_LDFLAGS="$LDFLAGS" 8038 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8039 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8040 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8041 # The linker can only warn and ignore the option if not recognized 8042 # So say no if there are warnings 8043 if test -s conftest.err; then 8044 # Append any errors to the config.log. 8045 cat conftest.err 1>&5 8046 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 8047 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8048 if diff conftest.exp conftest.er2 >/dev/null; then 8049 lt_cv_prog_compiler_static_works=yes 8050 fi 8051 else 8052 lt_cv_prog_compiler_static_works=yes 8053 fi 8054 fi 8055 $rm -r conftest* 8056 LDFLAGS="$save_LDFLAGS" 8057 8058fi 8059{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 8060echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; } 8061 8062if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8063 : 8064else 8065 lt_prog_compiler_static= 8066fi 8067 8068 |
|
7655{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 7656echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 7657if test "${lt_cv_prog_compiler_c_o+set}" = set; then 7658 echo $ECHO_N "(cached) $ECHO_C" >&6 7659else 7660 lt_cv_prog_compiler_c_o=no 7661 $rm -r conftest 2>/dev/null 7662 mkdir conftest 7663 cd conftest 7664 mkdir out | 8069{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 8070echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 8071if test "${lt_cv_prog_compiler_c_o+set}" = set; then 8072 echo $ECHO_N "(cached) $ECHO_C" >&6 8073else 8074 lt_cv_prog_compiler_c_o=no 8075 $rm -r conftest 2>/dev/null 8076 mkdir conftest 8077 cd conftest 8078 mkdir out |
7665 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 8079 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
7666 7667 lt_compiler_flag="-o out/conftest2.$ac_objext" 7668 # Insert the option either (1) after the last *FLAGS variable, or 7669 # (2) before a word containing "conftest.", or (3) at the end. 7670 # Note that $ac_compile itself does not contain backslashes and begins 7671 # with a dollar sign (not a hyphen), so the echo should work correctly. 7672 lt_compile=`echo "$ac_compile" | $SED \ | 8080 8081 lt_compiler_flag="-o out/conftest2.$ac_objext" 8082 # Insert the option either (1) after the last *FLAGS variable, or 8083 # (2) before a word containing "conftest.", or (3) at the end. 8084 # Note that $ac_compile itself does not contain backslashes and begins 8085 # with a dollar sign (not a hyphen), so the echo should work correctly. 8086 lt_compile=`echo "$ac_compile" | $SED \ |
7673 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 8087 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
7674 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7675 -e 's:$: $lt_compiler_flag:'` | 8088 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8089 -e 's:$: $lt_compiler_flag:'` |
7676 (eval echo "\"\$as_me:7676: $lt_compile\"" >&5) | 8090 (eval echo "\"\$as_me:8090: $lt_compile\"" >&5) |
7677 (eval "$lt_compile" 2>out/conftest.err) 7678 ac_status=$? 7679 cat out/conftest.err >&5 | 8091 (eval "$lt_compile" 2>out/conftest.err) 8092 ac_status=$? 8093 cat out/conftest.err >&5 |
7680 echo "$as_me:7680: \$? = $ac_status" >&5 | 8094 echo "$as_me:8094: \$? = $ac_status" >&5 |
7681 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7682 then 7683 # The compiler can only warn and ignore the option if not recognized 7684 # So say no if there are warnings | 8095 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8096 then 8097 # The compiler can only warn and ignore the option if not recognized 8098 # So say no if there are warnings |
7685 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp 7686 $SED '/^$/d' out/conftest.err >out/conftest.er2 7687 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then | 8099 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8100 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8101 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
7688 lt_cv_prog_compiler_c_o=yes 7689 fi 7690 fi | 8102 lt_cv_prog_compiler_c_o=yes 8103 fi 8104 fi |
7691 chmod u+w . | 8105 chmod u+w . 2>&5 |
7692 $rm conftest* 7693 # SGI C++ compiler will create directory out/ii_files/ for 7694 # template instantiation 7695 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 7696 $rm out/* && rmdir out 7697 cd .. 7698 rmdir conftest 7699 $rm conftest* --- 52 unchanged lines hidden (view full) --- 7752 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 7753 # include_expsyms should be a list of space-separated symbols to be *always* 7754 # included in the symbol list 7755 include_expsyms= 7756 # exclude_expsyms can be an extended regexp of symbols to exclude 7757 # it will be wrapped by ` (' and `)$', so one must not match beginning or 7758 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 7759 # as well as any symbol that contains `d'. | 8106 $rm conftest* 8107 # SGI C++ compiler will create directory out/ii_files/ for 8108 # template instantiation 8109 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 8110 $rm out/* && rmdir out 8111 cd .. 8112 rmdir conftest 8113 $rm conftest* --- 52 unchanged lines hidden (view full) --- 8166 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8167 # include_expsyms should be a list of space-separated symbols to be *always* 8168 # included in the symbol list 8169 include_expsyms= 8170 # exclude_expsyms can be an extended regexp of symbols to exclude 8171 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8172 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8173 # as well as any symbol that contains `d'. |
7760 exclude_expsyms="_GLOBAL_OFFSET_TABLE_" | 8174 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
7761 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 7762 # platforms (ab)use it in PIC code, but their linkers get confused if 7763 # the symbol is explicitly referenced. Since portable code cannot 7764 # rely on this symbol name, it's probably fine to never include it in 7765 # preloaded symbol tables. | 8175 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8176 # platforms (ab)use it in PIC code, but their linkers get confused if 8177 # the symbol is explicitly referenced. Since portable code cannot 8178 # rely on this symbol name, it's probably fine to never include it in 8179 # preloaded symbol tables. |
8180 # Exclude shared library initialization/finalization symbols. |
|
7766 extract_expsyms_cmds= 7767 # Just being paranoid about ensuring that cc_basename is set. 7768 for cc_temp in $compiler""; do 7769 case $cc_temp in 7770 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7771 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7772 \-*) ;; 7773 *) break;; --- 5 unchanged lines hidden (view full) --- 7779 cygwin* | mingw* | pw32*) 7780 # FIXME: the MSVC++ port hasn't been tested in a loooong time 7781 # When not using gcc, we currently assume that we are using 7782 # Microsoft Visual C++. 7783 if test "$GCC" != yes; then 7784 with_gnu_ld=no 7785 fi 7786 ;; | 8181 extract_expsyms_cmds= 8182 # Just being paranoid about ensuring that cc_basename is set. 8183 for cc_temp in $compiler""; do 8184 case $cc_temp in 8185 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8186 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8187 \-*) ;; 8188 *) break;; --- 5 unchanged lines hidden (view full) --- 8194 cygwin* | mingw* | pw32*) 8195 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8196 # When not using gcc, we currently assume that we are using 8197 # Microsoft Visual C++. 8198 if test "$GCC" != yes; then 8199 with_gnu_ld=no 8200 fi 8201 ;; |
8202 interix*) 8203 # we just hope/assume this is gcc and not c89 (= MSVC++) 8204 with_gnu_ld=yes 8205 ;; |
|
7787 openbsd*) 7788 with_gnu_ld=no 7789 ;; 7790 esac 7791 7792 ld_shlibs=yes 7793 if test "$with_gnu_ld" = yes; then 7794 # If archive_cmds runs LD, not CC, wlarc should be empty --- 17 unchanged lines hidden (view full) --- 7812 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 7813 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 7814 *\ 2.11.*) ;; # other 2.11 versions 7815 *) supports_anon_versioning=yes ;; 7816 esac 7817 7818 # See if GNU ld supports shared libraries. 7819 case $host_os in | 8206 openbsd*) 8207 with_gnu_ld=no 8208 ;; 8209 esac 8210 8211 ld_shlibs=yes 8212 if test "$with_gnu_ld" = yes; then 8213 # If archive_cmds runs LD, not CC, wlarc should be empty --- 17 unchanged lines hidden (view full) --- 8231 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8232 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8233 *\ 2.11.*) ;; # other 2.11 versions 8234 *) supports_anon_versioning=yes ;; 8235 esac 8236 8237 # See if GNU ld supports shared libraries. 8238 case $host_os in |
7820 aix3* | aix4* | aix5*) | 8239 aix[3-9]*) |
7821 # On AIX/PPC, the GNU linker is very broken 7822 if test "$host_cpu" != ia64; then 7823 ld_shlibs=no 7824 cat <<EOF 1>&2 7825 7826*** Warning: the GNU linker, at least up to release 2.9.1, is reported 7827*** to be unable to reliably create shared libraries on AIX. 7828*** Therefore, libtool is disabling shared libraries support. If you --- 31 unchanged lines hidden (view full) --- 7860 7861 cygwin* | mingw* | pw32*) 7862 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 7863 # as there is no search path for DLLs. 7864 hardcode_libdir_flag_spec='-L$libdir' 7865 allow_undefined_flag=unsupported 7866 always_export_symbols=no 7867 enable_shared_with_static_runtimes=yes | 8240 # On AIX/PPC, the GNU linker is very broken 8241 if test "$host_cpu" != ia64; then 8242 ld_shlibs=no 8243 cat <<EOF 1>&2 8244 8245*** Warning: the GNU linker, at least up to release 2.9.1, is reported 8246*** to be unable to reliably create shared libraries on AIX. 8247*** Therefore, libtool is disabling shared libraries support. If you --- 31 unchanged lines hidden (view full) --- 8279 8280 cygwin* | mingw* | pw32*) 8281 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8282 # as there is no search path for DLLs. 8283 hardcode_libdir_flag_spec='-L$libdir' 8284 allow_undefined_flag=unsupported 8285 always_export_symbols=no 8286 enable_shared_with_static_runtimes=yes |
7868 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | 8287 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
7869 7870 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 8288 8289 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
7871 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 8290 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
7872 # If the export-symbols file already is a .def file (1st line 7873 # is EXPORTS), use it as is; otherwise, prepend... 7874 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 7875 cp $export_symbols $output_objdir/$soname.def; 7876 else 7877 echo EXPORTS > $output_objdir/$soname.def; 7878 cat $export_symbols >> $output_objdir/$soname.def; 7879 fi~ | 8291 # If the export-symbols file already is a .def file (1st line 8292 # is EXPORTS), use it as is; otherwise, prepend... 8293 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8294 cp $export_symbols $output_objdir/$soname.def; 8295 else 8296 echo EXPORTS > $output_objdir/$soname.def; 8297 cat $export_symbols >> $output_objdir/$soname.def; 8298 fi~ |
7880 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 8299 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
7881 else 7882 ld_shlibs=no 7883 fi 7884 ;; 7885 | 8300 else 8301 ld_shlibs=no 8302 fi 8303 ;; 8304 |
7886 linux*) | 8305 interix[3-9]*) 8306 hardcode_direct=no 8307 hardcode_shlibpath_var=no 8308 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8309 export_dynamic_flag_spec='${wl}-E' 8310 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8311 # Instead, shared libraries are loaded at an image base (0x10000000 by 8312 # default) and relocated if they conflict, which is a slow very memory 8313 # consuming and fragmenting process. To avoid this, we pick a random, 8314 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8315 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8316 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8317 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' 8318 ;; 8319 8320 gnu* | linux* | k*bsd*-gnu) |
7887 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 7888 tmp_addflag= 7889 case $cc_basename,$host_cpu in 7890 pgcc*) # Portland Group C compiler | 8321 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 8322 tmp_addflag= 8323 case $cc_basename,$host_cpu in 8324 pgcc*) # Portland Group C compiler |
7891 whole_archive_flag_spec='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' | 8325 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
7892 tmp_addflag=' $pic_flag' 7893 ;; | 8326 tmp_addflag=' $pic_flag' 8327 ;; |
7894 pgf77* | pgf90* ) # Portland Group f77 and f90 compilers 7895 whole_archive_flag_spec='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' | 8328 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 8329 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
7896 tmp_addflag=' $pic_flag -Mnomain' ;; 7897 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 7898 tmp_addflag=' -i_dynamic' ;; 7899 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 7900 tmp_addflag=' -i_dynamic -nofor_main' ;; 7901 ifc* | ifort*) # Intel Fortran compiler 7902 tmp_addflag=' -nofor_main' ;; 7903 esac | 8330 tmp_addflag=' $pic_flag -Mnomain' ;; 8331 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8332 tmp_addflag=' -i_dynamic' ;; 8333 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8334 tmp_addflag=' -i_dynamic -nofor_main' ;; 8335 ifc* | ifort*) # Intel Fortran compiler 8336 tmp_addflag=' -nofor_main' ;; 8337 esac |
7904 archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 8338 case `$CC -V 2>&1 | sed 5q` in 8339 *Sun\ C*) # Sun C 5.9 8340 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 8341 tmp_sharedflag='-G' ;; 8342 *Sun\ F*) # Sun Fortran 8.3 8343 tmp_sharedflag='-G' ;; 8344 *) 8345 tmp_sharedflag='-shared' ;; 8346 esac 8347 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
7905 7906 if test $supports_anon_versioning = yes; then 7907 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ 7908 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 7909 $echo "local: *; };" >> $output_objdir/$libname.ver~ | 8348 8349 if test $supports_anon_versioning = yes; then 8350 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ 8351 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8352 $echo "local: *; };" >> $output_objdir/$libname.ver~ |
7910 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' | 8353 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
7911 fi 7912 else 7913 ld_shlibs=no 7914 fi 7915 ;; 7916 7917 netbsd*) 7918 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 7919 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 7920 wlarc= 7921 else 7922 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 7923 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 7924 fi 7925 ;; 7926 | 8354 fi 8355 else 8356 ld_shlibs=no 8357 fi 8358 ;; 8359 8360 netbsd*) 8361 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 8362 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8363 wlarc= 8364 else 8365 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8366 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8367 fi 8368 ;; 8369 |
7927 solaris* | sysv5*) | 8370 solaris*) |
7928 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then 7929 ld_shlibs=no 7930 cat <<EOF 1>&2 7931 7932*** Warning: The releases 2.8.* of the GNU linker cannot reliably 7933*** create shared libraries on Solaris systems. Therefore, libtool 7934*** is disabling shared libraries support. We urge you to upgrade GNU 7935*** binutils to release 2.9.1 or newer. Another option is to modify --- 4 unchanged lines hidden (view full) --- 7940 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 7941 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 7942 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 7943 else 7944 ld_shlibs=no 7945 fi 7946 ;; 7947 | 8371 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then 8372 ld_shlibs=no 8373 cat <<EOF 1>&2 8374 8375*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8376*** create shared libraries on Solaris systems. Therefore, libtool 8377*** is disabling shared libraries support. We urge you to upgrade GNU 8378*** binutils to release 2.9.1 or newer. Another option is to modify --- 4 unchanged lines hidden (view full) --- 8383 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 8384 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8385 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8386 else 8387 ld_shlibs=no 8388 fi 8389 ;; 8390 |
8391 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8392 case `$LD -v 2>&1` in 8393 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8394 ld_shlibs=no 8395 cat <<_LT_EOF 1>&2 8396 8397*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8398*** reliably create shared libraries on SCO systems. Therefore, libtool 8399*** is disabling shared libraries support. We urge you to upgrade GNU 8400*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8401*** your PATH or compiler configuration so that the native linker is 8402*** used, and then restart. 8403 8404_LT_EOF 8405 ;; 8406 *) 8407 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 8408 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' 8409 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' 8410 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' 8411 else 8412 ld_shlibs=no 8413 fi 8414 ;; 8415 esac 8416 ;; 8417 |
|
7948 sunos4*) 7949 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 7950 wlarc= 7951 hardcode_direct=yes 7952 hardcode_shlibpath_var=no 7953 ;; 7954 7955 *) --- 17 unchanged lines hidden (view full) --- 7973 case $host_os in 7974 aix3*) 7975 allow_undefined_flag=unsupported 7976 always_export_symbols=yes 7977 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 7978 # Note: this linker hardcodes the directories in LIBPATH if there 7979 # are no directories specified by -L. 7980 hardcode_minus_L=yes | 8418 sunos4*) 8419 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8420 wlarc= 8421 hardcode_direct=yes 8422 hardcode_shlibpath_var=no 8423 ;; 8424 8425 *) --- 17 unchanged lines hidden (view full) --- 8443 case $host_os in 8444 aix3*) 8445 allow_undefined_flag=unsupported 8446 always_export_symbols=yes 8447 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 8448 # Note: this linker hardcodes the directories in LIBPATH if there 8449 # are no directories specified by -L. 8450 hardcode_minus_L=yes |
7981 if test "$GCC" = yes && test -z "$link_static_flag"; then | 8451 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
7982 # Neither direct hardcoding nor static linking is supported with a 7983 # broken collect2. 7984 hardcode_direct=unsupported 7985 fi 7986 ;; 7987 | 8452 # Neither direct hardcoding nor static linking is supported with a 8453 # broken collect2. 8454 hardcode_direct=unsupported 8455 fi 8456 ;; 8457 |
7988 aix4* | aix5*) | 8458 aix[4-9]*) |
7989 if test "$host_cpu" = ia64; then 7990 # On IA64, the linker does run time linking by default, so we don't 7991 # have to do anything special. 7992 aix_use_runtimelinking=no 7993 exp_sym_flag='-Bexport' 7994 no_entry_flag="" 7995 else 7996 # If we're using GNU nm, then we don't want the "-C" option. 7997 # -C means demangle to AIX nm, but means don't demangle with GNU nm 7998 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 7999 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 8000 else 8001 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 8002 fi 8003 aix_use_runtimelinking=no 8004 8005 # Test if we are trying to use run time linking or normal 8006 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8007 # need to do runtime linking. | 8459 if test "$host_cpu" = ia64; then 8460 # On IA64, the linker does run time linking by default, so we don't 8461 # have to do anything special. 8462 aix_use_runtimelinking=no 8463 exp_sym_flag='-Bexport' 8464 no_entry_flag="" 8465 else 8466 # If we're using GNU nm, then we don't want the "-C" option. 8467 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8468 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 8469 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 8470 else 8471 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 8472 fi 8473 aix_use_runtimelinking=no 8474 8475 # Test if we are trying to use run time linking or normal 8476 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8477 # need to do runtime linking. |
8008 case $host_os in aix4.[23]|aix4.[23].*|aix5*) | 8478 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
8009 for ld_flag in $LDFLAGS; do 8010 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8011 aix_use_runtimelinking=yes 8012 break 8013 fi 8014 done | 8479 for ld_flag in $LDFLAGS; do 8480 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8481 aix_use_runtimelinking=yes 8482 break 8483 fi 8484 done |
8485 ;; |
|
8015 esac 8016 8017 exp_sym_flag='-bexport' 8018 no_entry_flag='-bnoentry' 8019 fi 8020 8021 # When large executables or shared objects are built, AIX ld can 8022 # have problems creating the table of contents. If linking a library --- 10 unchanged lines hidden (view full) --- 8033 case $host_os in aix4.[012]|aix4.[012].*) 8034 # We only want to do this on AIX 4.2 and lower, the check 8035 # below for broken collect2 doesn't work under 4.3+ 8036 collect2name=`${CC} -print-prog-name=collect2` 8037 if test -f "$collect2name" && \ 8038 strings "$collect2name" | grep resolve_lib_name >/dev/null 8039 then 8040 # We have reworked collect2 | 8486 esac 8487 8488 exp_sym_flag='-bexport' 8489 no_entry_flag='-bnoentry' 8490 fi 8491 8492 # When large executables or shared objects are built, AIX ld can 8493 # have problems creating the table of contents. If linking a library --- 10 unchanged lines hidden (view full) --- 8504 case $host_os in aix4.[012]|aix4.[012].*) 8505 # We only want to do this on AIX 4.2 and lower, the check 8506 # below for broken collect2 doesn't work under 4.3+ 8507 collect2name=`${CC} -print-prog-name=collect2` 8508 if test -f "$collect2name" && \ 8509 strings "$collect2name" | grep resolve_lib_name >/dev/null 8510 then 8511 # We have reworked collect2 |
8041 hardcode_direct=yes | 8512 : |
8042 else 8043 # We have old collect2 8044 hardcode_direct=unsupported 8045 # It fails to find uninstalled libraries when the uninstalled 8046 # path is not listed in the libpath. Setting hardcode_minus_L 8047 # to unsupported forces relinking 8048 hardcode_minus_L=yes 8049 hardcode_libdir_flag_spec='-L$libdir' 8050 hardcode_libdir_separator= 8051 fi | 8513 else 8514 # We have old collect2 8515 hardcode_direct=unsupported 8516 # It fails to find uninstalled libraries when the uninstalled 8517 # path is not listed in the libpath. Setting hardcode_minus_L 8518 # to unsupported forces relinking 8519 hardcode_minus_L=yes 8520 hardcode_libdir_flag_spec='-L$libdir' 8521 hardcode_libdir_separator= 8522 fi |
8523 ;; |
|
8052 esac 8053 shared_flag='-shared' 8054 if test "$aix_use_runtimelinking" = yes; then 8055 shared_flag="$shared_flag "'${wl}-G' 8056 fi 8057 else 8058 # not using gcc 8059 if test "$host_cpu" = ia64; then 8060 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8061 # chokes on -Wl,-G. The following line is correct: 8062 shared_flag='-G' 8063 else | 8524 esac 8525 shared_flag='-shared' 8526 if test "$aix_use_runtimelinking" = yes; then 8527 shared_flag="$shared_flag "'${wl}-G' 8528 fi 8529 else 8530 # not using gcc 8531 if test "$host_cpu" = ia64; then 8532 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8533 # chokes on -Wl,-G. The following line is correct: 8534 shared_flag='-G' 8535 else |
8064 if test "$aix_use_runtimelinking" = yes; then | 8536 if test "$aix_use_runtimelinking" = yes; then |
8065 shared_flag='${wl}-G' 8066 else 8067 shared_flag='${wl}-bM:SRE' | 8537 shared_flag='${wl}-G' 8538 else 8539 shared_flag='${wl}-bM:SRE' |
8068 fi | 8540 fi |
8069 fi 8070 fi 8071 8072 # It seems that -bexpall does not export symbols beginning with 8073 # underscore (_), so it is better to generate a list of symbols to export. 8074 always_export_symbols=yes 8075 if test "$aix_use_runtimelinking" = yes; then 8076 # Warning - without using the other runtime loading flags (-brtl), --- 29 unchanged lines hidden (view full) --- 8106 cat conftest.err >&5 8107 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8108 (exit $ac_status); } && { 8109 test -z "$ac_c_werror_flag" || 8110 test ! -s conftest.err 8111 } && test -s conftest$ac_exeext && 8112 $as_test_x conftest$ac_exeext; then 8113 | 8541 fi 8542 fi 8543 8544 # It seems that -bexpall does not export symbols beginning with 8545 # underscore (_), so it is better to generate a list of symbols to export. 8546 always_export_symbols=yes 8547 if test "$aix_use_runtimelinking" = yes; then 8548 # Warning - without using the other runtime loading flags (-brtl), --- 29 unchanged lines hidden (view full) --- 8578 cat conftest.err >&5 8579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8580 (exit $ac_status); } && { 8581 test -z "$ac_c_werror_flag" || 8582 test ! -s conftest.err 8583 } && test -s conftest$ac_exeext && 8584 $as_test_x conftest$ac_exeext; then 8585 |
8114aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 8115}'` | 8586lt_aix_libpath_sed=' 8587 /Import File Strings/,/^$/ { 8588 /^0/ { 8589 s/^0 *\(.*\)$/\1/ 8590 p 8591 } 8592 }' 8593aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
8116# Check for a 64-bit object if we didn't find anything. | 8594# Check for a 64-bit object if we didn't find anything. |
8117if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 8118}'`; fi | 8595if test -z "$aix_libpath"; then 8596 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8597fi |
8119else 8120 echo "$as_me: failed program was:" >&5 8121sed 's/^/| /' conftest.$ac_ext >&5 8122 8123 8124fi 8125 8126rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8127 conftest$ac_exeext conftest.$ac_ext 8128if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8129 8130 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | 8598else 8599 echo "$as_me: failed program was:" >&5 8600sed 's/^/| /' conftest.$ac_ext >&5 8601 8602 8603fi 8604 8605rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8606 conftest$ac_exeext conftest.$ac_ext 8607if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8608 8609 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
8131 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" | 8610 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" |
8132 else 8133 if test "$host_cpu" = ia64; then 8134 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 8135 allow_undefined_flag="-z nodefs" | 8611 else 8612 if test "$host_cpu" = ia64; then 8613 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 8614 allow_undefined_flag="-z nodefs" |
8136 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" | 8615 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" |
8137 else 8138 # Determine the default libpath from the value encoded in an empty executable. 8139 cat >conftest.$ac_ext <<_ACEOF 8140/* confdefs.h. */ 8141_ACEOF 8142cat confdefs.h >>conftest.$ac_ext 8143cat >>conftest.$ac_ext <<_ACEOF 8144/* end confdefs.h. */ --- 20 unchanged lines hidden (view full) --- 8165 cat conftest.err >&5 8166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8167 (exit $ac_status); } && { 8168 test -z "$ac_c_werror_flag" || 8169 test ! -s conftest.err 8170 } && test -s conftest$ac_exeext && 8171 $as_test_x conftest$ac_exeext; then 8172 | 8616 else 8617 # Determine the default libpath from the value encoded in an empty executable. 8618 cat >conftest.$ac_ext <<_ACEOF 8619/* confdefs.h. */ 8620_ACEOF 8621cat confdefs.h >>conftest.$ac_ext 8622cat >>conftest.$ac_ext <<_ACEOF 8623/* end confdefs.h. */ --- 20 unchanged lines hidden (view full) --- 8644 cat conftest.err >&5 8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8646 (exit $ac_status); } && { 8647 test -z "$ac_c_werror_flag" || 8648 test ! -s conftest.err 8649 } && test -s conftest$ac_exeext && 8650 $as_test_x conftest$ac_exeext; then 8651 |
8173aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 8174}'` | 8652lt_aix_libpath_sed=' 8653 /Import File Strings/,/^$/ { 8654 /^0/ { 8655 s/^0 *\(.*\)$/\1/ 8656 p 8657 } 8658 }' 8659aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
8175# Check for a 64-bit object if we didn't find anything. | 8660# Check for a 64-bit object if we didn't find anything. |
8176if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 8177}'`; fi | 8661if test -z "$aix_libpath"; then 8662 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8663fi |
8178else 8179 echo "$as_me: failed program was:" >&5 8180sed 's/^/| /' conftest.$ac_ext >&5 8181 8182 8183fi 8184 8185rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8186 conftest$ac_exeext conftest.$ac_ext 8187if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8188 8189 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8190 # Warning - without using the other run time loading flags, 8191 # -berok will link without error, but may produce a broken library. 8192 no_undefined_flag=' ${wl}-bernotok' 8193 allow_undefined_flag=' ${wl}-berok' | 8664else 8665 echo "$as_me: failed program was:" >&5 8666sed 's/^/| /' conftest.$ac_ext >&5 8667 8668 8669fi 8670 8671rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8672 conftest$ac_exeext conftest.$ac_ext 8673if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8674 8675 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8676 # Warning - without using the other run time loading flags, 8677 # -berok will link without error, but may produce a broken library. 8678 no_undefined_flag=' ${wl}-bernotok' 8679 allow_undefined_flag=' ${wl}-berok' |
8194 # -bexpall does not export symbols beginning with underscore (_) 8195 always_export_symbols=yes | |
8196 # Exported symbols can be pulled into shared objects from archives | 8680 # Exported symbols can be pulled into shared objects from archives |
8197 whole_archive_flag_spec=' ' | 8681 whole_archive_flag_spec='$convenience' |
8198 archive_cmds_need_lc=yes | 8682 archive_cmds_need_lc=yes |
8199 # This is similar to how AIX traditionally builds it's shared libraries. 8200 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' | 8683 # This is similar to how AIX traditionally builds its shared libraries. 8684 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' |
8201 fi 8202 fi 8203 ;; 8204 8205 amigaos*) 8206 archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 8207 hardcode_libdir_flag_spec='-L$libdir' 8208 hardcode_minus_L=yes --- 16 unchanged lines hidden (view full) --- 8225 libext=lib 8226 # Tell ltmain to make .dll files, not .so files. 8227 shrext_cmds=".dll" 8228 # FIXME: Setting linknames here is a bad hack. 8229 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' 8230 # The linker will automatically build a .lib file if we build a DLL. 8231 old_archive_From_new_cmds='true' 8232 # FIXME: Should let the user specify the lib program. | 8685 fi 8686 fi 8687 ;; 8688 8689 amigaos*) 8690 archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 8691 hardcode_libdir_flag_spec='-L$libdir' 8692 hardcode_minus_L=yes --- 16 unchanged lines hidden (view full) --- 8709 libext=lib 8710 # Tell ltmain to make .dll files, not .so files. 8711 shrext_cmds=".dll" 8712 # FIXME: Setting linknames here is a bad hack. 8713 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' 8714 # The linker will automatically build a .lib file if we build a DLL. 8715 old_archive_From_new_cmds='true' 8716 # FIXME: Should let the user specify the lib program. |
8233 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' | 8717 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
8234 fix_srcfile_path='`cygpath -w "$srcfile"`' 8235 enable_shared_with_static_runtimes=yes 8236 ;; 8237 8238 darwin* | rhapsody*) | 8718 fix_srcfile_path='`cygpath -w "$srcfile"`' 8719 enable_shared_with_static_runtimes=yes 8720 ;; 8721 8722 darwin* | rhapsody*) |
8239 case "$host_os" in | 8723 case $host_os in |
8240 rhapsody* | darwin1.[012]) 8241 allow_undefined_flag='${wl}-undefined ${wl}suppress' 8242 ;; 8243 *) # Darwin 1.3 on 8244 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 8245 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 8246 else 8247 case ${MACOSX_DEPLOYMENT_TARGET} in --- 10 unchanged lines hidden (view full) --- 8258 archive_cmds_need_lc=no 8259 hardcode_direct=no 8260 hardcode_automatic=yes 8261 hardcode_shlibpath_var=unsupported 8262 whole_archive_flag_spec='' 8263 link_all_deplibs=yes 8264 if test "$GCC" = yes ; then 8265 output_verbose_link_cmd='echo' | 8724 rhapsody* | darwin1.[012]) 8725 allow_undefined_flag='${wl}-undefined ${wl}suppress' 8726 ;; 8727 *) # Darwin 1.3 on 8728 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 8729 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 8730 else 8731 case ${MACOSX_DEPLOYMENT_TARGET} in --- 10 unchanged lines hidden (view full) --- 8742 archive_cmds_need_lc=no 8743 hardcode_direct=no 8744 hardcode_automatic=yes 8745 hardcode_shlibpath_var=unsupported 8746 whole_archive_flag_spec='' 8747 link_all_deplibs=yes 8748 if test "$GCC" = yes ; then 8749 output_verbose_link_cmd='echo' |
8266 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 8267 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 8268 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 8269 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 8270 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 8750 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 8751 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 8752 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 8753 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" |
8271 else 8272 case $cc_basename in 8273 xlc*) 8274 output_verbose_link_cmd='echo' | 8754 else 8755 case $cc_basename in 8756 xlc*) 8757 output_verbose_link_cmd='echo' |
8275 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' | 8758 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' |
8276 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' | 8759 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
8277 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 8278 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 8760 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 8761 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
8279 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 8280 ;; 8281 *) 8282 ld_shlibs=no 8283 ;; 8284 esac 8285 fi 8286 ;; --- 23 unchanged lines hidden (view full) --- 8310 freebsd2*) 8311 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8312 hardcode_direct=yes 8313 hardcode_minus_L=yes 8314 hardcode_shlibpath_var=no 8315 ;; 8316 8317 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 8762 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 8763 ;; 8764 *) 8765 ld_shlibs=no 8766 ;; 8767 esac 8768 fi 8769 ;; --- 23 unchanged lines hidden (view full) --- 8793 freebsd2*) 8794 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8795 hardcode_direct=yes 8796 hardcode_minus_L=yes 8797 hardcode_shlibpath_var=no 8798 ;; 8799 8800 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
8318 freebsd* | kfreebsd*-gnu | dragonfly*) | 8801 freebsd* | dragonfly*) |
8319 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 8320 hardcode_libdir_flag_spec='-R$libdir' 8321 hardcode_direct=yes 8322 hardcode_shlibpath_var=no 8323 ;; 8324 8325 hpux9*) 8326 if test "$GCC" = yes; then --- 6 unchanged lines hidden (view full) --- 8333 hardcode_direct=yes 8334 8335 # hardcode_minus_L: Not really in the search PATH, 8336 # but as the default location of the library. 8337 hardcode_minus_L=yes 8338 export_dynamic_flag_spec='${wl}-E' 8339 ;; 8340 | 8802 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 8803 hardcode_libdir_flag_spec='-R$libdir' 8804 hardcode_direct=yes 8805 hardcode_shlibpath_var=no 8806 ;; 8807 8808 hpux9*) 8809 if test "$GCC" = yes; then --- 6 unchanged lines hidden (view full) --- 8816 hardcode_direct=yes 8817 8818 # hardcode_minus_L: Not really in the search PATH, 8819 # but as the default location of the library. 8820 hardcode_minus_L=yes 8821 export_dynamic_flag_spec='${wl}-E' 8822 ;; 8823 |
8341 hpux10* | hpux11*) | 8824 hpux10*) |
8342 if test "$GCC" = yes -a "$with_gnu_ld" = no; then | 8825 if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
8343 case "$host_cpu" in 8344 hppa*64*|ia64*) | 8826 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8827 else 8828 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 8829 fi 8830 if test "$with_gnu_ld" = no; then 8831 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8832 hardcode_libdir_separator=: 8833 8834 hardcode_direct=yes 8835 export_dynamic_flag_spec='${wl}-E' 8836 8837 # hardcode_minus_L: Not really in the search PATH, 8838 # but as the default location of the library. 8839 hardcode_minus_L=yes 8840 fi 8841 ;; 8842 8843 hpux11*) 8844 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 8845 case $host_cpu in 8846 hppa*64*) |
8345 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8346 ;; | 8847 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8848 ;; |
8849 ia64*) 8850 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8851 ;; |
|
8347 *) 8348 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8349 ;; 8350 esac 8351 else | 8852 *) 8853 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8854 ;; 8855 esac 8856 else |
8352 case "$host_cpu" in 8353 hppa*64*|ia64*) 8354 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' | 8857 case $host_cpu in 8858 hppa*64*) 8859 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
8355 ;; | 8860 ;; |
8861 ia64*) 8862 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8863 ;; |
|
8356 *) | 8864 *) |
8357 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | 8865 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
8358 ;; 8359 esac 8360 fi 8361 if test "$with_gnu_ld" = no; then | 8866 ;; 8867 esac 8868 fi 8869 if test "$with_gnu_ld" = no; then |
8362 case "$host_cpu" in 8363 hppa*64*) 8364 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 8870 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8871 hardcode_libdir_separator=: 8872 8873 case $host_cpu in 8874 hppa*64*|ia64*) |
8365 hardcode_libdir_flag_spec_ld='+b $libdir' | 8875 hardcode_libdir_flag_spec_ld='+b $libdir' |
8366 hardcode_libdir_separator=: | |
8367 hardcode_direct=no 8368 hardcode_shlibpath_var=no 8369 ;; | 8876 hardcode_direct=no 8877 hardcode_shlibpath_var=no 8878 ;; |
8370 ia64*) 8371 hardcode_libdir_flag_spec='-L$libdir' 8372 hardcode_direct=no 8373 hardcode_shlibpath_var=no 8374 8375 # hardcode_minus_L: Not really in the search PATH, 8376 # but as the default location of the library. 8377 hardcode_minus_L=yes 8378 ;; | |
8379 *) | 8879 *) |
8380 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8381 hardcode_libdir_separator=: | |
8382 hardcode_direct=yes 8383 export_dynamic_flag_spec='${wl}-E' 8384 8385 # hardcode_minus_L: Not really in the search PATH, 8386 # but as the default location of the library. 8387 hardcode_minus_L=yes 8388 ;; 8389 esac --- 27 unchanged lines hidden (view full) --- 8417 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8418 hardcode_direct=yes 8419 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8420 hardcode_libdir_separator=: 8421 hardcode_shlibpath_var=no 8422 ;; 8423 8424 openbsd*) | 8880 hardcode_direct=yes 8881 export_dynamic_flag_spec='${wl}-E' 8882 8883 # hardcode_minus_L: Not really in the search PATH, 8884 # but as the default location of the library. 8885 hardcode_minus_L=yes 8886 ;; 8887 esac --- 27 unchanged lines hidden (view full) --- 8915 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8916 hardcode_direct=yes 8917 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8918 hardcode_libdir_separator=: 8919 hardcode_shlibpath_var=no 8920 ;; 8921 8922 openbsd*) |
8425 hardcode_direct=yes 8426 hardcode_shlibpath_var=no 8427 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 8428 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 8429 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 8430 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8431 export_dynamic_flag_spec='${wl}-E' | 8923 if test -f /usr/libexec/ld.so; then 8924 hardcode_direct=yes 8925 hardcode_shlibpath_var=no 8926 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 8927 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 8928 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 8929 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8930 export_dynamic_flag_spec='${wl}-E' 8931 else 8932 case $host_os in 8933 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 8934 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8935 hardcode_libdir_flag_spec='-R$libdir' 8936 ;; 8937 *) 8938 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 8939 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8940 ;; 8941 esac 8942 fi |
8432 else | 8943 else |
8433 case $host_os in 8434 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 8435 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8436 hardcode_libdir_flag_spec='-R$libdir' 8437 ;; 8438 *) 8439 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 8440 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8441 ;; 8442 esac | 8944 ld_shlibs=no |
8443 fi 8444 ;; 8445 8446 os2*) 8447 hardcode_libdir_flag_spec='-L$libdir' 8448 hardcode_minus_L=yes 8449 allow_undefined_flag=unsupported 8450 archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' --- 24 unchanged lines hidden (view full) --- 8475 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' 8476 8477 # Both c and cxx compiler support -rpath directly 8478 hardcode_libdir_flag_spec='-rpath $libdir' 8479 fi 8480 hardcode_libdir_separator=: 8481 ;; 8482 | 8945 fi 8946 ;; 8947 8948 os2*) 8949 hardcode_libdir_flag_spec='-L$libdir' 8950 hardcode_minus_L=yes 8951 allow_undefined_flag=unsupported 8952 archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' --- 24 unchanged lines hidden (view full) --- 8977 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' 8978 8979 # Both c and cxx compiler support -rpath directly 8980 hardcode_libdir_flag_spec='-rpath $libdir' 8981 fi 8982 hardcode_libdir_separator=: 8983 ;; 8984 |
8483 sco3.2v5*) 8484 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8485 hardcode_shlibpath_var=no 8486 export_dynamic_flag_spec='${wl}-Bexport' 8487 runpath_var=LD_RUN_PATH 8488 hardcode_runpath_var=yes 8489 ;; 8490 | |
8491 solaris*) 8492 no_undefined_flag=' -z text' 8493 if test "$GCC" = yes; then 8494 wlarc='${wl}' 8495 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8496 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 8497 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' 8498 else 8499 wlarc='' 8500 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 8501 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 8502 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 8503 fi 8504 hardcode_libdir_flag_spec='-R$libdir' 8505 hardcode_shlibpath_var=no 8506 case $host_os in 8507 solaris2.[0-5] | solaris2.[0-5].*) ;; 8508 *) | 8985 solaris*) 8986 no_undefined_flag=' -z text' 8987 if test "$GCC" = yes; then 8988 wlarc='${wl}' 8989 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8990 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 8991 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' 8992 else 8993 wlarc='' 8994 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 8995 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 8996 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 8997 fi 8998 hardcode_libdir_flag_spec='-R$libdir' 8999 hardcode_shlibpath_var=no 9000 case $host_os in 9001 solaris2.[0-5] | solaris2.[0-5].*) ;; 9002 *) |
8509 # The compiler driver will combine linker options so we 8510 # cannot just pass the convience library names through 8511 # without $wl, iff we do not link with $LD. 8512 # Luckily, gcc supports the same syntax we need for Sun Studio. | 9003 # The compiler driver will combine and reorder linker options, 9004 # but understands `-z linker_flag'. GCC discards it without `$wl', 9005 # but is careful enough not to reorder. |
8513 # Supported since Solaris 2.6 (maybe 2.5.1?) | 9006 # Supported since Solaris 2.6 (maybe 2.5.1?) |
8514 case $wlarc in 8515 '') 8516 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; 8517 *) 8518 whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; 8519 esac ;; | 9007 if test "$GCC" = yes; then 9008 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9009 else 9010 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9011 fi 9012 ;; |
8520 esac 8521 link_all_deplibs=yes 8522 ;; 8523 8524 sunos4*) 8525 if test "x$host_vendor" = xsequent; then 8526 # Use $CC to link under sequent, because it throws in some extra .o 8527 # files that make .init and .fini sections work. --- 40 unchanged lines hidden (view full) --- 8568 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8569 hardcode_shlibpath_var=no 8570 runpath_var=LD_RUN_PATH 8571 hardcode_runpath_var=yes 8572 ld_shlibs=yes 8573 fi 8574 ;; 8575 | 9013 esac 9014 link_all_deplibs=yes 9015 ;; 9016 9017 sunos4*) 9018 if test "x$host_vendor" = xsequent; then 9019 # Use $CC to link under sequent, because it throws in some extra .o 9020 # files that make .init and .fini sections work. --- 40 unchanged lines hidden (view full) --- 9061 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9062 hardcode_shlibpath_var=no 9063 runpath_var=LD_RUN_PATH 9064 hardcode_runpath_var=yes 9065 ld_shlibs=yes 9066 fi 9067 ;; 9068 |
8576 sysv4.2uw2*) 8577 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 8578 hardcode_direct=yes 8579 hardcode_minus_L=no | 9069 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9070 no_undefined_flag='${wl}-z,text' 9071 archive_cmds_need_lc=no |
8580 hardcode_shlibpath_var=no | 9072 hardcode_shlibpath_var=no |
8581 hardcode_runpath_var=yes 8582 runpath_var=LD_RUN_PATH 8583 ;; | 9073 runpath_var='LD_RUN_PATH' |
8584 | 9074 |
8585 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) 8586 no_undefined_flag='${wl}-z ${wl}text' | |
8587 if test "$GCC" = yes; then | 9075 if test "$GCC" = yes; then |
8588 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 9076 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9077 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
8589 else | 9078 else |
8590 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 9079 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9080 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
8591 fi | 9081 fi |
8592 runpath_var='LD_RUN_PATH' 8593 hardcode_shlibpath_var=no | |
8594 ;; 8595 | 9082 ;; 9083 |
8596 sysv5*) 8597 no_undefined_flag=' -z text' 8598 # $CC -shared without GNU ld will not create a library from C++ 8599 # object files and a static libstdc++, better avoid it by now 8600 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 8601 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 8602 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 8603 hardcode_libdir_flag_spec= | 9084 sysv5* | sco3.2v5* | sco5v6*) 9085 # Note: We can NOT use -z defs as we might desire, because we do not 9086 # link with -lc, and that would cause any symbols used from libc to 9087 # always be unresolved, which means just about no library would 9088 # ever link correctly. If we're not using GNU ld we use -z text 9089 # though, which does catch some bad symbols but isn't as heavy-handed 9090 # as -z defs. 9091 no_undefined_flag='${wl}-z,text' 9092 allow_undefined_flag='${wl}-z,nodefs' 9093 archive_cmds_need_lc=no |
8604 hardcode_shlibpath_var=no | 9094 hardcode_shlibpath_var=no |
9095 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' 9096 hardcode_libdir_separator=':' 9097 link_all_deplibs=yes 9098 export_dynamic_flag_spec='${wl}-Bexport' |
|
8605 runpath_var='LD_RUN_PATH' | 9099 runpath_var='LD_RUN_PATH' |
9100 9101 if test "$GCC" = yes; then 9102 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 9103 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 9104 else 9105 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 9106 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 9107 fi |
|
8606 ;; 8607 8608 uts4*) 8609 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8610 hardcode_libdir_flag_spec='-L$libdir' 8611 hardcode_shlibpath_var=no 8612 ;; 8613 8614 *) 8615 ld_shlibs=no 8616 ;; 8617 esac 8618 fi 8619 8620{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5 8621echo "${ECHO_T}$ld_shlibs" >&6; } 8622test "$ld_shlibs" = no && can_build_shared=no 8623 | 9108 ;; 9109 9110 uts4*) 9111 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9112 hardcode_libdir_flag_spec='-L$libdir' 9113 hardcode_shlibpath_var=no 9114 ;; 9115 9116 *) 9117 ld_shlibs=no 9118 ;; 9119 esac 9120 fi 9121 9122{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5 9123echo "${ECHO_T}$ld_shlibs" >&6; } 9124test "$ld_shlibs" = no && can_build_shared=no 9125 |
8624variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 8625if test "$GCC" = yes; then 8626 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 8627fi 8628 | |
8629# 8630# Do we need to explicitly link libc? 8631# 8632case "x$archive_cmds_need_lc" in 8633x|xyes) 8634 # Assume -lc should be added 8635 archive_cmds_need_lc=yes 8636 --- 4 unchanged lines hidden (view full) --- 8641 ;; 8642 '$CC '*) 8643 # Test whether the compiler implicitly links with -lc since on some 8644 # systems, -lgcc has to come before -lc. If gcc already passes -lc 8645 # to ld, don't add -lc before -lgcc. 8646 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 8647echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 8648 $rm conftest* | 9126# 9127# Do we need to explicitly link libc? 9128# 9129case "x$archive_cmds_need_lc" in 9130x|xyes) 9131 # Assume -lc should be added 9132 archive_cmds_need_lc=yes 9133 --- 4 unchanged lines hidden (view full) --- 9138 ;; 9139 '$CC '*) 9140 # Test whether the compiler implicitly links with -lc since on some 9141 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9142 # to ld, don't add -lc before -lgcc. 9143 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 9144echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 9145 $rm conftest* |
8649 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 9146 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
8650 8651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8652 (eval $ac_compile) 2>&5 8653 ac_status=$? 8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8655 (exit $ac_status); } 2>conftest.err; then 8656 soname=conftest 8657 lib=conftest 8658 libobjs=conftest.$ac_objext 8659 deplibs= 8660 wl=$lt_prog_compiler_wl | 9147 9148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9149 (eval $ac_compile) 2>&5 9150 ac_status=$? 9151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9152 (exit $ac_status); } 2>conftest.err; then 9153 soname=conftest 9154 lib=conftest 9155 libobjs=conftest.$ac_objext 9156 deplibs= 9157 wl=$lt_prog_compiler_wl |
9158 pic_flag=$lt_prog_compiler_pic |
|
8661 compiler_flags=-v 8662 linker_flags=-v 8663 verstring= 8664 output_objdir=. 8665 libname=conftest 8666 lt_save_allow_undefined_flag=$allow_undefined_flag 8667 allow_undefined_flag= 8668 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 --- 29 unchanged lines hidden (view full) --- 8698postuninstall_cmds= 8699finish_cmds= 8700finish_eval= 8701shlibpath_var= 8702shlibpath_overrides_runpath=unknown 8703version_type=none 8704dynamic_linker="$host_os ld.so" 8705sys_lib_dlsearch_path_spec="/lib /usr/lib" | 9159 compiler_flags=-v 9160 linker_flags=-v 9161 verstring= 9162 output_objdir=. 9163 libname=conftest 9164 lt_save_allow_undefined_flag=$allow_undefined_flag 9165 allow_undefined_flag= 9166 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 --- 29 unchanged lines hidden (view full) --- 9196postuninstall_cmds= 9197finish_cmds= 9198finish_eval= 9199shlibpath_var= 9200shlibpath_overrides_runpath=unknown 9201version_type=none 9202dynamic_linker="$host_os ld.so" 9203sys_lib_dlsearch_path_spec="/lib /usr/lib" |
9204 |
|
8706if test "$GCC" = yes; then | 9205if test "$GCC" = yes; then |
8707 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 8708 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then | 9206 case $host_os in 9207 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9208 *) lt_awk_arg="/^libraries:/" ;; 9209 esac 9210 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9211 if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then |
8709 # if the path contains ";" then we assume it to be the separator 8710 # otherwise default to the standard path separator (i.e. ":") - it is 8711 # assumed that no part of a normal pathname contains ";" but that should 8712 # okay in the real world where ";" in dirpaths is itself problematic. | 9212 # if the path contains ";" then we assume it to be the separator 9213 # otherwise default to the standard path separator (i.e. ":") - it is 9214 # assumed that no part of a normal pathname contains ";" but that should 9215 # okay in the real world where ";" in dirpaths is itself problematic. |
8713 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 9216 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` |
8714 else | 9217 else |
8715 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` | 9218 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
8716 fi | 9219 fi |
9220 # Ok, now we have the path, separated by spaces, we can step through it 9221 # and add multilib dir if necessary. 9222 lt_tmp_lt_search_path_spec= 9223 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9224 for lt_sys_path in $lt_search_path_spec; do 9225 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9226 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9227 else 9228 test -d "$lt_sys_path" && \ 9229 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9230 fi 9231 done 9232 lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' 9233BEGIN {RS=" "; FS="/|\n";} { 9234 lt_foo=""; 9235 lt_count=0; 9236 for (lt_i = NF; lt_i > 0; lt_i--) { 9237 if ($lt_i != "" && $lt_i != ".") { 9238 if ($lt_i == "..") { 9239 lt_count++; 9240 } else { 9241 if (lt_count == 0) { 9242 lt_foo="/" $lt_i lt_foo; 9243 } else { 9244 lt_count--; 9245 } 9246 } 9247 } 9248 } 9249 if (lt_foo != "") { lt_freq[lt_foo]++; } 9250 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9251}'` 9252 sys_lib_search_path_spec=`echo $lt_search_path_spec` |
|
8717else 8718 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 8719fi 8720need_lib_prefix=unknown 8721hardcode_into_libs=no 8722 8723# when you set need_version to no, make sure it does not cause -set_version 8724# flags to be left without arguments --- 4 unchanged lines hidden (view full) --- 8729 version_type=linux 8730 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 8731 shlibpath_var=LIBPATH 8732 8733 # AIX 3 has no versioning support, so we append a major version to the name. 8734 soname_spec='${libname}${release}${shared_ext}$major' 8735 ;; 8736 | 9253else 9254 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9255fi 9256need_lib_prefix=unknown 9257hardcode_into_libs=no 9258 9259# when you set need_version to no, make sure it does not cause -set_version 9260# flags to be left without arguments --- 4 unchanged lines hidden (view full) --- 9265 version_type=linux 9266 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9267 shlibpath_var=LIBPATH 9268 9269 # AIX 3 has no versioning support, so we append a major version to the name. 9270 soname_spec='${libname}${release}${shared_ext}$major' 9271 ;; 9272 |
8737aix4* | aix5*) | 9273aix[4-9]*) |
8738 version_type=linux 8739 need_lib_prefix=no 8740 need_version=no 8741 hardcode_into_libs=yes 8742 if test "$host_cpu" = ia64; then 8743 # AIX 5 supports IA64 8744 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 8745 shlibpath_var=LD_LIBRARY_PATH --- 67 unchanged lines hidden (view full) --- 8813 case $GCC,$host_os in 8814 yes,cygwin* | yes,mingw* | yes,pw32*) 8815 library_names_spec='$libname.dll.a' 8816 # DLL is installed to $(libdir)/../bin by postinstall_cmds 8817 postinstall_cmds='base_file=`basename \${file}`~ 8818 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 8819 dldir=$destdir/`dirname \$dlpath`~ 8820 test -d \$dldir || mkdir -p \$dldir~ | 9274 version_type=linux 9275 need_lib_prefix=no 9276 need_version=no 9277 hardcode_into_libs=yes 9278 if test "$host_cpu" = ia64; then 9279 # AIX 5 supports IA64 9280 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9281 shlibpath_var=LD_LIBRARY_PATH --- 67 unchanged lines hidden (view full) --- 9349 case $GCC,$host_os in 9350 yes,cygwin* | yes,mingw* | yes,pw32*) 9351 library_names_spec='$libname.dll.a' 9352 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9353 postinstall_cmds='base_file=`basename \${file}`~ 9354 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 9355 dldir=$destdir/`dirname \$dlpath`~ 9356 test -d \$dldir || mkdir -p \$dldir~ |
8821 $install_prog $dir/$dlname \$dldir/$dlname' | 9357 $install_prog $dir/$dlname \$dldir/$dlname~ 9358 chmod a+x \$dldir/$dlname' |
8822 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 8823 dlpath=$dir/\$dldll~ 8824 $rm \$dlpath' 8825 shlibpath_overrides_runpath=yes 8826 8827 case $host_os in 8828 cygwin*) 8829 # Cygwin DLLs use 'cyg' prefix rather than 'lib' --- 36 unchanged lines hidden (view full) --- 8866 dynamic_linker="$host_os dyld" 8867 version_type=darwin 8868 need_lib_prefix=no 8869 need_version=no 8870 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 8871 soname_spec='${libname}${release}${major}$shared_ext' 8872 shlibpath_overrides_runpath=yes 8873 shlibpath_var=DYLD_LIBRARY_PATH | 9359 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 9360 dlpath=$dir/\$dldll~ 9361 $rm \$dlpath' 9362 shlibpath_overrides_runpath=yes 9363 9364 case $host_os in 9365 cygwin*) 9366 # Cygwin DLLs use 'cyg' prefix rather than 'lib' --- 36 unchanged lines hidden (view full) --- 9403 dynamic_linker="$host_os dyld" 9404 version_type=darwin 9405 need_lib_prefix=no 9406 need_version=no 9407 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 9408 soname_spec='${libname}${release}${major}$shared_ext' 9409 shlibpath_overrides_runpath=yes 9410 shlibpath_var=DYLD_LIBRARY_PATH |
8874 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' 8875 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 8876 if test "$GCC" = yes; then 8877 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 8878 else 8879 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 8880 fi | 9411 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 9412 9413 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
8881 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 8882 ;; 8883 8884dgux*) 8885 version_type=linux 8886 need_lib_prefix=no 8887 need_version=no 8888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 8889 soname_spec='${libname}${release}${shared_ext}$major' 8890 shlibpath_var=LD_LIBRARY_PATH 8891 ;; 8892 8893freebsd1*) 8894 dynamic_linker=no 8895 ;; 8896 | 9414 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 9415 ;; 9416 9417dgux*) 9418 version_type=linux 9419 need_lib_prefix=no 9420 need_version=no 9421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 9422 soname_spec='${libname}${release}${shared_ext}$major' 9423 shlibpath_var=LD_LIBRARY_PATH 9424 ;; 9425 9426freebsd1*) 9427 dynamic_linker=no 9428 ;; 9429 |
8897kfreebsd*-gnu) 8898 version_type=linux 8899 need_lib_prefix=no 8900 need_version=no 8901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 8902 soname_spec='${libname}${release}${shared_ext}$major' 8903 shlibpath_var=LD_LIBRARY_PATH 8904 shlibpath_overrides_runpath=no 8905 hardcode_into_libs=yes 8906 dynamic_linker='GNU ld.so' 8907 ;; 8908 | |
8909freebsd* | dragonfly*) 8910 # DragonFly does not have aout. When/if they implement a new 8911 # versioning mechanism, adjust this. | 9430freebsd* | dragonfly*) 9431 # DragonFly does not have aout. When/if they implement a new 9432 # versioning mechanism, adjust this. |
8912 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 9433 if test -x /usr/bin/objformat; then 9434 objformat=`/usr/bin/objformat` 9435 else 9436 case $host_os in 9437 freebsd[123]*) objformat=aout ;; 9438 *) objformat=elf ;; 9439 esac 9440 fi |
8913 version_type=freebsd-$objformat 8914 case $version_type in 8915 freebsd-elf*) 8916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 8917 need_version=no 8918 need_lib_prefix=no 8919 ;; 8920 freebsd-*) --- 5 unchanged lines hidden (view full) --- 8926 case $host_os in 8927 freebsd2*) 8928 shlibpath_overrides_runpath=yes 8929 ;; 8930 freebsd3.[01]* | freebsdelf3.[01]*) 8931 shlibpath_overrides_runpath=yes 8932 hardcode_into_libs=yes 8933 ;; | 9441 version_type=freebsd-$objformat 9442 case $version_type in 9443 freebsd-elf*) 9444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9445 need_version=no 9446 need_lib_prefix=no 9447 ;; 9448 freebsd-*) --- 5 unchanged lines hidden (view full) --- 9454 case $host_os in 9455 freebsd2*) 9456 shlibpath_overrides_runpath=yes 9457 ;; 9458 freebsd3.[01]* | freebsdelf3.[01]*) 9459 shlibpath_overrides_runpath=yes 9460 hardcode_into_libs=yes 9461 ;; |
8934 *) # from 3.2 on | 9462 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 9463 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
8935 shlibpath_overrides_runpath=no 8936 hardcode_into_libs=yes 8937 ;; | 9464 shlibpath_overrides_runpath=no 9465 hardcode_into_libs=yes 9466 ;; |
9467 *) # from 4.6 on, and DragonFly 9468 shlibpath_overrides_runpath=yes 9469 hardcode_into_libs=yes 9470 ;; |
|
8938 esac 8939 ;; 8940 8941gnu*) 8942 version_type=linux 8943 need_lib_prefix=no 8944 need_version=no 8945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 8946 soname_spec='${libname}${release}${shared_ext}$major' 8947 shlibpath_var=LD_LIBRARY_PATH 8948 hardcode_into_libs=yes 8949 ;; 8950 8951hpux9* | hpux10* | hpux11*) 8952 # Give a soname corresponding to the major version so that dld.sl refuses to 8953 # link against other versions. 8954 version_type=sunos 8955 need_lib_prefix=no 8956 need_version=no | 9471 esac 9472 ;; 9473 9474gnu*) 9475 version_type=linux 9476 need_lib_prefix=no 9477 need_version=no 9478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 9479 soname_spec='${libname}${release}${shared_ext}$major' 9480 shlibpath_var=LD_LIBRARY_PATH 9481 hardcode_into_libs=yes 9482 ;; 9483 9484hpux9* | hpux10* | hpux11*) 9485 # Give a soname corresponding to the major version so that dld.sl refuses to 9486 # link against other versions. 9487 version_type=sunos 9488 need_lib_prefix=no 9489 need_version=no |
8957 case "$host_cpu" in | 9490 case $host_cpu in |
8958 ia64*) 8959 shrext_cmds='.so' 8960 hardcode_into_libs=yes 8961 dynamic_linker="$host_os dld.so" 8962 shlibpath_var=LD_LIBRARY_PATH 8963 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 8964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 8965 soname_spec='${libname}${release}${shared_ext}$major' --- 23 unchanged lines hidden (view full) --- 8989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 8990 soname_spec='${libname}${release}${shared_ext}$major' 8991 ;; 8992 esac 8993 # HP-UX runs *really* slowly unless shared libraries are mode 555. 8994 postinstall_cmds='chmod 555 $lib' 8995 ;; 8996 | 9491 ia64*) 9492 shrext_cmds='.so' 9493 hardcode_into_libs=yes 9494 dynamic_linker="$host_os dld.so" 9495 shlibpath_var=LD_LIBRARY_PATH 9496 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9498 soname_spec='${libname}${release}${shared_ext}$major' --- 23 unchanged lines hidden (view full) --- 9522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9523 soname_spec='${libname}${release}${shared_ext}$major' 9524 ;; 9525 esac 9526 # HP-UX runs *really* slowly unless shared libraries are mode 555. 9527 postinstall_cmds='chmod 555 $lib' 9528 ;; 9529 |
9530interix[3-9]*) 9531 version_type=linux 9532 need_lib_prefix=no 9533 need_version=no 9534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9535 soname_spec='${libname}${release}${shared_ext}$major' 9536 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 9537 shlibpath_var=LD_LIBRARY_PATH 9538 shlibpath_overrides_runpath=no 9539 hardcode_into_libs=yes 9540 ;; 9541 |
|
8997irix5* | irix6* | nonstopux*) 8998 case $host_os in 8999 nonstopux*) version_type=nonstopux ;; 9000 *) 9001 if test "$lt_cv_prog_gnu_ld" = yes; then 9002 version_type=linux 9003 else 9004 version_type=irix --- 27 unchanged lines hidden (view full) --- 9032 ;; 9033 9034# No shared lib support for Linux oldld, aout, or coff. 9035linux*oldld* | linux*aout* | linux*coff*) 9036 dynamic_linker=no 9037 ;; 9038 9039# This must be Linux ELF. | 9542irix5* | irix6* | nonstopux*) 9543 case $host_os in 9544 nonstopux*) version_type=nonstopux ;; 9545 *) 9546 if test "$lt_cv_prog_gnu_ld" = yes; then 9547 version_type=linux 9548 else 9549 version_type=irix --- 27 unchanged lines hidden (view full) --- 9577 ;; 9578 9579# No shared lib support for Linux oldld, aout, or coff. 9580linux*oldld* | linux*aout* | linux*coff*) 9581 dynamic_linker=no 9582 ;; 9583 9584# This must be Linux ELF. |
9040linux*) | 9585linux* | k*bsd*-gnu) |
9041 version_type=linux 9042 need_lib_prefix=no 9043 need_version=no 9044 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9045 soname_spec='${libname}${release}${shared_ext}$major' 9046 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 9047 shlibpath_var=LD_LIBRARY_PATH 9048 shlibpath_overrides_runpath=no 9049 # This implies no fast_install, which is unacceptable. 9050 # Some rework will be needed to allow for fast_install 9051 # before this can be enabled. 9052 hardcode_into_libs=yes 9053 9054 # Append ld.so.conf contents to the search path 9055 if test -f /etc/ld.so.conf; then | 9586 version_type=linux 9587 need_lib_prefix=no 9588 need_version=no 9589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9590 soname_spec='${libname}${release}${shared_ext}$major' 9591 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 9592 shlibpath_var=LD_LIBRARY_PATH 9593 shlibpath_overrides_runpath=no 9594 # This implies no fast_install, which is unacceptable. 9595 # Some rework will be needed to allow for fast_install 9596 # before this can be enabled. 9597 hardcode_into_libs=yes 9598 9599 # Append ld.so.conf contents to the search path 9600 if test -f /etc/ld.so.conf; then |
9056 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' ' '` | 9601 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
9057 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 9058 fi 9059 9060 # We used to test for /lib/ld.so.1 and disable shared libraries on 9061 # powerpc, because MkLinux only supported shared libraries with the 9062 # GNU dynamic linker. Since this was broken with cross compilers, 9063 # most powerpc-linux boxes support dynamic linking these days and 9064 # people can always --disable-shared, the test was removed, and we 9065 # assume the GNU/Linux dynamic linker is in use. 9066 dynamic_linker='GNU/Linux ld.so' 9067 ;; 9068 | 9602 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 9603 fi 9604 9605 # We used to test for /lib/ld.so.1 and disable shared libraries on 9606 # powerpc, because MkLinux only supported shared libraries with the 9607 # GNU dynamic linker. Since this was broken with cross compilers, 9608 # most powerpc-linux boxes support dynamic linking these days and 9609 # people can always --disable-shared, the test was removed, and we 9610 # assume the GNU/Linux dynamic linker is in use. 9611 dynamic_linker='GNU/Linux ld.so' 9612 ;; 9613 |
9069knetbsd*-gnu) 9070 version_type=linux 9071 need_lib_prefix=no 9072 need_version=no 9073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9074 soname_spec='${libname}${release}${shared_ext}$major' 9075 shlibpath_var=LD_LIBRARY_PATH 9076 shlibpath_overrides_runpath=no 9077 hardcode_into_libs=yes 9078 dynamic_linker='GNU ld.so' 9079 ;; 9080 | |
9081netbsd*) 9082 version_type=sunos 9083 need_lib_prefix=no 9084 need_version=no 9085 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 9086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9087 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9088 dynamic_linker='NetBSD (a.out) ld.so' --- 21 unchanged lines hidden (view full) --- 9110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9111 soname_spec='${libname}${release}${shared_ext}$major' 9112 shlibpath_var=LD_LIBRARY_PATH 9113 shlibpath_overrides_runpath=yes 9114 ;; 9115 9116openbsd*) 9117 version_type=sunos | 9614netbsd*) 9615 version_type=sunos 9616 need_lib_prefix=no 9617 need_version=no 9618 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 9619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9620 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9621 dynamic_linker='NetBSD (a.out) ld.so' --- 21 unchanged lines hidden (view full) --- 9643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9644 soname_spec='${libname}${release}${shared_ext}$major' 9645 shlibpath_var=LD_LIBRARY_PATH 9646 shlibpath_overrides_runpath=yes 9647 ;; 9648 9649openbsd*) 9650 version_type=sunos |
9651 sys_lib_dlsearch_path_spec="/usr/lib" |
|
9118 need_lib_prefix=no 9119 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 9120 case $host_os in 9121 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 9122 *) need_version=no ;; 9123 esac 9124 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9125 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' --- 27 unchanged lines hidden (view full) --- 9153 need_version=no 9154 soname_spec='${libname}${release}${shared_ext}$major' 9155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9156 shlibpath_var=LD_LIBRARY_PATH 9157 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 9158 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 9159 ;; 9160 | 9652 need_lib_prefix=no 9653 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 9654 case $host_os in 9655 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 9656 *) need_version=no ;; 9657 esac 9658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9659 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' --- 27 unchanged lines hidden (view full) --- 9687 need_version=no 9688 soname_spec='${libname}${release}${shared_ext}$major' 9689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9690 shlibpath_var=LD_LIBRARY_PATH 9691 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 9692 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 9693 ;; 9694 |
9161sco3.2v5*) 9162 version_type=osf 9163 soname_spec='${libname}${release}${shared_ext}$major' 9164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9165 shlibpath_var=LD_LIBRARY_PATH | 9695rdos*) 9696 dynamic_linker=no |
9166 ;; 9167 9168solaris*) 9169 version_type=linux 9170 need_lib_prefix=no 9171 need_version=no 9172 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9173 soname_spec='${libname}${release}${shared_ext}$major' --- 11 unchanged lines hidden (view full) --- 9185 shlibpath_var=LD_LIBRARY_PATH 9186 shlibpath_overrides_runpath=yes 9187 if test "$with_gnu_ld" = yes; then 9188 need_lib_prefix=no 9189 fi 9190 need_version=yes 9191 ;; 9192 | 9697 ;; 9698 9699solaris*) 9700 version_type=linux 9701 need_lib_prefix=no 9702 need_version=no 9703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9704 soname_spec='${libname}${release}${shared_ext}$major' --- 11 unchanged lines hidden (view full) --- 9716 shlibpath_var=LD_LIBRARY_PATH 9717 shlibpath_overrides_runpath=yes 9718 if test "$with_gnu_ld" = yes; then 9719 need_lib_prefix=no 9720 fi 9721 need_version=yes 9722 ;; 9723 |
9193sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 9724sysv4 | sysv4.3*) |
9194 version_type=linux 9195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9196 soname_spec='${libname}${release}${shared_ext}$major' 9197 shlibpath_var=LD_LIBRARY_PATH 9198 case $host_vendor in 9199 sni) 9200 shlibpath_overrides_runpath=no 9201 need_lib_prefix=no --- 16 unchanged lines hidden (view full) --- 9218 if test -d /usr/nec ;then 9219 version_type=linux 9220 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 9221 soname_spec='$libname${shared_ext}.$major' 9222 shlibpath_var=LD_LIBRARY_PATH 9223 fi 9224 ;; 9225 | 9725 version_type=linux 9726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9727 soname_spec='${libname}${release}${shared_ext}$major' 9728 shlibpath_var=LD_LIBRARY_PATH 9729 case $host_vendor in 9730 sni) 9731 shlibpath_overrides_runpath=no 9732 need_lib_prefix=no --- 16 unchanged lines hidden (view full) --- 9749 if test -d /usr/nec ;then 9750 version_type=linux 9751 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 9752 soname_spec='$libname${shared_ext}.$major' 9753 shlibpath_var=LD_LIBRARY_PATH 9754 fi 9755 ;; 9756 |
9757sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 9758 version_type=freebsd-elf 9759 need_lib_prefix=no 9760 need_version=no 9761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9762 soname_spec='${libname}${release}${shared_ext}$major' 9763 shlibpath_var=LD_LIBRARY_PATH 9764 hardcode_into_libs=yes 9765 if test "$with_gnu_ld" = yes; then 9766 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 9767 shlibpath_overrides_runpath=no 9768 else 9769 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 9770 shlibpath_overrides_runpath=yes 9771 case $host_os in 9772 sco3.2v5*) 9773 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 9774 ;; 9775 esac 9776 fi 9777 sys_lib_dlsearch_path_spec='/usr/lib' 9778 ;; 9779 |
|
9226uts4*) 9227 version_type=linux 9228 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9229 soname_spec='${libname}${release}${shared_ext}$major' 9230 shlibpath_var=LD_LIBRARY_PATH 9231 ;; 9232 9233*) 9234 dynamic_linker=no 9235 ;; 9236esac 9237{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 9238echo "${ECHO_T}$dynamic_linker" >&6; } 9239test "$dynamic_linker" = no && can_build_shared=no 9240 | 9780uts4*) 9781 version_type=linux 9782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9783 soname_spec='${libname}${release}${shared_ext}$major' 9784 shlibpath_var=LD_LIBRARY_PATH 9785 ;; 9786 9787*) 9788 dynamic_linker=no 9789 ;; 9790esac 9791{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 9792echo "${ECHO_T}$dynamic_linker" >&6; } 9793test "$dynamic_linker" = no && can_build_shared=no 9794 |
9795if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 9796 echo $ECHO_N "(cached) $ECHO_C" >&6 9797else 9798 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" 9799fi 9800 9801sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 9802if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 9803 echo $ECHO_N "(cached) $ECHO_C" >&6 9804else 9805 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" 9806fi 9807 9808sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 9809 9810variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 9811if test "$GCC" = yes; then 9812 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 9813fi 9814 |
|
9241{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 9242echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 9243hardcode_action= 9244if test -n "$hardcode_libdir_flag_spec" || \ 9245 test -n "$runpath_var" || \ 9246 test "X$hardcode_automatic" = "Xyes" ; then 9247 9248 # We can hardcode non-existant directories. --- 36 unchanged lines hidden (view full) --- 9285 { echo "$as_me:$LINENO: result: yes" >&5 9286echo "${ECHO_T}yes" >&6; } 9287else 9288# FIXME - insert some real tests, host_os isn't really good enough 9289 case $host_os in 9290 darwin*) 9291 if test -n "$STRIP" ; then 9292 striplib="$STRIP -x" | 9815{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 9816echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 9817hardcode_action= 9818if test -n "$hardcode_libdir_flag_spec" || \ 9819 test -n "$runpath_var" || \ 9820 test "X$hardcode_automatic" = "Xyes" ; then 9821 9822 # We can hardcode non-existant directories. --- 36 unchanged lines hidden (view full) --- 9859 { echo "$as_me:$LINENO: result: yes" >&5 9860echo "${ECHO_T}yes" >&6; } 9861else 9862# FIXME - insert some real tests, host_os isn't really good enough 9863 case $host_os in 9864 darwin*) 9865 if test -n "$STRIP" ; then 9866 striplib="$STRIP -x" |
9867 old_striplib="$STRIP -S" |
|
9293 { echo "$as_me:$LINENO: result: yes" >&5 9294echo "${ECHO_T}yes" >&6; } 9295 else 9296 { echo "$as_me:$LINENO: result: no" >&5 9297echo "${ECHO_T}no" >&6; } 9298fi 9299 ;; 9300 *) --- 245 unchanged lines hidden (view full) --- 9546 9547rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9548 conftest$ac_exeext conftest.$ac_ext 9549LIBS=$ac_check_lib_save_LIBS 9550fi 9551{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 9552echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } 9553if test $ac_cv_lib_dld_shl_load = yes; then | 9868 { echo "$as_me:$LINENO: result: yes" >&5 9869echo "${ECHO_T}yes" >&6; } 9870 else 9871 { echo "$as_me:$LINENO: result: no" >&5 9872echo "${ECHO_T}no" >&6; } 9873fi 9874 ;; 9875 *) --- 245 unchanged lines hidden (view full) --- 10121 10122rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10123 conftest$ac_exeext conftest.$ac_ext 10124LIBS=$ac_check_lib_save_LIBS 10125fi 10126{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 10127echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } 10128if test $ac_cv_lib_dld_shl_load = yes; then |
9554 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" | 10129 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
9555else 9556 { echo "$as_me:$LINENO: checking for dlopen" >&5 9557echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } 9558if test "${ac_cv_func_dlopen+set}" = set; then 9559 echo $ECHO_N "(cached) $ECHO_C" >&6 9560else 9561 cat >conftest.$ac_ext <<_ACEOF 9562/* confdefs.h. */ --- 259 unchanged lines hidden (view full) --- 9822 9823rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9824 conftest$ac_exeext conftest.$ac_ext 9825LIBS=$ac_check_lib_save_LIBS 9826fi 9827{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 9828echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } 9829if test $ac_cv_lib_dld_dld_link = yes; then | 10130else 10131 { echo "$as_me:$LINENO: checking for dlopen" >&5 10132echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } 10133if test "${ac_cv_func_dlopen+set}" = set; then 10134 echo $ECHO_N "(cached) $ECHO_C" >&6 10135else 10136 cat >conftest.$ac_ext <<_ACEOF 10137/* confdefs.h. */ --- 259 unchanged lines hidden (view full) --- 10397 10398rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10399 conftest$ac_exeext conftest.$ac_ext 10400LIBS=$ac_check_lib_save_LIBS 10401fi 10402{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 10403echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } 10404if test $ac_cv_lib_dld_dld_link = yes; then |
9830 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" | 10405 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
9831fi 9832 9833 9834fi 9835 9836 9837fi 9838 --- 16 unchanged lines hidden (view full) --- 9855 fi 9856 9857 case $lt_cv_dlopen in 9858 dlopen) 9859 save_CPPFLAGS="$CPPFLAGS" 9860 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 9861 9862 save_LDFLAGS="$LDFLAGS" | 10406fi 10407 10408 10409fi 10410 10411 10412fi 10413 --- 16 unchanged lines hidden (view full) --- 10430 fi 10431 10432 case $lt_cv_dlopen in 10433 dlopen) 10434 save_CPPFLAGS="$CPPFLAGS" 10435 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 10436 10437 save_LDFLAGS="$LDFLAGS" |
9863 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | 10438 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
9864 9865 save_LIBS="$LIBS" 9866 LIBS="$lt_cv_dlopen_libs $LIBS" 9867 9868 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 9869echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } 9870if test "${lt_cv_dlopen_self+set}" = set; then 9871 echo $ECHO_N "(cached) $ECHO_C" >&6 9872else 9873 if test "$cross_compiling" = yes; then : 9874 lt_cv_dlopen_self=cross 9875else 9876 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 9877 lt_status=$lt_dlunknown 9878 cat > conftest.$ac_ext <<EOF | 10439 10440 save_LIBS="$LIBS" 10441 LIBS="$lt_cv_dlopen_libs $LIBS" 10442 10443 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 10444echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } 10445if test "${lt_cv_dlopen_self+set}" = set; then 10446 echo $ECHO_N "(cached) $ECHO_C" >&6 10447else 10448 if test "$cross_compiling" = yes; then : 10449 lt_cv_dlopen_self=cross 10450else 10451 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10452 lt_status=$lt_dlunknown 10453 cat > conftest.$ac_ext <<EOF |
9879#line 9879 "configure" | 10454#line 10454 "configure" |
9880#include "confdefs.h" 9881 9882#if HAVE_DLFCN_H 9883#include <dlfcn.h> 9884#endif 9885 9886#include <stdio.h> 9887 --- 40 unchanged lines hidden (view full) --- 9928 int status = $lt_dlunknown; 9929 9930 if (self) 9931 { 9932 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 9933 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 9934 /* dlclose (self); */ 9935 } | 10455#include "confdefs.h" 10456 10457#if HAVE_DLFCN_H 10458#include <dlfcn.h> 10459#endif 10460 10461#include <stdio.h> 10462 --- 40 unchanged lines hidden (view full) --- 10503 int status = $lt_dlunknown; 10504 10505 if (self) 10506 { 10507 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10508 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10509 /* dlclose (self); */ 10510 } |
10511 else 10512 puts (dlerror ()); |
|
9936 9937 exit (status); 9938} 9939EOF 9940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9941 (eval $ac_link) 2>&5 9942 ac_status=$? 9943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9944 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 10513 10514 exit (status); 10515} 10516EOF 10517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10518 (eval $ac_link) 2>&5 10519 ac_status=$? 10520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10521 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
9945 (./conftest; exit; ) 2>/dev/null | 10522 (./conftest; exit; ) >&5 2>/dev/null |
9946 lt_status=$? 9947 case x$lt_status in 9948 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 9949 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | 10523 lt_status=$? 10524 case x$lt_status in 10525 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 10526 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
9950 x$lt_unknown|x*) lt_cv_dlopen_self=no ;; | 10527 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
9951 esac 9952 else : 9953 # compilation failed 9954 lt_cv_dlopen_self=no 9955 fi 9956fi 9957rm -fr conftest* 9958 9959 9960fi 9961{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 9962echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } 9963 9964 if test "x$lt_cv_dlopen_self" = xyes; then | 10528 esac 10529 else : 10530 # compilation failed 10531 lt_cv_dlopen_self=no 10532 fi 10533fi 10534rm -fr conftest* 10535 10536 10537fi 10538{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 10539echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } 10540 10541 if test "x$lt_cv_dlopen_self" = xyes; then |
9965 LDFLAGS="$LDFLAGS $link_static_flag" | 10542 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
9966 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 9967echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } 9968if test "${lt_cv_dlopen_self_static+set}" = set; then 9969 echo $ECHO_N "(cached) $ECHO_C" >&6 9970else 9971 if test "$cross_compiling" = yes; then : 9972 lt_cv_dlopen_self_static=cross 9973else 9974 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 9975 lt_status=$lt_dlunknown 9976 cat > conftest.$ac_ext <<EOF | 10543 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 10544echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } 10545if test "${lt_cv_dlopen_self_static+set}" = set; then 10546 echo $ECHO_N "(cached) $ECHO_C" >&6 10547else 10548 if test "$cross_compiling" = yes; then : 10549 lt_cv_dlopen_self_static=cross 10550else 10551 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10552 lt_status=$lt_dlunknown 10553 cat > conftest.$ac_ext <<EOF |
9977#line 9977 "configure" | 10554#line 10554 "configure" |
9978#include "confdefs.h" 9979 9980#if HAVE_DLFCN_H 9981#include <dlfcn.h> 9982#endif 9983 9984#include <stdio.h> 9985 --- 40 unchanged lines hidden (view full) --- 10026 int status = $lt_dlunknown; 10027 10028 if (self) 10029 { 10030 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10031 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10032 /* dlclose (self); */ 10033 } | 10555#include "confdefs.h" 10556 10557#if HAVE_DLFCN_H 10558#include <dlfcn.h> 10559#endif 10560 10561#include <stdio.h> 10562 --- 40 unchanged lines hidden (view full) --- 10603 int status = $lt_dlunknown; 10604 10605 if (self) 10606 { 10607 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10608 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10609 /* dlclose (self); */ 10610 } |
10611 else 10612 puts (dlerror ()); |
|
10034 10035 exit (status); 10036} 10037EOF 10038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10039 (eval $ac_link) 2>&5 10040 ac_status=$? 10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10042 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 10613 10614 exit (status); 10615} 10616EOF 10617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10618 (eval $ac_link) 2>&5 10619 ac_status=$? 10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10621 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
10043 (./conftest; exit; ) 2>/dev/null | 10622 (./conftest; exit; ) >&5 2>/dev/null |
10044 lt_status=$? 10045 case x$lt_status in 10046 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 10047 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | 10623 lt_status=$? 10624 case x$lt_status in 10625 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 10626 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
10048 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; | 10627 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
10049 esac 10050 else : 10051 # compilation failed 10052 lt_cv_dlopen_self_static=no 10053 fi 10054fi 10055rm -fr conftest* 10056 --- 16 unchanged lines hidden (view full) --- 10073 10074 case $lt_cv_dlopen_self_static in 10075 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 10076 *) enable_dlopen_self_static=unknown ;; 10077 esac 10078fi 10079 10080 | 10628 esac 10629 else : 10630 # compilation failed 10631 lt_cv_dlopen_self_static=no 10632 fi 10633fi 10634rm -fr conftest* 10635 --- 16 unchanged lines hidden (view full) --- 10652 10653 case $lt_cv_dlopen_self_static in 10654 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 10655 *) enable_dlopen_self_static=unknown ;; 10656 esac 10657fi 10658 10659 |
10081# Report which librarie types wil actually be built | 10660# Report which library types will actually be built |
10082{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 10083echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } 10084{ echo "$as_me:$LINENO: result: $can_build_shared" >&5 10085echo "${ECHO_T}$can_build_shared" >&6; } 10086 10087{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 10088echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } 10089test "$can_build_shared" = "no" && enable_shared=no 10090 10091# On AIX, shared libraries and static libraries use the same namespace, and 10092# are all built from PIC. | 10661{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 10662echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } 10663{ echo "$as_me:$LINENO: result: $can_build_shared" >&5 10664echo "${ECHO_T}$can_build_shared" >&6; } 10665 10666{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 10667echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } 10668test "$can_build_shared" = "no" && enable_shared=no 10669 10670# On AIX, shared libraries and static libraries use the same namespace, and 10671# are all built from PIC. |
10093case "$host_os" in | 10672case $host_os in |
10094aix3*) 10095 test "$enable_shared" = yes && enable_static=no 10096 if test -n "$RANLIB"; then 10097 archive_cmds="$archive_cmds~\$RANLIB \$lib" 10098 postinstall_cmds='$RANLIB $lib' 10099 fi 10100 ;; 10101 | 10673aix3*) 10674 test "$enable_shared" = yes && enable_static=no 10675 if test -n "$RANLIB"; then 10676 archive_cmds="$archive_cmds~\$RANLIB \$lib" 10677 postinstall_cmds='$RANLIB $lib' 10678 fi 10679 ;; 10680 |
10102aix4* | aix5*) | 10681aix[4-9]*) |
10103 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 10104 test "$enable_shared" = yes && enable_static=no 10105 fi 10106 ;; 10107esac 10108{ echo "$as_me:$LINENO: result: $enable_shared" >&5 10109echo "${ECHO_T}$enable_shared" >&6; } 10110 --- 12 unchanged lines hidden (view full) --- 10123 # See if we are running on zsh, and set the options which allow our commands through 10124 # without removal of \ escapes. 10125 if test -n "${ZSH_VERSION+set}" ; then 10126 setopt NO_GLOB_SUBST 10127 fi 10128 # Now quote all the things that may contain metacharacters while being 10129 # careful not to overquote the AC_SUBSTed values. We take copies of the 10130 # variables and quote the copies for generation of the libtool script. | 10682 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 10683 test "$enable_shared" = yes && enable_static=no 10684 fi 10685 ;; 10686esac 10687{ echo "$as_me:$LINENO: result: $enable_shared" >&5 10688echo "${ECHO_T}$enable_shared" >&6; } 10689 --- 12 unchanged lines hidden (view full) --- 10702 # See if we are running on zsh, and set the options which allow our commands through 10703 # without removal of \ escapes. 10704 if test -n "${ZSH_VERSION+set}" ; then 10705 setopt NO_GLOB_SUBST 10706 fi 10707 # Now quote all the things that may contain metacharacters while being 10708 # careful not to overquote the AC_SUBSTed values. We take copies of the 10709 # variables and quote the copies for generation of the libtool script. |
10131 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ | 10710 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
10132 SED SHELL STRIP \ 10133 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 10134 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 10135 deplibs_check_method reload_flag reload_cmds need_locks \ 10136 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 10137 lt_cv_sys_global_symbol_to_c_name_address \ 10138 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 10139 old_postinstall_cmds old_postuninstall_cmds \ --- 10 unchanged lines hidden (view full) --- 10150 enable_shared_with_static_runtimes \ 10151 old_archive_cmds \ 10152 old_archive_from_new_cmds \ 10153 predep_objects \ 10154 postdep_objects \ 10155 predeps \ 10156 postdeps \ 10157 compiler_lib_search_path \ | 10711 SED SHELL STRIP \ 10712 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 10713 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 10714 deplibs_check_method reload_flag reload_cmds need_locks \ 10715 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 10716 lt_cv_sys_global_symbol_to_c_name_address \ 10717 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 10718 old_postinstall_cmds old_postuninstall_cmds \ --- 10 unchanged lines hidden (view full) --- 10729 enable_shared_with_static_runtimes \ 10730 old_archive_cmds \ 10731 old_archive_from_new_cmds \ 10732 predep_objects \ 10733 postdep_objects \ 10734 predeps \ 10735 postdeps \ 10736 compiler_lib_search_path \ |
10737 compiler_lib_search_dirs \ |
|
10158 archive_cmds \ 10159 archive_expsym_cmds \ 10160 postinstall_cmds \ 10161 postuninstall_cmds \ 10162 old_archive_from_expsyms_cmds \ 10163 allow_undefined_flag \ 10164 no_undefined_flag \ 10165 export_symbols_cmds \ 10166 hardcode_libdir_flag_spec \ 10167 hardcode_libdir_flag_spec_ld \ 10168 hardcode_libdir_separator \ 10169 hardcode_automatic \ 10170 module_cmds \ 10171 module_expsym_cmds \ 10172 lt_cv_prog_compiler_c_o \ | 10738 archive_cmds \ 10739 archive_expsym_cmds \ 10740 postinstall_cmds \ 10741 postuninstall_cmds \ 10742 old_archive_from_expsyms_cmds \ 10743 allow_undefined_flag \ 10744 no_undefined_flag \ 10745 export_symbols_cmds \ 10746 hardcode_libdir_flag_spec \ 10747 hardcode_libdir_flag_spec_ld \ 10748 hardcode_libdir_separator \ 10749 hardcode_automatic \ 10750 module_cmds \ 10751 module_expsym_cmds \ 10752 lt_cv_prog_compiler_c_o \ |
10753 fix_srcfile_path \ |
|
10173 exclude_expsyms \ 10174 include_expsyms; do 10175 10176 case $var in 10177 old_archive_cmds | \ 10178 old_archive_from_new_cmds | \ 10179 archive_cmds | \ 10180 archive_expsym_cmds | \ --- 28 unchanged lines hidden (view full) --- 10209 10210 cat <<__EOF__ >> "$cfgfile" 10211#! $SHELL 10212 10213# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 10214# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) 10215# NOTE: Changes made to this file will be lost: look at ltmain.sh. 10216# | 10754 exclude_expsyms \ 10755 include_expsyms; do 10756 10757 case $var in 10758 old_archive_cmds | \ 10759 old_archive_from_new_cmds | \ 10760 archive_cmds | \ 10761 archive_expsym_cmds | \ --- 28 unchanged lines hidden (view full) --- 10790 10791 cat <<__EOF__ >> "$cfgfile" 10792#! $SHELL 10793 10794# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 10795# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) 10796# NOTE: Changes made to this file will be lost: look at ltmain.sh. 10797# |
10217# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 | 10798# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
10218# Free Software Foundation, Inc. 10219# 10220# This file is part of GNU Libtool: 10221# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 10222# 10223# This program is free software; you can redistribute it and/or modify 10224# it under the terms of the GNU General Public License as published by 10225# the Free Software Foundation; either version 2 of the License, or --- 63 unchanged lines hidden (view full) --- 10289 10290# The archiver. 10291AR=$lt_AR 10292AR_FLAGS=$lt_AR_FLAGS 10293 10294# A C compiler. 10295LTCC=$lt_LTCC 10296 | 10799# Free Software Foundation, Inc. 10800# 10801# This file is part of GNU Libtool: 10802# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 10803# 10804# This program is free software; you can redistribute it and/or modify 10805# it under the terms of the GNU General Public License as published by 10806# the Free Software Foundation; either version 2 of the License, or --- 63 unchanged lines hidden (view full) --- 10870 10871# The archiver. 10872AR=$lt_AR 10873AR_FLAGS=$lt_AR_FLAGS 10874 10875# A C compiler. 10876LTCC=$lt_LTCC 10877 |
10878# LTCC compiler flags. 10879LTCFLAGS=$lt_LTCFLAGS 10880 |
|
10297# A language-specific compiler. 10298CC=$lt_compiler 10299 10300# Is the compiler the GNU C compiler? 10301with_gcc=$GCC 10302 10303# An ERE matcher. 10304EGREP=$lt_EGREP --- 137 unchanged lines hidden (view full) --- 10442# Dependencies to place before the objects being linked to create a 10443# shared library. 10444predeps=$lt_predeps 10445 10446# Dependencies to place after the objects being linked to create a 10447# shared library. 10448postdeps=$lt_postdeps 10449 | 10881# A language-specific compiler. 10882CC=$lt_compiler 10883 10884# Is the compiler the GNU C compiler? 10885with_gcc=$GCC 10886 10887# An ERE matcher. 10888EGREP=$lt_EGREP --- 137 unchanged lines hidden (view full) --- 11026# Dependencies to place before the objects being linked to create a 11027# shared library. 11028predeps=$lt_predeps 11029 11030# Dependencies to place after the objects being linked to create a 11031# shared library. 11032postdeps=$lt_postdeps 11033 |
11034# The directories searched by this compiler when creating a shared 11035# library 11036compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 11037 |
|
10450# The library search path used internally by the compiler when linking 10451# a shared library. 10452compiler_lib_search_path=$lt_compiler_lib_search_path 10453 10454# Method to check whether dependent libraries are shared objects. 10455deplibs_check_method=$lt_deplibs_check_method 10456 10457# Command to use when deplibs_check_method == file_magic. --- 72 unchanged lines hidden (view full) --- 10530 10531# Compile-time system search path for libraries 10532sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 10533 10534# Run-time system search path for libraries 10535sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 10536 10537# Fix the shell variable \$srcfile for the compiler. | 11038# The library search path used internally by the compiler when linking 11039# a shared library. 11040compiler_lib_search_path=$lt_compiler_lib_search_path 11041 11042# Method to check whether dependent libraries are shared objects. 11043deplibs_check_method=$lt_deplibs_check_method 11044 11045# Command to use when deplibs_check_method == file_magic. --- 72 unchanged lines hidden (view full) --- 11118 11119# Compile-time system search path for libraries 11120sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 11121 11122# Run-time system search path for libraries 11123sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 11124 11125# Fix the shell variable \$srcfile for the compiler. |
10538fix_srcfile_path="$fix_srcfile_path" | 11126fix_srcfile_path=$lt_fix_srcfile_path |
10539 10540# Set to yes if exported symbols are required. 10541always_export_symbols=$always_export_symbols 10542 10543# The commands to list exported symbols. 10544export_symbols_cmds=$lt_export_symbols_cmds 10545 10546# The commands to extract the exported symbol list from a shared archive. --- 72 unchanged lines hidden (view full) --- 10619 if test -z "$LTCC"; then 10620 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 10621echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} 10622 else 10623 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 10624echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} 10625 fi 10626 fi | 11127 11128# Set to yes if exported symbols are required. 11129always_export_symbols=$always_export_symbols 11130 11131# The commands to list exported symbols. 11132export_symbols_cmds=$lt_export_symbols_cmds 11133 11134# The commands to extract the exported symbol list from a shared archive. --- 72 unchanged lines hidden (view full) --- 11207 if test -z "$LTCC"; then 11208 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 11209echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} 11210 else 11211 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 11212echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} 11213 fi 11214 fi |
11215 if test -z "$LTCFLAGS"; then 11216 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" 11217 fi |
|
10627 10628 # Extract list of available tagged configurations in $ofile. 10629 # Note that this assumes the entire list is on one line. 10630 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` 10631 10632 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 10633 for tagname in $tagnames; do 10634 IFS="$lt_save_ifs" --- 36 unchanged lines hidden (view full) --- 10671always_export_symbols_CXX=no 10672archive_expsym_cmds_CXX= 10673export_dynamic_flag_spec_CXX= 10674hardcode_direct_CXX=no 10675hardcode_libdir_flag_spec_CXX= 10676hardcode_libdir_flag_spec_ld_CXX= 10677hardcode_libdir_separator_CXX= 10678hardcode_minus_L_CXX=no | 11218 11219 # Extract list of available tagged configurations in $ofile. 11220 # Note that this assumes the entire list is on one line. 11221 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` 11222 11223 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 11224 for tagname in $tagnames; do 11225 IFS="$lt_save_ifs" --- 36 unchanged lines hidden (view full) --- 11262always_export_symbols_CXX=no 11263archive_expsym_cmds_CXX= 11264export_dynamic_flag_spec_CXX= 11265hardcode_direct_CXX=no 11266hardcode_libdir_flag_spec_CXX= 11267hardcode_libdir_flag_spec_ld_CXX= 11268hardcode_libdir_separator_CXX= 11269hardcode_minus_L_CXX=no |
11270hardcode_shlibpath_var_CXX=unsupported |
|
10679hardcode_automatic_CXX=no 10680module_cmds_CXX= 10681module_expsym_cmds_CXX= 10682link_all_deplibs_CXX=unknown 10683old_archive_cmds_CXX=$old_archive_cmds 10684no_undefined_flag_CXX= 10685whole_archive_flag_spec_CXX= 10686enable_shared_with_static_runtimes_CXX=no 10687 10688# Dependencies to place before and after the object being linked: 10689predep_objects_CXX= 10690postdep_objects_CXX= 10691predeps_CXX= 10692postdeps_CXX= 10693compiler_lib_search_path_CXX= | 11271hardcode_automatic_CXX=no 11272module_cmds_CXX= 11273module_expsym_cmds_CXX= 11274link_all_deplibs_CXX=unknown 11275old_archive_cmds_CXX=$old_archive_cmds 11276no_undefined_flag_CXX= 11277whole_archive_flag_spec_CXX= 11278enable_shared_with_static_runtimes_CXX=no 11279 11280# Dependencies to place before and after the object being linked: 11281predep_objects_CXX= 11282postdep_objects_CXX= 11283predeps_CXX= 11284postdeps_CXX= 11285compiler_lib_search_path_CXX= |
11286compiler_lib_search_dirs_CXX= |
|
10694 10695# Source file extension for C++ test sources. | 11287 11288# Source file extension for C++ test sources. |
10696ac_ext=cc | 11289ac_ext=cpp |
10697 10698# Object file extension for compiled C++ test sources. 10699objext=o 10700objext_CXX=$objext 10701 10702# Code to be used in simple compile tests | 11290 11291# Object file extension for compiled C++ test sources. 11292objext=o 11293objext_CXX=$objext 11294 11295# Code to be used in simple compile tests |
10703lt_simple_compile_test_code="int some_variable = 0;\n" | 11296lt_simple_compile_test_code="int some_variable = 0;" |
10704 10705# Code to be used in simple link tests | 11297 11298# Code to be used in simple link tests |
10706lt_simple_link_test_code='int main(int, char *) { return(0); }\n' | 11299lt_simple_link_test_code='int main(int, char *[]) { return(0); }' |
10707 10708# ltmain only uses $CC for tagged configurations so make sure $CC is set. 10709 10710# If no C compiler was specified, use CC. 10711LTCC=${LTCC-"$CC"} 10712 | 11300 11301# ltmain only uses $CC for tagged configurations so make sure $CC is set. 11302 11303# If no C compiler was specified, use CC. 11304LTCC=${LTCC-"$CC"} 11305 |
11306# If no C compiler flags were specified, use CFLAGS. 11307LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 11308 |
|
10713# Allow CC to be a program name with arguments. 10714compiler=$CC 10715 10716 10717# save warnings/boilerplate of simple test code 10718ac_outfile=conftest.$ac_objext | 11309# Allow CC to be a program name with arguments. 11310compiler=$CC 11311 11312 11313# save warnings/boilerplate of simple test code 11314ac_outfile=conftest.$ac_objext |
10719printf "$lt_simple_compile_test_code" >conftest.$ac_ext 10720eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err | 11315echo "$lt_simple_compile_test_code" >conftest.$ac_ext 11316eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
10721_lt_compiler_boilerplate=`cat conftest.err` 10722$rm conftest* 10723 10724ac_outfile=conftest.$ac_objext | 11317_lt_compiler_boilerplate=`cat conftest.err` 11318$rm conftest* 11319 11320ac_outfile=conftest.$ac_objext |
10725printf "$lt_simple_link_test_code" >conftest.$ac_ext 10726eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err | 11321echo "$lt_simple_link_test_code" >conftest.$ac_ext 11322eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
10727_lt_linker_boilerplate=`cat conftest.err` | 11323_lt_linker_boilerplate=`cat conftest.err` |
10728$rm conftest* | 11324$rm -r conftest* |
10729 10730 10731# Allow CC to be a program name with arguments. 10732lt_save_CC=$CC 10733lt_save_LD=$LD 10734lt_save_GCC=$GCC 10735GCC=$GXX 10736lt_save_with_gnu_ld=$with_gnu_ld 10737lt_save_path_LD=$lt_cv_path_LD 10738if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 10739 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 10740else | 11325 11326 11327# Allow CC to be a program name with arguments. 11328lt_save_CC=$CC 11329lt_save_LD=$LD 11330lt_save_GCC=$GCC 11331GCC=$GXX 11332lt_save_with_gnu_ld=$with_gnu_ld 11333lt_save_path_LD=$lt_cv_path_LD 11334if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 11335 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 11336else |
10741 unset lt_cv_prog_gnu_ld | 11337 $as_unset lt_cv_prog_gnu_ld |
10742fi 10743if test -n "${lt_cv_path_LDCXX+set}"; then 10744 lt_cv_path_LD=$lt_cv_path_LDCXX 10745else | 11338fi 11339if test -n "${lt_cv_path_LDCXX+set}"; then 11340 lt_cv_path_LD=$lt_cv_path_LDCXX 11341else |
10746 unset lt_cv_path_LD | 11342 $as_unset lt_cv_path_LD |
10747fi 10748test -z "${LDCXX+set}" || LD=$LDCXX 10749CC=${CXX-"c++"} 10750compiler=$CC 10751compiler_CXX=$CC 10752for cc_temp in $compiler""; do 10753 case $cc_temp in 10754 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; --- 69 unchanged lines hidden (view full) --- 10824 if test -z "$LD"; then 10825 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 10826 for ac_dir in $PATH; do 10827 IFS="$lt_save_ifs" 10828 test -z "$ac_dir" && ac_dir=. 10829 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 10830 lt_cv_path_LD="$ac_dir/$ac_prog" 10831 # Check to see if the program is GNU ld. I'd rather use --version, | 11343fi 11344test -z "${LDCXX+set}" || LD=$LDCXX 11345CC=${CXX-"c++"} 11346compiler=$CC 11347compiler_CXX=$CC 11348for cc_temp in $compiler""; do 11349 case $cc_temp in 11350 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; --- 69 unchanged lines hidden (view full) --- 11420 if test -z "$LD"; then 11421 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 11422 for ac_dir in $PATH; do 11423 IFS="$lt_save_ifs" 11424 test -z "$ac_dir" && ac_dir=. 11425 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 11426 lt_cv_path_LD="$ac_dir/$ac_prog" 11427 # Check to see if the program is GNU ld. I'd rather use --version, |
10832 # but apparently some GNU ld's only accept -v. | 11428 # but apparently some variants of GNU ld only accept -v. |
10833 # Break only if it was the GNU/non-GNU ld that we prefer. 10834 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 10835 *GNU* | *'with BFD'*) 10836 test "$with_gnu_ld" != no && break 10837 ;; 10838 *) 10839 test "$with_gnu_ld" != yes && break 10840 ;; --- 17 unchanged lines hidden (view full) --- 10858test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 10859echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 10860 { (exit 1); exit 1; }; } 10861{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 10862echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } 10863if test "${lt_cv_prog_gnu_ld+set}" = set; then 10864 echo $ECHO_N "(cached) $ECHO_C" >&6 10865else | 11429 # Break only if it was the GNU/non-GNU ld that we prefer. 11430 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 11431 *GNU* | *'with BFD'*) 11432 test "$with_gnu_ld" != no && break 11433 ;; 11434 *) 11435 test "$with_gnu_ld" != yes && break 11436 ;; --- 17 unchanged lines hidden (view full) --- 11454test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 11455echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 11456 { (exit 1); exit 1; }; } 11457{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 11458echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } 11459if test "${lt_cv_prog_gnu_ld+set}" = set; then 11460 echo $ECHO_N "(cached) $ECHO_C" >&6 11461else |
10866 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 11462 # I'd rather use --version here, but apparently some GNU lds only accept -v. |
10867case `$LD -v 2>&1 </dev/null` in 10868*GNU* | *'with BFD'*) 10869 lt_cv_prog_gnu_ld=yes 10870 ;; 10871*) 10872 lt_cv_prog_gnu_ld=no 10873 ;; 10874esac --- 52 unchanged lines hidden (view full) --- 10927{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10928echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } 10929ld_shlibs_CXX=yes 10930case $host_os in 10931 aix3*) 10932 # FIXME: insert proper C++ library support 10933 ld_shlibs_CXX=no 10934 ;; | 11463case `$LD -v 2>&1 </dev/null` in 11464*GNU* | *'with BFD'*) 11465 lt_cv_prog_gnu_ld=yes 11466 ;; 11467*) 11468 lt_cv_prog_gnu_ld=no 11469 ;; 11470esac --- 52 unchanged lines hidden (view full) --- 11523{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 11524echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } 11525ld_shlibs_CXX=yes 11526case $host_os in 11527 aix3*) 11528 # FIXME: insert proper C++ library support 11529 ld_shlibs_CXX=no 11530 ;; |
10935 aix4* | aix5*) | 11531 aix[4-9]*) |
10936 if test "$host_cpu" = ia64; then 10937 # On IA64, the linker does run time linking by default, so we don't 10938 # have to do anything special. 10939 aix_use_runtimelinking=no 10940 exp_sym_flag='-Bexport' 10941 no_entry_flag="" 10942 else 10943 aix_use_runtimelinking=no 10944 10945 # Test if we are trying to use run time linking or normal 10946 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10947 # need to do runtime linking. | 11532 if test "$host_cpu" = ia64; then 11533 # On IA64, the linker does run time linking by default, so we don't 11534 # have to do anything special. 11535 aix_use_runtimelinking=no 11536 exp_sym_flag='-Bexport' 11537 no_entry_flag="" 11538 else 11539 aix_use_runtimelinking=no 11540 11541 # Test if we are trying to use run time linking or normal 11542 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 11543 # need to do runtime linking. |
10948 case $host_os in aix4.[23]|aix4.[23].*|aix5*) | 11544 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
10949 for ld_flag in $LDFLAGS; do 10950 case $ld_flag in 10951 *-brtl*) 10952 aix_use_runtimelinking=yes 10953 break 10954 ;; 10955 esac 10956 done | 11545 for ld_flag in $LDFLAGS; do 11546 case $ld_flag in 11547 *-brtl*) 11548 aix_use_runtimelinking=yes 11549 break 11550 ;; 11551 esac 11552 done |
11553 ;; |
|
10957 esac 10958 10959 exp_sym_flag='-bexport' 10960 no_entry_flag='-bnoentry' 10961 fi 10962 10963 # When large executables or shared objects are built, AIX ld can 10964 # have problems creating the table of contents. If linking a library --- 10 unchanged lines hidden (view full) --- 10975 case $host_os in aix4.[012]|aix4.[012].*) 10976 # We only want to do this on AIX 4.2 and lower, the check 10977 # below for broken collect2 doesn't work under 4.3+ 10978 collect2name=`${CC} -print-prog-name=collect2` 10979 if test -f "$collect2name" && \ 10980 strings "$collect2name" | grep resolve_lib_name >/dev/null 10981 then 10982 # We have reworked collect2 | 11554 esac 11555 11556 exp_sym_flag='-bexport' 11557 no_entry_flag='-bnoentry' 11558 fi 11559 11560 # When large executables or shared objects are built, AIX ld can 11561 # have problems creating the table of contents. If linking a library --- 10 unchanged lines hidden (view full) --- 11572 case $host_os in aix4.[012]|aix4.[012].*) 11573 # We only want to do this on AIX 4.2 and lower, the check 11574 # below for broken collect2 doesn't work under 4.3+ 11575 collect2name=`${CC} -print-prog-name=collect2` 11576 if test -f "$collect2name" && \ 11577 strings "$collect2name" | grep resolve_lib_name >/dev/null 11578 then 11579 # We have reworked collect2 |
10983 hardcode_direct_CXX=yes | 11580 : |
10984 else 10985 # We have old collect2 10986 hardcode_direct_CXX=unsupported 10987 # It fails to find uninstalled libraries when the uninstalled 10988 # path is not listed in the libpath. Setting hardcode_minus_L 10989 # to unsupported forces relinking 10990 hardcode_minus_L_CXX=yes 10991 hardcode_libdir_flag_spec_CXX='-L$libdir' 10992 hardcode_libdir_separator_CXX= 10993 fi | 11581 else 11582 # We have old collect2 11583 hardcode_direct_CXX=unsupported 11584 # It fails to find uninstalled libraries when the uninstalled 11585 # path is not listed in the libpath. Setting hardcode_minus_L 11586 # to unsupported forces relinking 11587 hardcode_minus_L_CXX=yes 11588 hardcode_libdir_flag_spec_CXX='-L$libdir' 11589 hardcode_libdir_separator_CXX= 11590 fi |
11591 ;; |
|
10994 esac 10995 shared_flag='-shared' 10996 if test "$aix_use_runtimelinking" = yes; then 10997 shared_flag="$shared_flag "'${wl}-G' 10998 fi 10999 else 11000 # not using gcc 11001 if test "$host_cpu" = ia64; then --- 46 unchanged lines hidden (view full) --- 11048 cat conftest.err >&5 11049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11050 (exit $ac_status); } && { 11051 test -z "$ac_cxx_werror_flag" || 11052 test ! -s conftest.err 11053 } && test -s conftest$ac_exeext && 11054 $as_test_x conftest$ac_exeext; then 11055 | 11592 esac 11593 shared_flag='-shared' 11594 if test "$aix_use_runtimelinking" = yes; then 11595 shared_flag="$shared_flag "'${wl}-G' 11596 fi 11597 else 11598 # not using gcc 11599 if test "$host_cpu" = ia64; then --- 46 unchanged lines hidden (view full) --- 11646 cat conftest.err >&5 11647 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11648 (exit $ac_status); } && { 11649 test -z "$ac_cxx_werror_flag" || 11650 test ! -s conftest.err 11651 } && test -s conftest$ac_exeext && 11652 $as_test_x conftest$ac_exeext; then 11653 |
11056aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 11057}'` | 11654lt_aix_libpath_sed=' 11655 /Import File Strings/,/^$/ { 11656 /^0/ { 11657 s/^0 *\(.*\)$/\1/ 11658 p 11659 } 11660 }' 11661aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
11058# Check for a 64-bit object if we didn't find anything. | 11662# Check for a 64-bit object if we didn't find anything. |
11059if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 11060}'`; fi | 11663if test -z "$aix_libpath"; then 11664 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11665fi |
11061else 11062 echo "$as_me: failed program was:" >&5 11063sed 's/^/| /' conftest.$ac_ext >&5 11064 11065 11066fi 11067 11068rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11069 conftest$ac_exeext conftest.$ac_ext 11070if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 11071 11072 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 11073 | 11666else 11667 echo "$as_me: failed program was:" >&5 11668sed 's/^/| /' conftest.$ac_ext >&5 11669 11670 11671fi 11672 11673rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11674 conftest$ac_exeext conftest.$ac_ext 11675if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 11676 11677 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 11678 |
11074 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" | 11679 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" |
11075 else 11076 if test "$host_cpu" = ia64; then 11077 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' 11078 allow_undefined_flag_CXX="-z nodefs" | 11680 else 11681 if test "$host_cpu" = ia64; then 11682 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' 11683 allow_undefined_flag_CXX="-z nodefs" |
11079 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" | 11684 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" |
11080 else 11081 # Determine the default libpath from the value encoded in an empty executable. 11082 cat >conftest.$ac_ext <<_ACEOF 11083/* confdefs.h. */ 11084_ACEOF 11085cat confdefs.h >>conftest.$ac_ext 11086cat >>conftest.$ac_ext <<_ACEOF 11087/* end confdefs.h. */ --- 20 unchanged lines hidden (view full) --- 11108 cat conftest.err >&5 11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11110 (exit $ac_status); } && { 11111 test -z "$ac_cxx_werror_flag" || 11112 test ! -s conftest.err 11113 } && test -s conftest$ac_exeext && 11114 $as_test_x conftest$ac_exeext; then 11115 | 11685 else 11686 # Determine the default libpath from the value encoded in an empty executable. 11687 cat >conftest.$ac_ext <<_ACEOF 11688/* confdefs.h. */ 11689_ACEOF 11690cat confdefs.h >>conftest.$ac_ext 11691cat >>conftest.$ac_ext <<_ACEOF 11692/* end confdefs.h. */ --- 20 unchanged lines hidden (view full) --- 11713 cat conftest.err >&5 11714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11715 (exit $ac_status); } && { 11716 test -z "$ac_cxx_werror_flag" || 11717 test ! -s conftest.err 11718 } && test -s conftest$ac_exeext && 11719 $as_test_x conftest$ac_exeext; then 11720 |
11116aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 11117}'` | 11721lt_aix_libpath_sed=' 11722 /Import File Strings/,/^$/ { 11723 /^0/ { 11724 s/^0 *\(.*\)$/\1/ 11725 p 11726 } 11727 }' 11728aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
11118# Check for a 64-bit object if we didn't find anything. | 11729# Check for a 64-bit object if we didn't find anything. |
11119if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 11120}'`; fi | 11730if test -z "$aix_libpath"; then 11731 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11732fi |
11121else 11122 echo "$as_me: failed program was:" >&5 11123sed 's/^/| /' conftest.$ac_ext >&5 11124 11125 11126fi 11127 11128rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11129 conftest$ac_exeext conftest.$ac_ext 11130if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 11131 11132 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 11133 # Warning - without using the other run time loading flags, 11134 # -berok will link without error, but may produce a broken library. 11135 no_undefined_flag_CXX=' ${wl}-bernotok' 11136 allow_undefined_flag_CXX=' ${wl}-berok' | 11733else 11734 echo "$as_me: failed program was:" >&5 11735sed 's/^/| /' conftest.$ac_ext >&5 11736 11737 11738fi 11739 11740rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11741 conftest$ac_exeext conftest.$ac_ext 11742if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 11743 11744 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 11745 # Warning - without using the other run time loading flags, 11746 # -berok will link without error, but may produce a broken library. 11747 no_undefined_flag_CXX=' ${wl}-bernotok' 11748 allow_undefined_flag_CXX=' ${wl}-berok' |
11137 # -bexpall does not export symbols beginning with underscore (_) 11138 always_export_symbols_CXX=yes | |
11139 # Exported symbols can be pulled into shared objects from archives | 11749 # Exported symbols can be pulled into shared objects from archives |
11140 whole_archive_flag_spec_CXX=' ' | 11750 whole_archive_flag_spec_CXX='$convenience' |
11141 archive_cmds_need_lc_CXX=yes | 11751 archive_cmds_need_lc_CXX=yes |
11142 # This is similar to how AIX traditionally builds it's shared libraries. 11143 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' | 11752 # This is similar to how AIX traditionally builds its shared libraries. 11753 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' |
11144 fi 11145 fi 11146 ;; | 11754 fi 11755 fi 11756 ;; |
11757 11758 beos*) 11759 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 11760 allow_undefined_flag_CXX=unsupported 11761 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 11762 # support --undefined. This deserves some investigation. FIXME 11763 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 11764 else 11765 ld_shlibs_CXX=no 11766 fi 11767 ;; 11768 |
|
11147 chorus*) 11148 case $cc_basename in 11149 *) 11150 # FIXME: insert proper C++ library support 11151 ld_shlibs_CXX=no 11152 ;; 11153 esac 11154 ;; 11155 | 11769 chorus*) 11770 case $cc_basename in 11771 *) 11772 # FIXME: insert proper C++ library support 11773 ld_shlibs_CXX=no 11774 ;; 11775 esac 11776 ;; 11777 |
11156 | |
11157 cygwin* | mingw* | pw32*) 11158 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 11159 # as there is no search path for DLLs. 11160 hardcode_libdir_flag_spec_CXX='-L$libdir' 11161 allow_undefined_flag_CXX=unsupported 11162 always_export_symbols_CXX=no 11163 enable_shared_with_static_runtimes_CXX=yes 11164 11165 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 11778 cygwin* | mingw* | pw32*) 11779 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 11780 # as there is no search path for DLLs. 11781 hardcode_libdir_flag_spec_CXX='-L$libdir' 11782 allow_undefined_flag_CXX=unsupported 11783 always_export_symbols_CXX=no 11784 enable_shared_with_static_runtimes_CXX=yes 11785 11786 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
11166 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' | 11787 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' |
11167 # If the export-symbols file already is a .def file (1st line 11168 # is EXPORTS), use it as is; otherwise, prepend... 11169 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 11170 cp $export_symbols $output_objdir/$soname.def; 11171 else 11172 echo EXPORTS > $output_objdir/$soname.def; 11173 cat $export_symbols >> $output_objdir/$soname.def; 11174 fi~ | 11788 # If the export-symbols file already is a .def file (1st line 11789 # is EXPORTS), use it as is; otherwise, prepend... 11790 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 11791 cp $export_symbols $output_objdir/$soname.def; 11792 else 11793 echo EXPORTS > $output_objdir/$soname.def; 11794 cat $export_symbols >> $output_objdir/$soname.def; 11795 fi~ |
11175 $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' | 11796 $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' |
11176 else 11177 ld_shlibs_CXX=no 11178 fi 11179 ;; 11180 darwin* | rhapsody*) | 11797 else 11798 ld_shlibs_CXX=no 11799 fi 11800 ;; 11801 darwin* | rhapsody*) |
11181 case "$host_os" in 11182 rhapsody* | darwin1.[012]) 11183 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' 11184 ;; 11185 *) # Darwin 1.3 on 11186 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 11187 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 11188 else 11189 case ${MACOSX_DEPLOYMENT_TARGET} in 11190 10.[012]) 11191 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 11192 ;; 11193 10.*) 11194 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' 11195 ;; 11196 esac 11197 fi 11198 ;; 11199 esac | |
11200 archive_cmds_need_lc_CXX=no 11201 hardcode_direct_CXX=no 11202 hardcode_automatic_CXX=yes 11203 hardcode_shlibpath_var_CXX=unsupported 11204 whole_archive_flag_spec_CXX='' 11205 link_all_deplibs_CXX=yes | 11802 archive_cmds_need_lc_CXX=no 11803 hardcode_direct_CXX=no 11804 hardcode_automatic_CXX=yes 11805 hardcode_shlibpath_var_CXX=unsupported 11806 whole_archive_flag_spec_CXX='' 11807 link_all_deplibs_CXX=yes |
11206 11207 if test "$GXX" = yes ; then 11208 lt_int_apple_cc_single_mod=no | 11808 allow_undefined_flag_CXX="$_lt_dar_allow_undefined" 11809 if test "$GXX" = yes ; then |
11209 output_verbose_link_cmd='echo' | 11810 output_verbose_link_cmd='echo' |
11210 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then 11211 lt_int_apple_cc_single_mod=yes | 11811 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 11812 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 11813 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 11814 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 11815 if test "$lt_cv_apple_cc_single_mod" != "yes"; then 11816 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" 11817 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" |
11212 fi | 11818 fi |
11213 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 11214 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | |
11215 else | 11819 else |
11216 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 11217 fi 11218 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 11219 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 11220 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 11221 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 11222 else 11223 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 11224 fi 11225 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 11226 else | |
11227 case $cc_basename in 11228 xlc*) 11229 output_verbose_link_cmd='echo' | 11820 case $cc_basename in 11821 xlc*) 11822 output_verbose_link_cmd='echo' |
11230 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' | 11823 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' |
11231 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' | 11824 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
11232 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 11233 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 11825 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 11826 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
11234 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 11235 ;; 11236 *) 11237 ld_shlibs_CXX=no 11238 ;; 11239 esac 11240 fi 11241 ;; --- 17 unchanged lines hidden (view full) --- 11259 ;; 11260 freebsd[12]*) 11261 # C++ shared libraries reported to be fairly broken before switch to ELF 11262 ld_shlibs_CXX=no 11263 ;; 11264 freebsd-elf*) 11265 archive_cmds_need_lc_CXX=no 11266 ;; | 11827 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 11828 ;; 11829 *) 11830 ld_shlibs_CXX=no 11831 ;; 11832 esac 11833 fi 11834 ;; --- 17 unchanged lines hidden (view full) --- 11852 ;; 11853 freebsd[12]*) 11854 # C++ shared libraries reported to be fairly broken before switch to ELF 11855 ld_shlibs_CXX=no 11856 ;; 11857 freebsd-elf*) 11858 archive_cmds_need_lc_CXX=no 11859 ;; |
11267 freebsd* | kfreebsd*-gnu | dragonfly*) | 11860 freebsd* | dragonfly*) |
11268 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 11269 # conventions 11270 ld_shlibs_CXX=yes 11271 ;; 11272 gnu*) 11273 ;; 11274 hpux9*) 11275 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' --- 28 unchanged lines hidden (view full) --- 11304 # FIXME: insert proper C++ library support 11305 ld_shlibs_CXX=no 11306 fi 11307 ;; 11308 esac 11309 ;; 11310 hpux10*|hpux11*) 11311 if test $with_gnu_ld = no; then | 11861 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 11862 # conventions 11863 ld_shlibs_CXX=yes 11864 ;; 11865 gnu*) 11866 ;; 11867 hpux9*) 11868 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' --- 28 unchanged lines hidden (view full) --- 11897 # FIXME: insert proper C++ library support 11898 ld_shlibs_CXX=no 11899 fi 11900 ;; 11901 esac 11902 ;; 11903 hpux10*|hpux11*) 11904 if test $with_gnu_ld = no; then |
11312 case "$host_cpu" in 11313 hppa*64*) 11314 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 11315 hardcode_libdir_flag_spec_ld_CXX='+b $libdir' 11316 hardcode_libdir_separator_CXX=: 11317 ;; 11318 ia64*) 11319 hardcode_libdir_flag_spec_CXX='-L$libdir' 11320 ;; | 11905 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 11906 hardcode_libdir_separator_CXX=: 11907 11908 case $host_cpu in 11909 hppa*64*|ia64*) ;; |
11321 *) | 11910 *) |
11322 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 11323 hardcode_libdir_separator_CXX=: | |
11324 export_dynamic_flag_spec_CXX='${wl}-E' 11325 ;; 11326 esac 11327 fi | 11911 export_dynamic_flag_spec_CXX='${wl}-E' 11912 ;; 11913 esac 11914 fi |
11328 case "$host_cpu" in 11329 hppa*64*) | 11915 case $host_cpu in 11916 hppa*64*|ia64*) |
11330 hardcode_direct_CXX=no 11331 hardcode_shlibpath_var_CXX=no 11332 ;; | 11917 hardcode_direct_CXX=no 11918 hardcode_shlibpath_var_CXX=no 11919 ;; |
11333 ia64*) 11334 hardcode_direct_CXX=no 11335 hardcode_shlibpath_var_CXX=no 11336 hardcode_minus_L_CXX=yes # Not in the search PATH, 11337 # but as the default 11338 # location of the library. 11339 ;; | |
11340 *) 11341 hardcode_direct_CXX=yes 11342 hardcode_minus_L_CXX=yes # Not in the search PATH, 11343 # but as the default 11344 # location of the library. 11345 ;; 11346 esac 11347 11348 case $cc_basename in 11349 CC*) 11350 # FIXME: insert proper C++ library support 11351 ld_shlibs_CXX=no 11352 ;; 11353 aCC*) | 11920 *) 11921 hardcode_direct_CXX=yes 11922 hardcode_minus_L_CXX=yes # Not in the search PATH, 11923 # but as the default 11924 # location of the library. 11925 ;; 11926 esac 11927 11928 case $cc_basename in 11929 CC*) 11930 # FIXME: insert proper C++ library support 11931 ld_shlibs_CXX=no 11932 ;; 11933 aCC*) |
11354 case "$host_cpu" in 11355 hppa*64*|ia64*) 11356 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' | 11934 case $host_cpu in 11935 hppa*64*) 11936 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
11357 ;; | 11937 ;; |
11938 ia64*) 11939 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 11940 ;; |
|
11358 *) 11359 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 11360 ;; 11361 esac 11362 # Commands to make compiler produce verbose output that lists 11363 # what "hidden" libraries, object files and flags are used when 11364 # linking a shared library. 11365 # 11366 # There doesn't appear to be a way to prevent this compiler from 11367 # explicitly linking system object files so we need to strip them 11368 # from the output so that they don't get included in the library 11369 # dependencies. 11370 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 11371 ;; 11372 *) 11373 if test "$GXX" = yes; then 11374 if test $with_gnu_ld = no; then | 11941 *) 11942 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 11943 ;; 11944 esac 11945 # Commands to make compiler produce verbose output that lists 11946 # what "hidden" libraries, object files and flags are used when 11947 # linking a shared library. 11948 # 11949 # There doesn't appear to be a way to prevent this compiler from 11950 # explicitly linking system object files so we need to strip them 11951 # from the output so that they don't get included in the library 11952 # dependencies. 11953 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 11954 ;; 11955 *) 11956 if test "$GXX" = yes; then 11957 if test $with_gnu_ld = no; then |
11375 case "$host_cpu" in 11376 ia64*|hppa*64*) 11377 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' | 11958 case $host_cpu in 11959 hppa*64*) 11960 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
11378 ;; | 11961 ;; |
11962 ia64*) 11963 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 11964 ;; |
|
11379 *) 11380 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' 11381 ;; 11382 esac 11383 fi 11384 else 11385 # FIXME: insert proper C++ library support 11386 ld_shlibs_CXX=no 11387 fi 11388 ;; 11389 esac 11390 ;; | 11965 *) 11966 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' 11967 ;; 11968 esac 11969 fi 11970 else 11971 # FIXME: insert proper C++ library support 11972 ld_shlibs_CXX=no 11973 fi 11974 ;; 11975 esac 11976 ;; |
11977 interix[3-9]*) 11978 hardcode_direct_CXX=no 11979 hardcode_shlibpath_var_CXX=no 11980 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 11981 export_dynamic_flag_spec_CXX='${wl}-E' 11982 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 11983 # Instead, shared libraries are loaded at an image base (0x10000000 by 11984 # default) and relocated if they conflict, which is a slow very memory 11985 # consuming and fragmenting process. To avoid this, we pick a random, 11986 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 11987 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 11988 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' 11989 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' 11990 ;; |
|
11391 irix5* | irix6*) 11392 case $cc_basename in 11393 CC*) 11394 # SGI C++ 11395 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 11396 11397 # Archives containing C++ object files must be created using 11398 # "CC -ar", where "CC" is the IRIX C++ compiler. This is --- 10 unchanged lines hidden (view full) --- 11409 fi 11410 fi 11411 link_all_deplibs_CXX=yes 11412 ;; 11413 esac 11414 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 11415 hardcode_libdir_separator_CXX=: 11416 ;; | 11991 irix5* | irix6*) 11992 case $cc_basename in 11993 CC*) 11994 # SGI C++ 11995 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 11996 11997 # Archives containing C++ object files must be created using 11998 # "CC -ar", where "CC" is the IRIX C++ compiler. This is --- 10 unchanged lines hidden (view full) --- 12009 fi 12010 fi 12011 link_all_deplibs_CXX=yes 12012 ;; 12013 esac 12014 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 12015 hardcode_libdir_separator_CXX=: 12016 ;; |
11417 linux*) | 12017 linux* | k*bsd*-gnu) |
11418 case $cc_basename in 11419 KCC*) 11420 # Kuck and Associates, Inc. (KAI) C++ Compiler 11421 11422 # KCC will only create a shared library if the output file 11423 # ends with ".so" (or ".sl" for HP-UX), so rename the library 11424 # to its proper name (with version) after linking. 11425 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' --- 35 unchanged lines hidden (view full) --- 11461 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 11462 ;; 11463 esac 11464 archive_cmds_need_lc_CXX=no 11465 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 11466 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 11467 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 11468 ;; | 12018 case $cc_basename in 12019 KCC*) 12020 # Kuck and Associates, Inc. (KAI) C++ Compiler 12021 12022 # KCC will only create a shared library if the output file 12023 # ends with ".so" (or ".sl" for HP-UX), so rename the library 12024 # to its proper name (with version) after linking. 12025 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' --- 35 unchanged lines hidden (view full) --- 12061 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 12062 ;; 12063 esac 12064 archive_cmds_need_lc_CXX=no 12065 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12066 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12067 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 12068 ;; |
11469 pgCC*) | 12069 pgCC* | pgcpp*) |
11470 # Portland Group C++ compiler 11471 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 11472 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 11473 11474 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 11475 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | 12070 # Portland Group C++ compiler 12071 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 12072 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 12073 12074 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 12075 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
11476 whole_archive_flag_spec_CXX='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' | 12076 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
11477 ;; 11478 cxx*) 11479 # Compaq C++ 11480 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 11481 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' 11482 11483 runpath_var=LD_RUN_PATH 11484 hardcode_libdir_flag_spec_CXX='-rpath $libdir' --- 4 unchanged lines hidden (view full) --- 11489 # linking a shared library. 11490 # 11491 # There doesn't appear to be a way to prevent this compiler from 11492 # explicitly linking system object files so we need to strip them 11493 # from the output so that they don't get included in the library 11494 # dependencies. 11495 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 11496 ;; | 12077 ;; 12078 cxx*) 12079 # Compaq C++ 12080 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 12081 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' 12082 12083 runpath_var=LD_RUN_PATH 12084 hardcode_libdir_flag_spec_CXX='-rpath $libdir' --- 4 unchanged lines hidden (view full) --- 12089 # linking a shared library. 12090 # 12091 # There doesn't appear to be a way to prevent this compiler from 12092 # explicitly linking system object files so we need to strip them 12093 # from the output so that they don't get included in the library 12094 # dependencies. 12095 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 12096 ;; |
12097 *) 12098 case `$CC -V 2>&1 | sed 5q` in 12099 *Sun\ C*) 12100 # Sun C++ 5.9 12101 no_undefined_flag_CXX=' -zdefs' 12102 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12103 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' 12104 hardcode_libdir_flag_spec_CXX='-R$libdir' 12105 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 12106 12107 # Not sure whether something based on 12108 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 12109 # would be better. 12110 output_verbose_link_cmd='echo' 12111 12112 # Archives containing C++ object files must be created using 12113 # "CC -xar", where "CC" is the Sun C++ compiler. This is 12114 # necessary to make sure instantiated templates are included 12115 # in the archive. 12116 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 12117 ;; 12118 esac 12119 ;; |
|
11497 esac 11498 ;; 11499 lynxos*) 11500 # FIXME: insert proper C++ library support 11501 ld_shlibs_CXX=no 11502 ;; 11503 m88k*) 11504 # FIXME: insert proper C++ library support --- 22 unchanged lines hidden (view full) --- 11527 # Workaround some broken pre-1.5 toolchains 11528 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 11529 ;; 11530 openbsd2*) 11531 # C++ shared libraries are fairly broken 11532 ld_shlibs_CXX=no 11533 ;; 11534 openbsd*) | 12120 esac 12121 ;; 12122 lynxos*) 12123 # FIXME: insert proper C++ library support 12124 ld_shlibs_CXX=no 12125 ;; 12126 m88k*) 12127 # FIXME: insert proper C++ library support --- 22 unchanged lines hidden (view full) --- 12150 # Workaround some broken pre-1.5 toolchains 12151 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 12152 ;; 12153 openbsd2*) 12154 # C++ shared libraries are fairly broken 12155 ld_shlibs_CXX=no 12156 ;; 12157 openbsd*) |
11535 hardcode_direct_CXX=yes 11536 hardcode_shlibpath_var_CXX=no 11537 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 11538 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 11539 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11540 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 11541 export_dynamic_flag_spec_CXX='${wl}-E' 11542 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 12158 if test -f /usr/libexec/ld.so; then 12159 hardcode_direct_CXX=yes 12160 hardcode_shlibpath_var_CXX=no 12161 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 12162 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12163 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 12164 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 12165 export_dynamic_flag_spec_CXX='${wl}-E' 12166 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 12167 fi 12168 output_verbose_link_cmd='echo' 12169 else 12170 ld_shlibs_CXX=no |
11543 fi | 12171 fi |
11544 output_verbose_link_cmd='echo' | |
11545 ;; 11546 osf3*) 11547 case $cc_basename in 11548 KCC*) 11549 # Kuck and Associates, Inc. (KAI) C++ Compiler 11550 11551 # KCC will only create a shared library if the output file 11552 # ends with ".so" (or ".sl" for HP-UX), so rename the library --- 112 unchanged lines hidden (view full) --- 11665 fi 11666 ;; 11667 esac 11668 ;; 11669 psos*) 11670 # FIXME: insert proper C++ library support 11671 ld_shlibs_CXX=no 11672 ;; | 12172 ;; 12173 osf3*) 12174 case $cc_basename in 12175 KCC*) 12176 # Kuck and Associates, Inc. (KAI) C++ Compiler 12177 12178 # KCC will only create a shared library if the output file 12179 # ends with ".so" (or ".sl" for HP-UX), so rename the library --- 112 unchanged lines hidden (view full) --- 12292 fi 12293 ;; 12294 esac 12295 ;; 12296 psos*) 12297 # FIXME: insert proper C++ library support 12298 ld_shlibs_CXX=no 12299 ;; |
11673 sco*) 11674 archive_cmds_need_lc_CXX=no 11675 case $cc_basename in 11676 CC*) 11677 # FIXME: insert proper C++ library support 11678 ld_shlibs_CXX=no 11679 ;; 11680 *) 11681 # FIXME: insert proper C++ library support 11682 ld_shlibs_CXX=no 11683 ;; 11684 esac 11685 ;; | |
11686 sunos4*) 11687 case $cc_basename in 11688 CC*) 11689 # Sun C++ 4.x 11690 # FIXME: insert proper C++ library support 11691 ld_shlibs_CXX=no 11692 ;; 11693 lcc*) --- 6 unchanged lines hidden (view full) --- 11700 ld_shlibs_CXX=no 11701 ;; 11702 esac 11703 ;; 11704 solaris*) 11705 case $cc_basename in 11706 CC*) 11707 # Sun C++ 4.2, 5.x and Centerline C++ | 12300 sunos4*) 12301 case $cc_basename in 12302 CC*) 12303 # Sun C++ 4.x 12304 # FIXME: insert proper C++ library support 12305 ld_shlibs_CXX=no 12306 ;; 12307 lcc*) --- 6 unchanged lines hidden (view full) --- 12314 ld_shlibs_CXX=no 12315 ;; 12316 esac 12317 ;; 12318 solaris*) 12319 case $cc_basename in 12320 CC*) 12321 # Sun C++ 4.2, 5.x and Centerline C++ |
12322 archive_cmds_need_lc_CXX=yes |
|
11708 no_undefined_flag_CXX=' -zdefs' | 12323 no_undefined_flag_CXX=' -zdefs' |
11709 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 12324 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
11710 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 12325 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
11711 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' | 12326 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' |
11712 11713 hardcode_libdir_flag_spec_CXX='-R$libdir' 11714 hardcode_shlibpath_var_CXX=no 11715 case $host_os in 11716 solaris2.[0-5] | solaris2.[0-5].*) ;; 11717 *) | 12327 12328 hardcode_libdir_flag_spec_CXX='-R$libdir' 12329 hardcode_shlibpath_var_CXX=no 12330 case $host_os in 12331 solaris2.[0-5] | solaris2.[0-5].*) ;; 12332 *) |
11718 # The C++ compiler is used as linker so we must use $wl 11719 # flag to pass the commands to the underlying system 11720 # linker. We must also pass each convience library through 11721 # to the system linker between allextract/defaultextract. 11722 # The C++ compiler will combine linker options so we 11723 # cannot just pass the convience library names through 11724 # without $wl. | 12333 # The compiler driver will combine and reorder linker options, 12334 # but understands `-z linker_flag'. |
11725 # Supported since Solaris 2.6 (maybe 2.5.1?) | 12335 # Supported since Solaris 2.6 (maybe 2.5.1?) |
11726 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' | 12336 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' |
11727 ;; 11728 esac 11729 link_all_deplibs_CXX=yes 11730 | 12337 ;; 12338 esac 12339 link_all_deplibs_CXX=yes 12340 |
11731 # Commands to make compiler produce verbose output that lists 11732 # what "hidden" libraries, object files and flags are used when 11733 # linking a shared library. 11734 # 11735 # There doesn't appear to be a way to prevent this compiler from 11736 # explicitly linking system object files so we need to strip them 11737 # from the output so that they don't get included in the library 11738 # dependencies. 11739 output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | 12341 output_verbose_link_cmd='echo' |
11740 11741 # Archives containing C++ object files must be created using 11742 # "CC -xar", where "CC" is the Sun C++ compiler. This is 11743 # necessary to make sure instantiated templates are included 11744 # in the archive. 11745 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 11746 ;; 11747 gcx*) --- 25 unchanged lines hidden (view full) --- 11773 11774 # Commands to make compiler produce verbose output that lists 11775 # what "hidden" libraries, object files and flags are used when 11776 # linking a shared library. 11777 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" 11778 fi 11779 11780 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' | 12342 12343 # Archives containing C++ object files must be created using 12344 # "CC -xar", where "CC" is the Sun C++ compiler. This is 12345 # necessary to make sure instantiated templates are included 12346 # in the archive. 12347 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 12348 ;; 12349 gcx*) --- 25 unchanged lines hidden (view full) --- 12375 12376 # Commands to make compiler produce verbose output that lists 12377 # what "hidden" libraries, object files and flags are used when 12378 # linking a shared library. 12379 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" 12380 fi 12381 12382 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' |
12383 case $host_os in 12384 solaris2.[0-5] | solaris2.[0-5].*) ;; 12385 *) 12386 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 12387 ;; 12388 esac |
|
11781 fi 11782 ;; 11783 esac 11784 ;; | 12389 fi 12390 ;; 12391 esac 12392 ;; |
11785 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) | 12393 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 12394 no_undefined_flag_CXX='${wl}-z,text' |
11786 archive_cmds_need_lc_CXX=no | 12395 archive_cmds_need_lc_CXX=no |
12396 hardcode_shlibpath_var_CXX=no 12397 runpath_var='LD_RUN_PATH' 12398 12399 case $cc_basename in 12400 CC*) 12401 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12402 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12403 ;; 12404 *) 12405 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12406 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12407 ;; 12408 esac |
|
11787 ;; | 12409 ;; |
12410 sysv5* | sco3.2v5* | sco5v6*) 12411 # Note: We can NOT use -z defs as we might desire, because we do not 12412 # link with -lc, and that would cause any symbols used from libc to 12413 # always be unresolved, which means just about no library would 12414 # ever link correctly. If we're not using GNU ld we use -z text 12415 # though, which does catch some bad symbols but isn't as heavy-handed 12416 # as -z defs. 12417 # For security reasons, it is highly recommended that you always 12418 # use absolute paths for naming shared libraries, and exclude the 12419 # DT_RUNPATH tag from executables and libraries. But doing so 12420 # requires that you compile everything twice, which is a pain. 12421 # So that behaviour is only enabled if SCOABSPATH is set to a 12422 # non-empty value in the environment. Most likely only useful for 12423 # creating official distributions of packages. 12424 # This is a hack until libtool officially supports absolute path 12425 # names for shared libraries. 12426 no_undefined_flag_CXX='${wl}-z,text' 12427 allow_undefined_flag_CXX='${wl}-z,nodefs' 12428 archive_cmds_need_lc_CXX=no 12429 hardcode_shlibpath_var_CXX=no 12430 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' 12431 hardcode_libdir_separator_CXX=':' 12432 link_all_deplibs_CXX=yes 12433 export_dynamic_flag_spec_CXX='${wl}-Bexport' 12434 runpath_var='LD_RUN_PATH' 12435 12436 case $cc_basename in 12437 CC*) 12438 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 12439 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 12440 ;; 12441 *) 12442 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 12443 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 12444 ;; 12445 esac 12446 ;; |
|
11788 tandem*) 11789 case $cc_basename in 11790 NCC*) 11791 # NonStop-UX NCC 3.20 11792 # FIXME: insert proper C++ library support 11793 ld_shlibs_CXX=no 11794 ;; 11795 *) --- 13 unchanged lines hidden (view full) --- 11809esac 11810{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 11811echo "${ECHO_T}$ld_shlibs_CXX" >&6; } 11812test "$ld_shlibs_CXX" = no && can_build_shared=no 11813 11814GCC_CXX="$GXX" 11815LD_CXX="$LD" 11816 | 12447 tandem*) 12448 case $cc_basename in 12449 NCC*) 12450 # NonStop-UX NCC 3.20 12451 # FIXME: insert proper C++ library support 12452 ld_shlibs_CXX=no 12453 ;; 12454 *) --- 13 unchanged lines hidden (view full) --- 12468esac 12469{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 12470echo "${ECHO_T}$ld_shlibs_CXX" >&6; } 12471test "$ld_shlibs_CXX" = no && can_build_shared=no 12472 12473GCC_CXX="$GXX" 12474LD_CXX="$LD" 12475 |
11817 | |
11818cat > conftest.$ac_ext <<EOF 11819class Foo 11820{ 11821public: 11822 Foo (void) { a = 0; } 11823private: 11824 int a; 11825}; --- 9 unchanged lines hidden (view full) --- 11835 11836 # Sentinel used to keep track of whether or not we are before 11837 # the conftest object file. 11838 pre_test_object_deps_done=no 11839 11840 # The `*' in the case matches for architectures that use `case' in 11841 # $output_verbose_cmd can trigger glob expansion during the loop 11842 # eval without this substitution. | 12476cat > conftest.$ac_ext <<EOF 12477class Foo 12478{ 12479public: 12480 Foo (void) { a = 0; } 12481private: 12482 int a; 12483}; --- 9 unchanged lines hidden (view full) --- 12493 12494 # Sentinel used to keep track of whether or not we are before 12495 # the conftest object file. 12496 pre_test_object_deps_done=no 12497 12498 # The `*' in the case matches for architectures that use `case' in 12499 # $output_verbose_cmd can trigger glob expansion during the loop 12500 # eval without this substitution. |
11843 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`" | 12501 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` |
11844 11845 for p in `eval $output_verbose_link_cmd`; do 11846 case $p in 11847 11848 -L* | -R* | -l*) 11849 # Some compilers place space between "-{L,R}" and the path. 11850 # Remove the space. 11851 if test $p = "-L" \ --- 59 unchanged lines hidden (view full) --- 11911 # Clean up. 11912 rm -f a.out a.exe 11913else 11914 echo "libtool.m4: error: problem compiling CXX test program" 11915fi 11916 11917$rm -f confest.$objext 11918 | 12502 12503 for p in `eval $output_verbose_link_cmd`; do 12504 case $p in 12505 12506 -L* | -R* | -l*) 12507 # Some compilers place space between "-{L,R}" and the path. 12508 # Remove the space. 12509 if test $p = "-L" \ --- 59 unchanged lines hidden (view full) --- 12569 # Clean up. 12570 rm -f a.out a.exe 12571else 12572 echo "libtool.m4: error: problem compiling CXX test program" 12573fi 12574 12575$rm -f confest.$objext 12576 |
12577compiler_lib_search_dirs_CXX= 12578if test -n "$compiler_lib_search_path_CXX"; then 12579 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 12580fi 12581 12582# PORTME: override above test on systems where it is broken 12583case $host_os in 12584interix[3-9]*) 12585 # Interix 3.5 installs completely hosed .la files for C++, so rather than 12586 # hack all around it, let's just trust "g++" to DTRT. 12587 predep_objects_CXX= 12588 postdep_objects_CXX= 12589 postdeps_CXX= 12590 ;; 12591 12592linux*) 12593 case `$CC -V 2>&1 | sed 5q` in 12594 *Sun\ C*) 12595 # Sun C++ 5.9 12596 # 12597 # The more standards-conforming stlport4 library is 12598 # incompatible with the Cstd library. Avoid specifying 12599 # it if it's in CXXFLAGS. Ignore libCrun as 12600 # -library=stlport4 depends on it. 12601 case " $CXX $CXXFLAGS " in 12602 *" -library=stlport4 "*) 12603 solaris_use_stlport4=yes 12604 ;; 12605 esac 12606 if test "$solaris_use_stlport4" != yes; then 12607 postdeps_CXX='-library=Cstd -library=Crun' 12608 fi 12609 ;; 12610 esac 12611 ;; 12612 12613solaris*) 12614 case $cc_basename in 12615 CC*) 12616 # The more standards-conforming stlport4 library is 12617 # incompatible with the Cstd library. Avoid specifying 12618 # it if it's in CXXFLAGS. Ignore libCrun as 12619 # -library=stlport4 depends on it. 12620 case " $CXX $CXXFLAGS " in 12621 *" -library=stlport4 "*) 12622 solaris_use_stlport4=yes 12623 ;; 12624 esac 12625 12626 # Adding this requires a known-good setup of shared libraries for 12627 # Sun compiler versions before 5.6, else PIC objects from an old 12628 # archive will be linked into the output, leading to subtle bugs. 12629 if test "$solaris_use_stlport4" != yes; then 12630 postdeps_CXX='-library=Cstd -library=Crun' 12631 fi 12632 ;; 12633 esac 12634 ;; 12635esac 12636 |
|
11919case " $postdeps_CXX " in 11920*" -lc "*) archive_cmds_need_lc_CXX=no ;; 11921esac 11922 11923lt_prog_compiler_wl_CXX= 11924lt_prog_compiler_pic_CXX= 11925lt_prog_compiler_static_CXX= 11926 --- 14 unchanged lines hidden (view full) --- 11941 fi 11942 ;; 11943 amigaos*) 11944 # FIXME: we need at least 68020 code to build shared libraries, but 11945 # adding the `-m68020' flag to GCC prevents building anything better, 11946 # like `-m68040'. 11947 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 11948 ;; | 12637case " $postdeps_CXX " in 12638*" -lc "*) archive_cmds_need_lc_CXX=no ;; 12639esac 12640 12641lt_prog_compiler_wl_CXX= 12642lt_prog_compiler_pic_CXX= 12643lt_prog_compiler_static_CXX= 12644 --- 14 unchanged lines hidden (view full) --- 12659 fi 12660 ;; 12661 amigaos*) 12662 # FIXME: we need at least 68020 code to build shared libraries, but 12663 # adding the `-m68020' flag to GCC prevents building anything better, 12664 # like `-m68040'. 12665 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 12666 ;; |
11949 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 12667 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
11950 # PIC is the default for these OSes. 11951 ;; | 12668 # PIC is the default for these OSes. 12669 ;; |
11952 mingw* | os2* | pw32*) | 12670 mingw* | cygwin* | os2* | pw32*) |
11953 # This hack is so that the source file can tell whether it is being 11954 # built for inclusion in a dll (and should export symbols for example). | 12671 # This hack is so that the source file can tell whether it is being 12672 # built for inclusion in a dll (and should export symbols for example). |
12673 # Although the cygwin gcc ignores -fPIC, still need this for old-style 12674 # (--disable-auto-import) libraries |
|
11955 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 11956 ;; 11957 darwin* | rhapsody*) 11958 # PIC is the default on this platform 11959 # Common symbols not allowed in MH_DYLIB files 11960 lt_prog_compiler_pic_CXX='-fno-common' 11961 ;; 11962 *djgpp*) 11963 # DJGPP does not support shared libraries at all 11964 lt_prog_compiler_pic_CXX= 11965 ;; | 12675 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 12676 ;; 12677 darwin* | rhapsody*) 12678 # PIC is the default on this platform 12679 # Common symbols not allowed in MH_DYLIB files 12680 lt_prog_compiler_pic_CXX='-fno-common' 12681 ;; 12682 *djgpp*) 12683 # DJGPP does not support shared libraries at all 12684 lt_prog_compiler_pic_CXX= 12685 ;; |
12686 interix[3-9]*) 12687 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 12688 # Instead, we relocate shared libraries at runtime. 12689 ;; |
|
11966 sysv4*MP*) 11967 if test -d /usr/nec; then 11968 lt_prog_compiler_pic_CXX=-Kconform_pic 11969 fi 11970 ;; 11971 hpux*) 11972 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 11973 # not for PA HP-UX. | 12690 sysv4*MP*) 12691 if test -d /usr/nec; then 12692 lt_prog_compiler_pic_CXX=-Kconform_pic 12693 fi 12694 ;; 12695 hpux*) 12696 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 12697 # not for PA HP-UX. |
11974 case "$host_cpu" in | 12698 case $host_cpu in |
11975 hppa*64*|ia64*) 11976 ;; 11977 *) 11978 lt_prog_compiler_pic_CXX='-fPIC' 11979 ;; 11980 esac 11981 ;; 11982 *) 11983 lt_prog_compiler_pic_CXX='-fPIC' 11984 ;; 11985 esac 11986 else 11987 case $host_os in | 12699 hppa*64*|ia64*) 12700 ;; 12701 *) 12702 lt_prog_compiler_pic_CXX='-fPIC' 12703 ;; 12704 esac 12705 ;; 12706 *) 12707 lt_prog_compiler_pic_CXX='-fPIC' 12708 ;; 12709 esac 12710 else 12711 case $host_os in |
11988 aix4* | aix5*) | 12712 aix[4-9]*) |
11989 # All AIX code is PIC. 11990 if test "$host_cpu" = ia64; then 11991 # AIX 5 now supports IA64 processor 11992 lt_prog_compiler_static_CXX='-Bstatic' 11993 else 11994 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 11995 fi 11996 ;; --- 23 unchanged lines hidden (view full) --- 12020 ghcx*) 12021 # Green Hills C++ Compiler 12022 lt_prog_compiler_pic_CXX='-pic' 12023 ;; 12024 *) 12025 ;; 12026 esac 12027 ;; | 12713 # All AIX code is PIC. 12714 if test "$host_cpu" = ia64; then 12715 # AIX 5 now supports IA64 processor 12716 lt_prog_compiler_static_CXX='-Bstatic' 12717 else 12718 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 12719 fi 12720 ;; --- 23 unchanged lines hidden (view full) --- 12744 ghcx*) 12745 # Green Hills C++ Compiler 12746 lt_prog_compiler_pic_CXX='-pic' 12747 ;; 12748 *) 12749 ;; 12750 esac 12751 ;; |
12028 freebsd* | kfreebsd*-gnu | dragonfly*) | 12752 freebsd* | dragonfly*) |
12029 # FreeBSD uses GNU C++ 12030 ;; 12031 hpux9* | hpux10* | hpux11*) 12032 case $cc_basename in 12033 CC*) 12034 lt_prog_compiler_wl_CXX='-Wl,' | 12753 # FreeBSD uses GNU C++ 12754 ;; 12755 hpux9* | hpux10* | hpux11*) 12756 case $cc_basename in 12757 CC*) 12758 lt_prog_compiler_wl_CXX='-Wl,' |
12035 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" | 12759 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' |
12036 if test "$host_cpu" != ia64; then 12037 lt_prog_compiler_pic_CXX='+Z' 12038 fi 12039 ;; 12040 aCC*) 12041 lt_prog_compiler_wl_CXX='-Wl,' | 12760 if test "$host_cpu" != ia64; then 12761 lt_prog_compiler_pic_CXX='+Z' 12762 fi 12763 ;; 12764 aCC*) 12765 lt_prog_compiler_wl_CXX='-Wl,' |
12042 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" 12043 case "$host_cpu" in | 12766 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 12767 case $host_cpu in |
12044 hppa*64*|ia64*) 12045 # +Z the default 12046 ;; 12047 *) 12048 lt_prog_compiler_pic_CXX='+Z' 12049 ;; 12050 esac 12051 ;; 12052 *) 12053 ;; 12054 esac 12055 ;; | 12768 hppa*64*|ia64*) 12769 # +Z the default 12770 ;; 12771 *) 12772 lt_prog_compiler_pic_CXX='+Z' 12773 ;; 12774 esac 12775 ;; 12776 *) 12777 ;; 12778 esac 12779 ;; |
12780 interix*) 12781 # This is c89, which is MS Visual C++ (no shared libs) 12782 # Anyone wants to do a port? 12783 ;; |
|
12056 irix5* | irix6* | nonstopux*) 12057 case $cc_basename in 12058 CC*) 12059 lt_prog_compiler_wl_CXX='-Wl,' 12060 lt_prog_compiler_static_CXX='-non_shared' 12061 # CC pic flag -KPIC is the default. 12062 ;; 12063 *) 12064 ;; 12065 esac 12066 ;; | 12784 irix5* | irix6* | nonstopux*) 12785 case $cc_basename in 12786 CC*) 12787 lt_prog_compiler_wl_CXX='-Wl,' 12788 lt_prog_compiler_static_CXX='-non_shared' 12789 # CC pic flag -KPIC is the default. 12790 ;; 12791 *) 12792 ;; 12793 esac 12794 ;; |
12067 linux*) | 12795 linux* | k*bsd*-gnu) |
12068 case $cc_basename in 12069 KCC*) 12070 # KAI C++ Compiler 12071 lt_prog_compiler_wl_CXX='--backend -Wl,' 12072 lt_prog_compiler_pic_CXX='-fPIC' 12073 ;; 12074 icpc* | ecpc*) 12075 # Intel C++ 12076 lt_prog_compiler_wl_CXX='-Wl,' 12077 lt_prog_compiler_pic_CXX='-KPIC' 12078 lt_prog_compiler_static_CXX='-static' 12079 ;; | 12796 case $cc_basename in 12797 KCC*) 12798 # KAI C++ Compiler 12799 lt_prog_compiler_wl_CXX='--backend -Wl,' 12800 lt_prog_compiler_pic_CXX='-fPIC' 12801 ;; 12802 icpc* | ecpc*) 12803 # Intel C++ 12804 lt_prog_compiler_wl_CXX='-Wl,' 12805 lt_prog_compiler_pic_CXX='-KPIC' 12806 lt_prog_compiler_static_CXX='-static' 12807 ;; |
12080 pgCC*) | 12808 pgCC* | pgcpp*) |
12081 # Portland Group C++ compiler. 12082 lt_prog_compiler_wl_CXX='-Wl,' 12083 lt_prog_compiler_pic_CXX='-fpic' | 12809 # Portland Group C++ compiler. 12810 lt_prog_compiler_wl_CXX='-Wl,' 12811 lt_prog_compiler_pic_CXX='-fpic' |
12084 lt_prog_compiler_static_CXX='-static' | 12812 lt_prog_compiler_static_CXX='-Bstatic' |
12085 ;; 12086 cxx*) 12087 # Compaq C++ 12088 # Make sure the PIC flag is empty. It appears that all Alpha 12089 # Linux and Compaq Tru64 Unix objects are PIC. 12090 lt_prog_compiler_pic_CXX= 12091 lt_prog_compiler_static_CXX='-non_shared' 12092 ;; 12093 *) | 12813 ;; 12814 cxx*) 12815 # Compaq C++ 12816 # Make sure the PIC flag is empty. It appears that all Alpha 12817 # Linux and Compaq Tru64 Unix objects are PIC. 12818 lt_prog_compiler_pic_CXX= 12819 lt_prog_compiler_static_CXX='-non_shared' 12820 ;; 12821 *) |
12822 case `$CC -V 2>&1 | sed 5q` in 12823 *Sun\ C*) 12824 # Sun C++ 5.9 12825 lt_prog_compiler_pic_CXX='-KPIC' 12826 lt_prog_compiler_static_CXX='-Bstatic' 12827 lt_prog_compiler_wl_CXX='-Qoption ld ' 12828 ;; 12829 esac |
|
12094 ;; 12095 esac 12096 ;; 12097 lynxos*) 12098 ;; 12099 m88k*) 12100 ;; 12101 mvs*) --- 25 unchanged lines hidden (view full) --- 12127 lt_prog_compiler_static_CXX='-non_shared' 12128 ;; 12129 *) 12130 ;; 12131 esac 12132 ;; 12133 psos*) 12134 ;; | 12830 ;; 12831 esac 12832 ;; 12833 lynxos*) 12834 ;; 12835 m88k*) 12836 ;; 12837 mvs*) --- 25 unchanged lines hidden (view full) --- 12863 lt_prog_compiler_static_CXX='-non_shared' 12864 ;; 12865 *) 12866 ;; 12867 esac 12868 ;; 12869 psos*) 12870 ;; |
12135 sco*) 12136 case $cc_basename in 12137 CC*) 12138 lt_prog_compiler_pic_CXX='-fPIC' 12139 ;; 12140 *) 12141 ;; 12142 esac 12143 ;; | |
12144 solaris*) 12145 case $cc_basename in 12146 CC*) 12147 # Sun C++ 4.2, 5.x and Centerline C++ 12148 lt_prog_compiler_pic_CXX='-KPIC' 12149 lt_prog_compiler_static_CXX='-Bstatic' 12150 lt_prog_compiler_wl_CXX='-Qoption ld ' 12151 ;; --- 25 unchanged lines hidden (view full) --- 12177 NCC*) 12178 # NonStop-UX NCC 3.20 12179 lt_prog_compiler_pic_CXX='-KPIC' 12180 ;; 12181 *) 12182 ;; 12183 esac 12184 ;; | 12871 solaris*) 12872 case $cc_basename in 12873 CC*) 12874 # Sun C++ 4.2, 5.x and Centerline C++ 12875 lt_prog_compiler_pic_CXX='-KPIC' 12876 lt_prog_compiler_static_CXX='-Bstatic' 12877 lt_prog_compiler_wl_CXX='-Qoption ld ' 12878 ;; --- 25 unchanged lines hidden (view full) --- 12904 NCC*) 12905 # NonStop-UX NCC 3.20 12906 lt_prog_compiler_pic_CXX='-KPIC' 12907 ;; 12908 *) 12909 ;; 12910 esac 12911 ;; |
12185 unixware*) | 12912 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 12913 case $cc_basename in 12914 CC*) 12915 lt_prog_compiler_wl_CXX='-Wl,' 12916 lt_prog_compiler_pic_CXX='-KPIC' 12917 lt_prog_compiler_static_CXX='-Bstatic' 12918 ;; 12919 esac |
12186 ;; 12187 vxworks*) 12188 ;; 12189 *) 12190 lt_prog_compiler_can_build_shared_CXX=no 12191 ;; 12192 esac 12193 fi 12194 12195{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 12196echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; } 12197 12198# 12199# Check to make sure the PIC flag actually works. 12200# 12201if test -n "$lt_prog_compiler_pic_CXX"; then 12202 12203{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 12204echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; } | 12920 ;; 12921 vxworks*) 12922 ;; 12923 *) 12924 lt_prog_compiler_can_build_shared_CXX=no 12925 ;; 12926 esac 12927 fi 12928 12929{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 12930echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; } 12931 12932# 12933# Check to make sure the PIC flag actually works. 12934# 12935if test -n "$lt_prog_compiler_pic_CXX"; then 12936 12937{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 12938echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; } |
12205if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then | 12939if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then |
12206 echo $ECHO_N "(cached) $ECHO_C" >&6 12207else | 12940 echo $ECHO_N "(cached) $ECHO_C" >&6 12941else |
12208 lt_prog_compiler_pic_works_CXX=no | 12942 lt_cv_prog_compiler_pic_works_CXX=no |
12209 ac_outfile=conftest.$ac_objext | 12943 ac_outfile=conftest.$ac_objext |
12210 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 12944 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
12211 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" 12212 # Insert the option either (1) after the last *FLAGS variable, or 12213 # (2) before a word containing "conftest.", or (3) at the end. 12214 # Note that $ac_compile itself does not contain backslashes and begins 12215 # with a dollar sign (not a hyphen), so the echo should work correctly. 12216 # The option is referenced via a variable to avoid confusing sed. 12217 lt_compile=`echo "$ac_compile" | $SED \ | 12945 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" 12946 # Insert the option either (1) after the last *FLAGS variable, or 12947 # (2) before a word containing "conftest.", or (3) at the end. 12948 # Note that $ac_compile itself does not contain backslashes and begins 12949 # with a dollar sign (not a hyphen), so the echo should work correctly. 12950 # The option is referenced via a variable to avoid confusing sed. 12951 lt_compile=`echo "$ac_compile" | $SED \ |
12218 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 12952 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
12219 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12220 -e 's:$: $lt_compiler_flag:'` | 12953 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12954 -e 's:$: $lt_compiler_flag:'` |
12221 (eval echo "\"\$as_me:12221: $lt_compile\"" >&5) | 12955 (eval echo "\"\$as_me:12955: $lt_compile\"" >&5) |
12222 (eval "$lt_compile" 2>conftest.err) 12223 ac_status=$? 12224 cat conftest.err >&5 | 12956 (eval "$lt_compile" 2>conftest.err) 12957 ac_status=$? 12958 cat conftest.err >&5 |
12225 echo "$as_me:12225: \$? = $ac_status" >&5 | 12959 echo "$as_me:12959: \$? = $ac_status" >&5 |
12226 if (exit $ac_status) && test -s "$ac_outfile"; then 12227 # The compiler can only warn and ignore the option if not recognized 12228 # So say no if there are warnings other than the usual output. | 12960 if (exit $ac_status) && test -s "$ac_outfile"; then 12961 # The compiler can only warn and ignore the option if not recognized 12962 # So say no if there are warnings other than the usual output. |
12229 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp 12230 $SED '/^$/d' conftest.err >conftest.er2 12231 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then 12232 lt_prog_compiler_pic_works_CXX=yes | 12963 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 12964 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 12965 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 12966 lt_cv_prog_compiler_pic_works_CXX=yes |
12233 fi 12234 fi 12235 $rm conftest* 12236 12237fi | 12967 fi 12968 fi 12969 $rm conftest* 12970 12971fi |
12238{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 12239echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; } | 12972{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 12973echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; } |
12240 | 12974 |
12241if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then | 12975if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then |
12242 case $lt_prog_compiler_pic_CXX in 12243 "" | " "*) ;; 12244 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 12245 esac 12246else 12247 lt_prog_compiler_pic_CXX= 12248 lt_prog_compiler_can_build_shared_CXX=no 12249fi 12250 12251fi | 12976 case $lt_prog_compiler_pic_CXX in 12977 "" | " "*) ;; 12978 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 12979 esac 12980else 12981 lt_prog_compiler_pic_CXX= 12982 lt_prog_compiler_can_build_shared_CXX=no 12983fi 12984 12985fi |
12252case "$host_os" in | 12986case $host_os in |
12253 # For platforms which do not support PIC, -DPIC is meaningless: 12254 *djgpp*) 12255 lt_prog_compiler_pic_CXX= 12256 ;; 12257 *) 12258 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 12259 ;; 12260esac 12261 | 12987 # For platforms which do not support PIC, -DPIC is meaningless: 12988 *djgpp*) 12989 lt_prog_compiler_pic_CXX= 12990 ;; 12991 *) 12992 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 12993 ;; 12994esac 12995 |
12996# 12997# Check to make sure the static flag actually works. 12998# 12999wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 13000{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 13001echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } 13002if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then 13003 echo $ECHO_N "(cached) $ECHO_C" >&6 13004else 13005 lt_cv_prog_compiler_static_works_CXX=no 13006 save_LDFLAGS="$LDFLAGS" 13007 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 13008 echo "$lt_simple_link_test_code" > conftest.$ac_ext 13009 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 13010 # The linker can only warn and ignore the option if not recognized 13011 # So say no if there are warnings 13012 if test -s conftest.err; then 13013 # Append any errors to the config.log. 13014 cat conftest.err 1>&5 13015 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 13016 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 13017 if diff conftest.exp conftest.er2 >/dev/null; then 13018 lt_cv_prog_compiler_static_works_CXX=yes 13019 fi 13020 else 13021 lt_cv_prog_compiler_static_works_CXX=yes 13022 fi 13023 fi 13024 $rm -r conftest* 13025 LDFLAGS="$save_LDFLAGS" 13026 13027fi 13028{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5 13029echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; } 13030 13031if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then 13032 : 13033else 13034 lt_prog_compiler_static_CXX= 13035fi 13036 13037 |
|
12262{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 12263echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 12264if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then 12265 echo $ECHO_N "(cached) $ECHO_C" >&6 12266else 12267 lt_cv_prog_compiler_c_o_CXX=no 12268 $rm -r conftest 2>/dev/null 12269 mkdir conftest 12270 cd conftest 12271 mkdir out | 13038{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 13039echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 13040if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then 13041 echo $ECHO_N "(cached) $ECHO_C" >&6 13042else 13043 lt_cv_prog_compiler_c_o_CXX=no 13044 $rm -r conftest 2>/dev/null 13045 mkdir conftest 13046 cd conftest 13047 mkdir out |
12272 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 13048 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
12273 12274 lt_compiler_flag="-o out/conftest2.$ac_objext" 12275 # Insert the option either (1) after the last *FLAGS variable, or 12276 # (2) before a word containing "conftest.", or (3) at the end. 12277 # Note that $ac_compile itself does not contain backslashes and begins 12278 # with a dollar sign (not a hyphen), so the echo should work correctly. 12279 lt_compile=`echo "$ac_compile" | $SED \ | 13049 13050 lt_compiler_flag="-o out/conftest2.$ac_objext" 13051 # Insert the option either (1) after the last *FLAGS variable, or 13052 # (2) before a word containing "conftest.", or (3) at the end. 13053 # Note that $ac_compile itself does not contain backslashes and begins 13054 # with a dollar sign (not a hyphen), so the echo should work correctly. 13055 lt_compile=`echo "$ac_compile" | $SED \ |
12280 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 13056 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
12281 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12282 -e 's:$: $lt_compiler_flag:'` | 13057 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13058 -e 's:$: $lt_compiler_flag:'` |
12283 (eval echo "\"\$as_me:12283: $lt_compile\"" >&5) | 13059 (eval echo "\"\$as_me:13059: $lt_compile\"" >&5) |
12284 (eval "$lt_compile" 2>out/conftest.err) 12285 ac_status=$? 12286 cat out/conftest.err >&5 | 13060 (eval "$lt_compile" 2>out/conftest.err) 13061 ac_status=$? 13062 cat out/conftest.err >&5 |
12287 echo "$as_me:12287: \$? = $ac_status" >&5 | 13063 echo "$as_me:13063: \$? = $ac_status" >&5 |
12288 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12289 then 12290 # The compiler can only warn and ignore the option if not recognized 12291 # So say no if there are warnings | 13064 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13065 then 13066 # The compiler can only warn and ignore the option if not recognized 13067 # So say no if there are warnings |
12292 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp 12293 $SED '/^$/d' out/conftest.err >out/conftest.er2 12294 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then | 13068 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 13069 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 13070 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
12295 lt_cv_prog_compiler_c_o_CXX=yes 12296 fi 12297 fi | 13071 lt_cv_prog_compiler_c_o_CXX=yes 13072 fi 13073 fi |
12298 chmod u+w . | 13074 chmod u+w . 2>&5 |
12299 $rm conftest* 12300 # SGI C++ compiler will create directory out/ii_files/ for 12301 # template instantiation 12302 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 12303 $rm out/* && rmdir out 12304 cd .. 12305 rmdir conftest 12306 $rm conftest* --- 25 unchanged lines hidden (view full) --- 12332 need_locks=no 12333fi 12334 12335{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 12336echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } 12337 12338 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 12339 case $host_os in | 13075 $rm conftest* 13076 # SGI C++ compiler will create directory out/ii_files/ for 13077 # template instantiation 13078 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 13079 $rm out/* && rmdir out 13080 cd .. 13081 rmdir conftest 13082 $rm conftest* --- 25 unchanged lines hidden (view full) --- 13108 need_locks=no 13109fi 13110 13111{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 13112echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } 13113 13114 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 13115 case $host_os in |
12340 aix4* | aix5*) | 13116 aix[4-9]*) |
12341 # If we're using GNU nm, then we don't want the "-C" option. 12342 # -C means demangle to AIX nm, but means don't demangle with GNU nm 12343 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 12344 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 12345 else 12346 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 12347 fi 12348 ;; 12349 pw32*) 12350 export_symbols_cmds_CXX="$ltdll_cmds" 12351 ;; 12352 cygwin* | mingw*) | 13117 # If we're using GNU nm, then we don't want the "-C" option. 13118 # -C means demangle to AIX nm, but means don't demangle with GNU nm 13119 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 13120 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 13121 else 13122 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 13123 fi 13124 ;; 13125 pw32*) 13126 export_symbols_cmds_CXX="$ltdll_cmds" 13127 ;; 13128 cygwin* | mingw*) |
12353 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | 13129 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
12354 ;; 12355 *) 12356 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 12357 ;; 12358 esac | 13130 ;; 13131 *) 13132 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 13133 ;; 13134 esac |
13135 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
|
12359 12360{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 12361echo "${ECHO_T}$ld_shlibs_CXX" >&6; } 12362test "$ld_shlibs_CXX" = no && can_build_shared=no 12363 | 13136 13137{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 13138echo "${ECHO_T}$ld_shlibs_CXX" >&6; } 13139test "$ld_shlibs_CXX" = no && can_build_shared=no 13140 |
12364variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12365if test "$GCC" = yes; then 12366 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12367fi 12368 | |
12369# 12370# Do we need to explicitly link libc? 12371# 12372case "x$archive_cmds_need_lc_CXX" in 12373x|xyes) 12374 # Assume -lc should be added 12375 archive_cmds_need_lc_CXX=yes 12376 --- 4 unchanged lines hidden (view full) --- 12381 ;; 12382 '$CC '*) 12383 # Test whether the compiler implicitly links with -lc since on some 12384 # systems, -lgcc has to come before -lc. If gcc already passes -lc 12385 # to ld, don't add -lc before -lgcc. 12386 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 12387echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 12388 $rm conftest* | 13141# 13142# Do we need to explicitly link libc? 13143# 13144case "x$archive_cmds_need_lc_CXX" in 13145x|xyes) 13146 # Assume -lc should be added 13147 archive_cmds_need_lc_CXX=yes 13148 --- 4 unchanged lines hidden (view full) --- 13153 ;; 13154 '$CC '*) 13155 # Test whether the compiler implicitly links with -lc since on some 13156 # systems, -lgcc has to come before -lc. If gcc already passes -lc 13157 # to ld, don't add -lc before -lgcc. 13158 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 13159echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 13160 $rm conftest* |
12389 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 13161 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
12390 12391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 12392 (eval $ac_compile) 2>&5 12393 ac_status=$? 12394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12395 (exit $ac_status); } 2>conftest.err; then 12396 soname=conftest 12397 lib=conftest 12398 libobjs=conftest.$ac_objext 12399 deplibs= 12400 wl=$lt_prog_compiler_wl_CXX | 13162 13163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 13164 (eval $ac_compile) 2>&5 13165 ac_status=$? 13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13167 (exit $ac_status); } 2>conftest.err; then 13168 soname=conftest 13169 lib=conftest 13170 libobjs=conftest.$ac_objext 13171 deplibs= 13172 wl=$lt_prog_compiler_wl_CXX |
13173 pic_flag=$lt_prog_compiler_pic_CXX |
|
12401 compiler_flags=-v 12402 linker_flags=-v 12403 verstring= 12404 output_objdir=. 12405 libname=conftest 12406 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 12407 allow_undefined_flag_CXX= 12408 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 --- 29 unchanged lines hidden (view full) --- 12438postuninstall_cmds= 12439finish_cmds= 12440finish_eval= 12441shlibpath_var= 12442shlibpath_overrides_runpath=unknown 12443version_type=none 12444dynamic_linker="$host_os ld.so" 12445sys_lib_dlsearch_path_spec="/lib /usr/lib" | 13174 compiler_flags=-v 13175 linker_flags=-v 13176 verstring= 13177 output_objdir=. 13178 libname=conftest 13179 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 13180 allow_undefined_flag_CXX= 13181 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 --- 29 unchanged lines hidden (view full) --- 13211postuninstall_cmds= 13212finish_cmds= 13213finish_eval= 13214shlibpath_var= 13215shlibpath_overrides_runpath=unknown 13216version_type=none 13217dynamic_linker="$host_os ld.so" 13218sys_lib_dlsearch_path_spec="/lib /usr/lib" |
12446if test "$GCC" = yes; then 12447 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 12448 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then 12449 # if the path contains ";" then we assume it to be the separator 12450 # otherwise default to the standard path separator (i.e. ":") - it is 12451 # assumed that no part of a normal pathname contains ";" but that should 12452 # okay in the real world where ";" in dirpaths is itself problematic. 12453 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 12454 else 12455 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12456 fi 12457else 12458 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12459fi | 13219 |
12460need_lib_prefix=unknown 12461hardcode_into_libs=no 12462 12463# when you set need_version to no, make sure it does not cause -set_version 12464# flags to be left without arguments 12465need_version=unknown 12466 12467case $host_os in 12468aix3*) 12469 version_type=linux 12470 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 12471 shlibpath_var=LIBPATH 12472 12473 # AIX 3 has no versioning support, so we append a major version to the name. 12474 soname_spec='${libname}${release}${shared_ext}$major' 12475 ;; 12476 | 13220need_lib_prefix=unknown 13221hardcode_into_libs=no 13222 13223# when you set need_version to no, make sure it does not cause -set_version 13224# flags to be left without arguments 13225need_version=unknown 13226 13227case $host_os in 13228aix3*) 13229 version_type=linux 13230 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 13231 shlibpath_var=LIBPATH 13232 13233 # AIX 3 has no versioning support, so we append a major version to the name. 13234 soname_spec='${libname}${release}${shared_ext}$major' 13235 ;; 13236 |
12477aix4* | aix5*) | 13237aix[4-9]*) |
12478 version_type=linux 12479 need_lib_prefix=no 12480 need_version=no 12481 hardcode_into_libs=yes 12482 if test "$host_cpu" = ia64; then 12483 # AIX 5 supports IA64 12484 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 12485 shlibpath_var=LD_LIBRARY_PATH --- 67 unchanged lines hidden (view full) --- 12553 case $GCC,$host_os in 12554 yes,cygwin* | yes,mingw* | yes,pw32*) 12555 library_names_spec='$libname.dll.a' 12556 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12557 postinstall_cmds='base_file=`basename \${file}`~ 12558 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 12559 dldir=$destdir/`dirname \$dlpath`~ 12560 test -d \$dldir || mkdir -p \$dldir~ | 13238 version_type=linux 13239 need_lib_prefix=no 13240 need_version=no 13241 hardcode_into_libs=yes 13242 if test "$host_cpu" = ia64; then 13243 # AIX 5 supports IA64 13244 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 13245 shlibpath_var=LD_LIBRARY_PATH --- 67 unchanged lines hidden (view full) --- 13313 case $GCC,$host_os in 13314 yes,cygwin* | yes,mingw* | yes,pw32*) 13315 library_names_spec='$libname.dll.a' 13316 # DLL is installed to $(libdir)/../bin by postinstall_cmds 13317 postinstall_cmds='base_file=`basename \${file}`~ 13318 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 13319 dldir=$destdir/`dirname \$dlpath`~ 13320 test -d \$dldir || mkdir -p \$dldir~ |
12561 $install_prog $dir/$dlname \$dldir/$dlname' | 13321 $install_prog $dir/$dlname \$dldir/$dlname~ 13322 chmod a+x \$dldir/$dlname' |
12562 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12563 dlpath=$dir/\$dldll~ 12564 $rm \$dlpath' 12565 shlibpath_overrides_runpath=yes 12566 12567 case $host_os in 12568 cygwin*) 12569 # Cygwin DLLs use 'cyg' prefix rather than 'lib' --- 36 unchanged lines hidden (view full) --- 12606 dynamic_linker="$host_os dyld" 12607 version_type=darwin 12608 need_lib_prefix=no 12609 need_version=no 12610 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 12611 soname_spec='${libname}${release}${major}$shared_ext' 12612 shlibpath_overrides_runpath=yes 12613 shlibpath_var=DYLD_LIBRARY_PATH | 13323 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 13324 dlpath=$dir/\$dldll~ 13325 $rm \$dlpath' 13326 shlibpath_overrides_runpath=yes 13327 13328 case $host_os in 13329 cygwin*) 13330 # Cygwin DLLs use 'cyg' prefix rather than 'lib' --- 36 unchanged lines hidden (view full) --- 13367 dynamic_linker="$host_os dyld" 13368 version_type=darwin 13369 need_lib_prefix=no 13370 need_version=no 13371 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 13372 soname_spec='${libname}${release}${major}$shared_ext' 13373 shlibpath_overrides_runpath=yes 13374 shlibpath_var=DYLD_LIBRARY_PATH |
12614 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' 12615 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 12616 if test "$GCC" = yes; then 12617 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 12618 else 12619 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 12620 fi | 13375 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 13376 |
12621 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12622 ;; 12623 12624dgux*) 12625 version_type=linux 12626 need_lib_prefix=no 12627 need_version=no 12628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 12629 soname_spec='${libname}${release}${shared_ext}$major' 12630 shlibpath_var=LD_LIBRARY_PATH 12631 ;; 12632 12633freebsd1*) 12634 dynamic_linker=no 12635 ;; 12636 | 13377 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 13378 ;; 13379 13380dgux*) 13381 version_type=linux 13382 need_lib_prefix=no 13383 need_version=no 13384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 13385 soname_spec='${libname}${release}${shared_ext}$major' 13386 shlibpath_var=LD_LIBRARY_PATH 13387 ;; 13388 13389freebsd1*) 13390 dynamic_linker=no 13391 ;; 13392 |
12637kfreebsd*-gnu) 12638 version_type=linux 12639 need_lib_prefix=no 12640 need_version=no 12641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 12642 soname_spec='${libname}${release}${shared_ext}$major' 12643 shlibpath_var=LD_LIBRARY_PATH 12644 shlibpath_overrides_runpath=no 12645 hardcode_into_libs=yes 12646 dynamic_linker='GNU ld.so' 12647 ;; 12648 | |
12649freebsd* | dragonfly*) 12650 # DragonFly does not have aout. When/if they implement a new 12651 # versioning mechanism, adjust this. | 13393freebsd* | dragonfly*) 13394 # DragonFly does not have aout. When/if they implement a new 13395 # versioning mechanism, adjust this. |
12652 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 13396 if test -x /usr/bin/objformat; then 13397 objformat=`/usr/bin/objformat` 13398 else 13399 case $host_os in 13400 freebsd[123]*) objformat=aout ;; 13401 *) objformat=elf ;; 13402 esac 13403 fi |
12653 version_type=freebsd-$objformat 12654 case $version_type in 12655 freebsd-elf*) 12656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 12657 need_version=no 12658 need_lib_prefix=no 12659 ;; 12660 freebsd-*) --- 5 unchanged lines hidden (view full) --- 12666 case $host_os in 12667 freebsd2*) 12668 shlibpath_overrides_runpath=yes 12669 ;; 12670 freebsd3.[01]* | freebsdelf3.[01]*) 12671 shlibpath_overrides_runpath=yes 12672 hardcode_into_libs=yes 12673 ;; | 13404 version_type=freebsd-$objformat 13405 case $version_type in 13406 freebsd-elf*) 13407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 13408 need_version=no 13409 need_lib_prefix=no 13410 ;; 13411 freebsd-*) --- 5 unchanged lines hidden (view full) --- 13417 case $host_os in 13418 freebsd2*) 13419 shlibpath_overrides_runpath=yes 13420 ;; 13421 freebsd3.[01]* | freebsdelf3.[01]*) 13422 shlibpath_overrides_runpath=yes 13423 hardcode_into_libs=yes 13424 ;; |
12674 *) # from 3.2 on | 13425 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 13426 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
12675 shlibpath_overrides_runpath=no 12676 hardcode_into_libs=yes 12677 ;; | 13427 shlibpath_overrides_runpath=no 13428 hardcode_into_libs=yes 13429 ;; |
13430 *) # from 4.6 on, and DragonFly 13431 shlibpath_overrides_runpath=yes 13432 hardcode_into_libs=yes 13433 ;; |
|
12678 esac 12679 ;; 12680 12681gnu*) 12682 version_type=linux 12683 need_lib_prefix=no 12684 need_version=no 12685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 12686 soname_spec='${libname}${release}${shared_ext}$major' 12687 shlibpath_var=LD_LIBRARY_PATH 12688 hardcode_into_libs=yes 12689 ;; 12690 12691hpux9* | hpux10* | hpux11*) 12692 # Give a soname corresponding to the major version so that dld.sl refuses to 12693 # link against other versions. 12694 version_type=sunos 12695 need_lib_prefix=no 12696 need_version=no | 13434 esac 13435 ;; 13436 13437gnu*) 13438 version_type=linux 13439 need_lib_prefix=no 13440 need_version=no 13441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 13442 soname_spec='${libname}${release}${shared_ext}$major' 13443 shlibpath_var=LD_LIBRARY_PATH 13444 hardcode_into_libs=yes 13445 ;; 13446 13447hpux9* | hpux10* | hpux11*) 13448 # Give a soname corresponding to the major version so that dld.sl refuses to 13449 # link against other versions. 13450 version_type=sunos 13451 need_lib_prefix=no 13452 need_version=no |
12697 case "$host_cpu" in | 13453 case $host_cpu in |
12698 ia64*) 12699 shrext_cmds='.so' 12700 hardcode_into_libs=yes 12701 dynamic_linker="$host_os dld.so" 12702 shlibpath_var=LD_LIBRARY_PATH 12703 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12705 soname_spec='${libname}${release}${shared_ext}$major' --- 23 unchanged lines hidden (view full) --- 12729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12730 soname_spec='${libname}${release}${shared_ext}$major' 12731 ;; 12732 esac 12733 # HP-UX runs *really* slowly unless shared libraries are mode 555. 12734 postinstall_cmds='chmod 555 $lib' 12735 ;; 12736 | 13454 ia64*) 13455 shrext_cmds='.so' 13456 hardcode_into_libs=yes 13457 dynamic_linker="$host_os dld.so" 13458 shlibpath_var=LD_LIBRARY_PATH 13459 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 13460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13461 soname_spec='${libname}${release}${shared_ext}$major' --- 23 unchanged lines hidden (view full) --- 13485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13486 soname_spec='${libname}${release}${shared_ext}$major' 13487 ;; 13488 esac 13489 # HP-UX runs *really* slowly unless shared libraries are mode 555. 13490 postinstall_cmds='chmod 555 $lib' 13491 ;; 13492 |
13493interix[3-9]*) 13494 version_type=linux 13495 need_lib_prefix=no 13496 need_version=no 13497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 13498 soname_spec='${libname}${release}${shared_ext}$major' 13499 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 13500 shlibpath_var=LD_LIBRARY_PATH 13501 shlibpath_overrides_runpath=no 13502 hardcode_into_libs=yes 13503 ;; 13504 |
|
12737irix5* | irix6* | nonstopux*) 12738 case $host_os in 12739 nonstopux*) version_type=nonstopux ;; 12740 *) 12741 if test "$lt_cv_prog_gnu_ld" = yes; then 12742 version_type=linux 12743 else 12744 version_type=irix --- 27 unchanged lines hidden (view full) --- 12772 ;; 12773 12774# No shared lib support for Linux oldld, aout, or coff. 12775linux*oldld* | linux*aout* | linux*coff*) 12776 dynamic_linker=no 12777 ;; 12778 12779# This must be Linux ELF. | 13505irix5* | irix6* | nonstopux*) 13506 case $host_os in 13507 nonstopux*) version_type=nonstopux ;; 13508 *) 13509 if test "$lt_cv_prog_gnu_ld" = yes; then 13510 version_type=linux 13511 else 13512 version_type=irix --- 27 unchanged lines hidden (view full) --- 13540 ;; 13541 13542# No shared lib support for Linux oldld, aout, or coff. 13543linux*oldld* | linux*aout* | linux*coff*) 13544 dynamic_linker=no 13545 ;; 13546 13547# This must be Linux ELF. |
12780linux*) | 13548linux* | k*bsd*-gnu) |
12781 version_type=linux 12782 need_lib_prefix=no 12783 need_version=no 12784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12785 soname_spec='${libname}${release}${shared_ext}$major' 12786 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12787 shlibpath_var=LD_LIBRARY_PATH 12788 shlibpath_overrides_runpath=no 12789 # This implies no fast_install, which is unacceptable. 12790 # Some rework will be needed to allow for fast_install 12791 # before this can be enabled. 12792 hardcode_into_libs=yes 12793 12794 # Append ld.so.conf contents to the search path 12795 if test -f /etc/ld.so.conf; then | 13549 version_type=linux 13550 need_lib_prefix=no 13551 need_version=no 13552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13553 soname_spec='${libname}${release}${shared_ext}$major' 13554 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 13555 shlibpath_var=LD_LIBRARY_PATH 13556 shlibpath_overrides_runpath=no 13557 # This implies no fast_install, which is unacceptable. 13558 # Some rework will be needed to allow for fast_install 13559 # before this can be enabled. 13560 hardcode_into_libs=yes 13561 13562 # Append ld.so.conf contents to the search path 13563 if test -f /etc/ld.so.conf; then |
12796 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' ' '` | 13564 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
12797 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 12798 fi 12799 12800 # We used to test for /lib/ld.so.1 and disable shared libraries on 12801 # powerpc, because MkLinux only supported shared libraries with the 12802 # GNU dynamic linker. Since this was broken with cross compilers, 12803 # most powerpc-linux boxes support dynamic linking these days and 12804 # people can always --disable-shared, the test was removed, and we 12805 # assume the GNU/Linux dynamic linker is in use. 12806 dynamic_linker='GNU/Linux ld.so' 12807 ;; 12808 | 13565 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 13566 fi 13567 13568 # We used to test for /lib/ld.so.1 and disable shared libraries on 13569 # powerpc, because MkLinux only supported shared libraries with the 13570 # GNU dynamic linker. Since this was broken with cross compilers, 13571 # most powerpc-linux boxes support dynamic linking these days and 13572 # people can always --disable-shared, the test was removed, and we 13573 # assume the GNU/Linux dynamic linker is in use. 13574 dynamic_linker='GNU/Linux ld.so' 13575 ;; 13576 |
12809knetbsd*-gnu) 12810 version_type=linux 12811 need_lib_prefix=no 12812 need_version=no 12813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 12814 soname_spec='${libname}${release}${shared_ext}$major' 12815 shlibpath_var=LD_LIBRARY_PATH 12816 shlibpath_overrides_runpath=no 12817 hardcode_into_libs=yes 12818 dynamic_linker='GNU ld.so' 12819 ;; 12820 | |
12821netbsd*) 12822 version_type=sunos 12823 need_lib_prefix=no 12824 need_version=no 12825 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 12826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 12827 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12828 dynamic_linker='NetBSD (a.out) ld.so' --- 21 unchanged lines hidden (view full) --- 12850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12851 soname_spec='${libname}${release}${shared_ext}$major' 12852 shlibpath_var=LD_LIBRARY_PATH 12853 shlibpath_overrides_runpath=yes 12854 ;; 12855 12856openbsd*) 12857 version_type=sunos | 13577netbsd*) 13578 version_type=sunos 13579 need_lib_prefix=no 13580 need_version=no 13581 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 13582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 13583 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 13584 dynamic_linker='NetBSD (a.out) ld.so' --- 21 unchanged lines hidden (view full) --- 13606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13607 soname_spec='${libname}${release}${shared_ext}$major' 13608 shlibpath_var=LD_LIBRARY_PATH 13609 shlibpath_overrides_runpath=yes 13610 ;; 13611 13612openbsd*) 13613 version_type=sunos |
13614 sys_lib_dlsearch_path_spec="/usr/lib" |
|
12858 need_lib_prefix=no 12859 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 12860 case $host_os in 12861 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 12862 *) need_version=no ;; 12863 esac 12864 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 12865 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' --- 27 unchanged lines hidden (view full) --- 12893 need_version=no 12894 soname_spec='${libname}${release}${shared_ext}$major' 12895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12896 shlibpath_var=LD_LIBRARY_PATH 12897 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12898 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 12899 ;; 12900 | 13615 need_lib_prefix=no 13616 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 13617 case $host_os in 13618 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 13619 *) need_version=no ;; 13620 esac 13621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 13622 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' --- 27 unchanged lines hidden (view full) --- 13650 need_version=no 13651 soname_spec='${libname}${release}${shared_ext}$major' 13652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13653 shlibpath_var=LD_LIBRARY_PATH 13654 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 13655 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 13656 ;; 13657 |
12901sco3.2v5*) 12902 version_type=osf 12903 soname_spec='${libname}${release}${shared_ext}$major' 12904 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12905 shlibpath_var=LD_LIBRARY_PATH | 13658rdos*) 13659 dynamic_linker=no |
12906 ;; 12907 12908solaris*) 12909 version_type=linux 12910 need_lib_prefix=no 12911 need_version=no 12912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12913 soname_spec='${libname}${release}${shared_ext}$major' --- 11 unchanged lines hidden (view full) --- 12925 shlibpath_var=LD_LIBRARY_PATH 12926 shlibpath_overrides_runpath=yes 12927 if test "$with_gnu_ld" = yes; then 12928 need_lib_prefix=no 12929 fi 12930 need_version=yes 12931 ;; 12932 | 13660 ;; 13661 13662solaris*) 13663 version_type=linux 13664 need_lib_prefix=no 13665 need_version=no 13666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13667 soname_spec='${libname}${release}${shared_ext}$major' --- 11 unchanged lines hidden (view full) --- 13679 shlibpath_var=LD_LIBRARY_PATH 13680 shlibpath_overrides_runpath=yes 13681 if test "$with_gnu_ld" = yes; then 13682 need_lib_prefix=no 13683 fi 13684 need_version=yes 13685 ;; 13686 |
12933sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 13687sysv4 | sysv4.3*) |
12934 version_type=linux 12935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12936 soname_spec='${libname}${release}${shared_ext}$major' 12937 shlibpath_var=LD_LIBRARY_PATH 12938 case $host_vendor in 12939 sni) 12940 shlibpath_overrides_runpath=no 12941 need_lib_prefix=no --- 16 unchanged lines hidden (view full) --- 12958 if test -d /usr/nec ;then 12959 version_type=linux 12960 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 12961 soname_spec='$libname${shared_ext}.$major' 12962 shlibpath_var=LD_LIBRARY_PATH 12963 fi 12964 ;; 12965 | 13688 version_type=linux 13689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13690 soname_spec='${libname}${release}${shared_ext}$major' 13691 shlibpath_var=LD_LIBRARY_PATH 13692 case $host_vendor in 13693 sni) 13694 shlibpath_overrides_runpath=no 13695 need_lib_prefix=no --- 16 unchanged lines hidden (view full) --- 13712 if test -d /usr/nec ;then 13713 version_type=linux 13714 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 13715 soname_spec='$libname${shared_ext}.$major' 13716 shlibpath_var=LD_LIBRARY_PATH 13717 fi 13718 ;; 13719 |
13720sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 13721 version_type=freebsd-elf 13722 need_lib_prefix=no 13723 need_version=no 13724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 13725 soname_spec='${libname}${release}${shared_ext}$major' 13726 shlibpath_var=LD_LIBRARY_PATH 13727 hardcode_into_libs=yes 13728 if test "$with_gnu_ld" = yes; then 13729 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 13730 shlibpath_overrides_runpath=no 13731 else 13732 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 13733 shlibpath_overrides_runpath=yes 13734 case $host_os in 13735 sco3.2v5*) 13736 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 13737 ;; 13738 esac 13739 fi 13740 sys_lib_dlsearch_path_spec='/usr/lib' 13741 ;; 13742 |
|
12966uts4*) 12967 version_type=linux 12968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12969 soname_spec='${libname}${release}${shared_ext}$major' 12970 shlibpath_var=LD_LIBRARY_PATH 12971 ;; 12972 12973*) 12974 dynamic_linker=no 12975 ;; 12976esac 12977{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 12978echo "${ECHO_T}$dynamic_linker" >&6; } 12979test "$dynamic_linker" = no && can_build_shared=no 12980 | 13743uts4*) 13744 version_type=linux 13745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13746 soname_spec='${libname}${release}${shared_ext}$major' 13747 shlibpath_var=LD_LIBRARY_PATH 13748 ;; 13749 13750*) 13751 dynamic_linker=no 13752 ;; 13753esac 13754{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 13755echo "${ECHO_T}$dynamic_linker" >&6; } 13756test "$dynamic_linker" = no && can_build_shared=no 13757 |
13758if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 13759 echo $ECHO_N "(cached) $ECHO_C" >&6 13760else 13761 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" 13762fi 13763 13764sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 13765if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 13766 echo $ECHO_N "(cached) $ECHO_C" >&6 13767else 13768 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" 13769fi 13770 13771sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 13772 13773variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 13774if test "$GCC" = yes; then 13775 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 13776fi 13777 |
|
12981{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 12982echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 12983hardcode_action_CXX= 12984if test -n "$hardcode_libdir_flag_spec_CXX" || \ 12985 test -n "$runpath_var_CXX" || \ 12986 test "X$hardcode_automatic_CXX" = "Xyes" ; then 12987 12988 # We can hardcode non-existant directories. --- 21 unchanged lines hidden (view full) --- 13010 # Fast installation is not supported 13011 enable_fast_install=no 13012elif test "$shlibpath_overrides_runpath" = yes || 13013 test "$enable_shared" = no; then 13014 # Fast installation is not necessary 13015 enable_fast_install=needless 13016fi 13017 | 13778{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 13779echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 13780hardcode_action_CXX= 13781if test -n "$hardcode_libdir_flag_spec_CXX" || \ 13782 test -n "$runpath_var_CXX" || \ 13783 test "X$hardcode_automatic_CXX" = "Xyes" ; then 13784 13785 # We can hardcode non-existant directories. --- 21 unchanged lines hidden (view full) --- 13807 # Fast installation is not supported 13808 enable_fast_install=no 13809elif test "$shlibpath_overrides_runpath" = yes || 13810 test "$enable_shared" = no; then 13811 # Fast installation is not necessary 13812 enable_fast_install=needless 13813fi 13814 |
13018striplib= 13019old_striplib= 13020{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 13021echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } 13022if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 13023 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13024 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13025 { echo "$as_me:$LINENO: result: yes" >&5 13026echo "${ECHO_T}yes" >&6; } 13027else 13028# FIXME - insert some real tests, host_os isn't really good enough 13029 case $host_os in 13030 darwin*) 13031 if test -n "$STRIP" ; then 13032 striplib="$STRIP -x" 13033 { echo "$as_me:$LINENO: result: yes" >&5 13034echo "${ECHO_T}yes" >&6; } 13035 else 13036 { echo "$as_me:$LINENO: result: no" >&5 13037echo "${ECHO_T}no" >&6; } 13038fi 13039 ;; 13040 *) 13041 { echo "$as_me:$LINENO: result: no" >&5 13042echo "${ECHO_T}no" >&6; } 13043 ;; 13044 esac 13045fi | |
13046 | 13815 |
13047if test "x$enable_dlopen" != xyes; then 13048 enable_dlopen=unknown 13049 enable_dlopen_self=unknown 13050 enable_dlopen_self_static=unknown 13051else 13052 lt_cv_dlopen=no 13053 lt_cv_dlopen_libs= 13054 13055 case $host_os in 13056 beos*) 13057 lt_cv_dlopen="load_add_on" 13058 lt_cv_dlopen_libs= 13059 lt_cv_dlopen_self=yes 13060 ;; 13061 13062 mingw* | pw32*) 13063 lt_cv_dlopen="LoadLibrary" 13064 lt_cv_dlopen_libs= 13065 ;; 13066 13067 cygwin*) 13068 lt_cv_dlopen="dlopen" 13069 lt_cv_dlopen_libs= 13070 ;; 13071 13072 darwin*) 13073 # if libdl is installed we need to link against it 13074 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 13075echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 13076if test "${ac_cv_lib_dl_dlopen+set}" = set; then 13077 echo $ECHO_N "(cached) $ECHO_C" >&6 13078else 13079 ac_check_lib_save_LIBS=$LIBS 13080LIBS="-ldl $LIBS" 13081cat >conftest.$ac_ext <<_ACEOF 13082/* confdefs.h. */ 13083_ACEOF 13084cat confdefs.h >>conftest.$ac_ext 13085cat >>conftest.$ac_ext <<_ACEOF 13086/* end confdefs.h. */ 13087 13088/* Override any GCC internal prototype to avoid an error. 13089 Use char because int might match the return type of a GCC 13090 builtin and then its argument prototype would still apply. */ 13091#ifdef __cplusplus 13092extern "C" 13093#endif 13094char dlopen (); 13095int 13096main () 13097{ 13098return dlopen (); 13099 ; 13100 return 0; 13101} 13102_ACEOF 13103rm -f conftest.$ac_objext conftest$ac_exeext 13104if { (ac_try="$ac_link" 13105case "(($ac_try" in 13106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13107 *) ac_try_echo=$ac_try;; 13108esac 13109eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13110 (eval "$ac_link") 2>conftest.er1 13111 ac_status=$? 13112 grep -v '^ *+' conftest.er1 >conftest.err 13113 rm -f conftest.er1 13114 cat conftest.err >&5 13115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13116 (exit $ac_status); } && { 13117 test -z "$ac_cxx_werror_flag" || 13118 test ! -s conftest.err 13119 } && test -s conftest$ac_exeext && 13120 $as_test_x conftest$ac_exeext; then 13121 ac_cv_lib_dl_dlopen=yes 13122else 13123 echo "$as_me: failed program was:" >&5 13124sed 's/^/| /' conftest.$ac_ext >&5 13125 13126 ac_cv_lib_dl_dlopen=no 13127fi 13128 13129rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13130 conftest$ac_exeext conftest.$ac_ext 13131LIBS=$ac_check_lib_save_LIBS 13132fi 13133{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 13134echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } 13135if test $ac_cv_lib_dl_dlopen = yes; then 13136 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 13137else 13138 13139 lt_cv_dlopen="dyld" 13140 lt_cv_dlopen_libs= 13141 lt_cv_dlopen_self=yes 13142 13143fi 13144 13145 ;; 13146 13147 *) 13148 { echo "$as_me:$LINENO: checking for shl_load" >&5 13149echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } 13150if test "${ac_cv_func_shl_load+set}" = set; then 13151 echo $ECHO_N "(cached) $ECHO_C" >&6 13152else 13153 cat >conftest.$ac_ext <<_ACEOF 13154/* confdefs.h. */ 13155_ACEOF 13156cat confdefs.h >>conftest.$ac_ext 13157cat >>conftest.$ac_ext <<_ACEOF 13158/* end confdefs.h. */ 13159/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 13160 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13161#define shl_load innocuous_shl_load 13162 13163/* System header to define __stub macros and hopefully few prototypes, 13164 which can conflict with char shl_load (); below. 13165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13166 <limits.h> exists even on freestanding compilers. */ 13167 13168#ifdef __STDC__ 13169# include <limits.h> 13170#else 13171# include <assert.h> 13172#endif 13173 13174#undef shl_load 13175 13176/* Override any GCC internal prototype to avoid an error. 13177 Use char because int might match the return type of a GCC 13178 builtin and then its argument prototype would still apply. */ 13179#ifdef __cplusplus 13180extern "C" 13181#endif 13182char shl_load (); 13183/* The GNU C library defines this for functions which it implements 13184 to always fail with ENOSYS. Some functions are actually named 13185 something starting with __ and the normal name is an alias. */ 13186#if defined __stub_shl_load || defined __stub___shl_load 13187choke me 13188#endif 13189 13190int 13191main () 13192{ 13193return shl_load (); 13194 ; 13195 return 0; 13196} 13197_ACEOF 13198rm -f conftest.$ac_objext conftest$ac_exeext 13199if { (ac_try="$ac_link" 13200case "(($ac_try" in 13201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13202 *) ac_try_echo=$ac_try;; 13203esac 13204eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13205 (eval "$ac_link") 2>conftest.er1 13206 ac_status=$? 13207 grep -v '^ *+' conftest.er1 >conftest.err 13208 rm -f conftest.er1 13209 cat conftest.err >&5 13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13211 (exit $ac_status); } && { 13212 test -z "$ac_cxx_werror_flag" || 13213 test ! -s conftest.err 13214 } && test -s conftest$ac_exeext && 13215 $as_test_x conftest$ac_exeext; then 13216 ac_cv_func_shl_load=yes 13217else 13218 echo "$as_me: failed program was:" >&5 13219sed 's/^/| /' conftest.$ac_ext >&5 13220 13221 ac_cv_func_shl_load=no 13222fi 13223 13224rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13225 conftest$ac_exeext conftest.$ac_ext 13226fi 13227{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 13228echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } 13229if test $ac_cv_func_shl_load = yes; then 13230 lt_cv_dlopen="shl_load" 13231else 13232 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 13233echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } 13234if test "${ac_cv_lib_dld_shl_load+set}" = set; then 13235 echo $ECHO_N "(cached) $ECHO_C" >&6 13236else 13237 ac_check_lib_save_LIBS=$LIBS 13238LIBS="-ldld $LIBS" 13239cat >conftest.$ac_ext <<_ACEOF 13240/* confdefs.h. */ 13241_ACEOF 13242cat confdefs.h >>conftest.$ac_ext 13243cat >>conftest.$ac_ext <<_ACEOF 13244/* end confdefs.h. */ 13245 13246/* Override any GCC internal prototype to avoid an error. 13247 Use char because int might match the return type of a GCC 13248 builtin and then its argument prototype would still apply. */ 13249#ifdef __cplusplus 13250extern "C" 13251#endif 13252char shl_load (); 13253int 13254main () 13255{ 13256return shl_load (); 13257 ; 13258 return 0; 13259} 13260_ACEOF 13261rm -f conftest.$ac_objext conftest$ac_exeext 13262if { (ac_try="$ac_link" 13263case "(($ac_try" in 13264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13265 *) ac_try_echo=$ac_try;; 13266esac 13267eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13268 (eval "$ac_link") 2>conftest.er1 13269 ac_status=$? 13270 grep -v '^ *+' conftest.er1 >conftest.err 13271 rm -f conftest.er1 13272 cat conftest.err >&5 13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13274 (exit $ac_status); } && { 13275 test -z "$ac_cxx_werror_flag" || 13276 test ! -s conftest.err 13277 } && test -s conftest$ac_exeext && 13278 $as_test_x conftest$ac_exeext; then 13279 ac_cv_lib_dld_shl_load=yes 13280else 13281 echo "$as_me: failed program was:" >&5 13282sed 's/^/| /' conftest.$ac_ext >&5 13283 13284 ac_cv_lib_dld_shl_load=no 13285fi 13286 13287rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13288 conftest$ac_exeext conftest.$ac_ext 13289LIBS=$ac_check_lib_save_LIBS 13290fi 13291{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 13292echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } 13293if test $ac_cv_lib_dld_shl_load = yes; then 13294 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" 13295else 13296 { echo "$as_me:$LINENO: checking for dlopen" >&5 13297echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } 13298if test "${ac_cv_func_dlopen+set}" = set; then 13299 echo $ECHO_N "(cached) $ECHO_C" >&6 13300else 13301 cat >conftest.$ac_ext <<_ACEOF 13302/* confdefs.h. */ 13303_ACEOF 13304cat confdefs.h >>conftest.$ac_ext 13305cat >>conftest.$ac_ext <<_ACEOF 13306/* end confdefs.h. */ 13307/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 13308 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13309#define dlopen innocuous_dlopen 13310 13311/* System header to define __stub macros and hopefully few prototypes, 13312 which can conflict with char dlopen (); below. 13313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13314 <limits.h> exists even on freestanding compilers. */ 13315 13316#ifdef __STDC__ 13317# include <limits.h> 13318#else 13319# include <assert.h> 13320#endif 13321 13322#undef dlopen 13323 13324/* Override any GCC internal prototype to avoid an error. 13325 Use char because int might match the return type of a GCC 13326 builtin and then its argument prototype would still apply. */ 13327#ifdef __cplusplus 13328extern "C" 13329#endif 13330char dlopen (); 13331/* The GNU C library defines this for functions which it implements 13332 to always fail with ENOSYS. Some functions are actually named 13333 something starting with __ and the normal name is an alias. */ 13334#if defined __stub_dlopen || defined __stub___dlopen 13335choke me 13336#endif 13337 13338int 13339main () 13340{ 13341return dlopen (); 13342 ; 13343 return 0; 13344} 13345_ACEOF 13346rm -f conftest.$ac_objext conftest$ac_exeext 13347if { (ac_try="$ac_link" 13348case "(($ac_try" in 13349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13350 *) ac_try_echo=$ac_try;; 13351esac 13352eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13353 (eval "$ac_link") 2>conftest.er1 13354 ac_status=$? 13355 grep -v '^ *+' conftest.er1 >conftest.err 13356 rm -f conftest.er1 13357 cat conftest.err >&5 13358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13359 (exit $ac_status); } && { 13360 test -z "$ac_cxx_werror_flag" || 13361 test ! -s conftest.err 13362 } && test -s conftest$ac_exeext && 13363 $as_test_x conftest$ac_exeext; then 13364 ac_cv_func_dlopen=yes 13365else 13366 echo "$as_me: failed program was:" >&5 13367sed 's/^/| /' conftest.$ac_ext >&5 13368 13369 ac_cv_func_dlopen=no 13370fi 13371 13372rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13373 conftest$ac_exeext conftest.$ac_ext 13374fi 13375{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 13376echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } 13377if test $ac_cv_func_dlopen = yes; then 13378 lt_cv_dlopen="dlopen" 13379else 13380 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 13381echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 13382if test "${ac_cv_lib_dl_dlopen+set}" = set; then 13383 echo $ECHO_N "(cached) $ECHO_C" >&6 13384else 13385 ac_check_lib_save_LIBS=$LIBS 13386LIBS="-ldl $LIBS" 13387cat >conftest.$ac_ext <<_ACEOF 13388/* confdefs.h. */ 13389_ACEOF 13390cat confdefs.h >>conftest.$ac_ext 13391cat >>conftest.$ac_ext <<_ACEOF 13392/* end confdefs.h. */ 13393 13394/* Override any GCC internal prototype to avoid an error. 13395 Use char because int might match the return type of a GCC 13396 builtin and then its argument prototype would still apply. */ 13397#ifdef __cplusplus 13398extern "C" 13399#endif 13400char dlopen (); 13401int 13402main () 13403{ 13404return dlopen (); 13405 ; 13406 return 0; 13407} 13408_ACEOF 13409rm -f conftest.$ac_objext conftest$ac_exeext 13410if { (ac_try="$ac_link" 13411case "(($ac_try" in 13412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13413 *) ac_try_echo=$ac_try;; 13414esac 13415eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13416 (eval "$ac_link") 2>conftest.er1 13417 ac_status=$? 13418 grep -v '^ *+' conftest.er1 >conftest.err 13419 rm -f conftest.er1 13420 cat conftest.err >&5 13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13422 (exit $ac_status); } && { 13423 test -z "$ac_cxx_werror_flag" || 13424 test ! -s conftest.err 13425 } && test -s conftest$ac_exeext && 13426 $as_test_x conftest$ac_exeext; then 13427 ac_cv_lib_dl_dlopen=yes 13428else 13429 echo "$as_me: failed program was:" >&5 13430sed 's/^/| /' conftest.$ac_ext >&5 13431 13432 ac_cv_lib_dl_dlopen=no 13433fi 13434 13435rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13436 conftest$ac_exeext conftest.$ac_ext 13437LIBS=$ac_check_lib_save_LIBS 13438fi 13439{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 13440echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } 13441if test $ac_cv_lib_dl_dlopen = yes; then 13442 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 13443else 13444 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 13445echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } 13446if test "${ac_cv_lib_svld_dlopen+set}" = set; then 13447 echo $ECHO_N "(cached) $ECHO_C" >&6 13448else 13449 ac_check_lib_save_LIBS=$LIBS 13450LIBS="-lsvld $LIBS" 13451cat >conftest.$ac_ext <<_ACEOF 13452/* confdefs.h. */ 13453_ACEOF 13454cat confdefs.h >>conftest.$ac_ext 13455cat >>conftest.$ac_ext <<_ACEOF 13456/* end confdefs.h. */ 13457 13458/* Override any GCC internal prototype to avoid an error. 13459 Use char because int might match the return type of a GCC 13460 builtin and then its argument prototype would still apply. */ 13461#ifdef __cplusplus 13462extern "C" 13463#endif 13464char dlopen (); 13465int 13466main () 13467{ 13468return dlopen (); 13469 ; 13470 return 0; 13471} 13472_ACEOF 13473rm -f conftest.$ac_objext conftest$ac_exeext 13474if { (ac_try="$ac_link" 13475case "(($ac_try" in 13476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13477 *) ac_try_echo=$ac_try;; 13478esac 13479eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13480 (eval "$ac_link") 2>conftest.er1 13481 ac_status=$? 13482 grep -v '^ *+' conftest.er1 >conftest.err 13483 rm -f conftest.er1 13484 cat conftest.err >&5 13485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13486 (exit $ac_status); } && { 13487 test -z "$ac_cxx_werror_flag" || 13488 test ! -s conftest.err 13489 } && test -s conftest$ac_exeext && 13490 $as_test_x conftest$ac_exeext; then 13491 ac_cv_lib_svld_dlopen=yes 13492else 13493 echo "$as_me: failed program was:" >&5 13494sed 's/^/| /' conftest.$ac_ext >&5 13495 13496 ac_cv_lib_svld_dlopen=no 13497fi 13498 13499rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13500 conftest$ac_exeext conftest.$ac_ext 13501LIBS=$ac_check_lib_save_LIBS 13502fi 13503{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 13504echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } 13505if test $ac_cv_lib_svld_dlopen = yes; then 13506 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 13507else 13508 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 13509echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } 13510if test "${ac_cv_lib_dld_dld_link+set}" = set; then 13511 echo $ECHO_N "(cached) $ECHO_C" >&6 13512else 13513 ac_check_lib_save_LIBS=$LIBS 13514LIBS="-ldld $LIBS" 13515cat >conftest.$ac_ext <<_ACEOF 13516/* confdefs.h. */ 13517_ACEOF 13518cat confdefs.h >>conftest.$ac_ext 13519cat >>conftest.$ac_ext <<_ACEOF 13520/* end confdefs.h. */ 13521 13522/* Override any GCC internal prototype to avoid an error. 13523 Use char because int might match the return type of a GCC 13524 builtin and then its argument prototype would still apply. */ 13525#ifdef __cplusplus 13526extern "C" 13527#endif 13528char dld_link (); 13529int 13530main () 13531{ 13532return dld_link (); 13533 ; 13534 return 0; 13535} 13536_ACEOF 13537rm -f conftest.$ac_objext conftest$ac_exeext 13538if { (ac_try="$ac_link" 13539case "(($ac_try" in 13540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13541 *) ac_try_echo=$ac_try;; 13542esac 13543eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13544 (eval "$ac_link") 2>conftest.er1 13545 ac_status=$? 13546 grep -v '^ *+' conftest.er1 >conftest.err 13547 rm -f conftest.er1 13548 cat conftest.err >&5 13549 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13550 (exit $ac_status); } && { 13551 test -z "$ac_cxx_werror_flag" || 13552 test ! -s conftest.err 13553 } && test -s conftest$ac_exeext && 13554 $as_test_x conftest$ac_exeext; then 13555 ac_cv_lib_dld_dld_link=yes 13556else 13557 echo "$as_me: failed program was:" >&5 13558sed 's/^/| /' conftest.$ac_ext >&5 13559 13560 ac_cv_lib_dld_dld_link=no 13561fi 13562 13563rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13564 conftest$ac_exeext conftest.$ac_ext 13565LIBS=$ac_check_lib_save_LIBS 13566fi 13567{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 13568echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } 13569if test $ac_cv_lib_dld_dld_link = yes; then 13570 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" 13571fi 13572 13573 13574fi 13575 13576 13577fi 13578 13579 13580fi 13581 13582 13583fi 13584 13585 13586fi 13587 13588 ;; 13589 esac 13590 13591 if test "x$lt_cv_dlopen" != xno; then 13592 enable_dlopen=yes 13593 else 13594 enable_dlopen=no 13595 fi 13596 13597 case $lt_cv_dlopen in 13598 dlopen) 13599 save_CPPFLAGS="$CPPFLAGS" 13600 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 13601 13602 save_LDFLAGS="$LDFLAGS" 13603 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 13604 13605 save_LIBS="$LIBS" 13606 LIBS="$lt_cv_dlopen_libs $LIBS" 13607 13608 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 13609echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } 13610if test "${lt_cv_dlopen_self+set}" = set; then 13611 echo $ECHO_N "(cached) $ECHO_C" >&6 13612else 13613 if test "$cross_compiling" = yes; then : 13614 lt_cv_dlopen_self=cross 13615else 13616 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13617 lt_status=$lt_dlunknown 13618 cat > conftest.$ac_ext <<EOF 13619#line 13619 "configure" 13620#include "confdefs.h" 13621 13622#if HAVE_DLFCN_H 13623#include <dlfcn.h> 13624#endif 13625 13626#include <stdio.h> 13627 13628#ifdef RTLD_GLOBAL 13629# define LT_DLGLOBAL RTLD_GLOBAL 13630#else 13631# ifdef DL_GLOBAL 13632# define LT_DLGLOBAL DL_GLOBAL 13633# else 13634# define LT_DLGLOBAL 0 13635# endif 13636#endif 13637 13638/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13639 find out it does not work in some platform. */ 13640#ifndef LT_DLLAZY_OR_NOW 13641# ifdef RTLD_LAZY 13642# define LT_DLLAZY_OR_NOW RTLD_LAZY 13643# else 13644# ifdef DL_LAZY 13645# define LT_DLLAZY_OR_NOW DL_LAZY 13646# else 13647# ifdef RTLD_NOW 13648# define LT_DLLAZY_OR_NOW RTLD_NOW 13649# else 13650# ifdef DL_NOW 13651# define LT_DLLAZY_OR_NOW DL_NOW 13652# else 13653# define LT_DLLAZY_OR_NOW 0 13654# endif 13655# endif 13656# endif 13657# endif 13658#endif 13659 13660#ifdef __cplusplus 13661extern "C" void exit (int); 13662#endif 13663 13664void fnord() { int i=42;} 13665int main () 13666{ 13667 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13668 int status = $lt_dlunknown; 13669 13670 if (self) 13671 { 13672 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13673 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13674 /* dlclose (self); */ 13675 } 13676 13677 exit (status); 13678} 13679EOF 13680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13681 (eval $ac_link) 2>&5 13682 ac_status=$? 13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13684 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 13685 (./conftest; exit; ) 2>/dev/null 13686 lt_status=$? 13687 case x$lt_status in 13688 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13689 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13690 x$lt_unknown|x*) lt_cv_dlopen_self=no ;; 13691 esac 13692 else : 13693 # compilation failed 13694 lt_cv_dlopen_self=no 13695 fi 13696fi 13697rm -fr conftest* 13698 13699 13700fi 13701{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 13702echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } 13703 13704 if test "x$lt_cv_dlopen_self" = xyes; then 13705 LDFLAGS="$LDFLAGS $link_static_flag" 13706 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 13707echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } 13708if test "${lt_cv_dlopen_self_static+set}" = set; then 13709 echo $ECHO_N "(cached) $ECHO_C" >&6 13710else 13711 if test "$cross_compiling" = yes; then : 13712 lt_cv_dlopen_self_static=cross 13713else 13714 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13715 lt_status=$lt_dlunknown 13716 cat > conftest.$ac_ext <<EOF 13717#line 13717 "configure" 13718#include "confdefs.h" 13719 13720#if HAVE_DLFCN_H 13721#include <dlfcn.h> 13722#endif 13723 13724#include <stdio.h> 13725 13726#ifdef RTLD_GLOBAL 13727# define LT_DLGLOBAL RTLD_GLOBAL 13728#else 13729# ifdef DL_GLOBAL 13730# define LT_DLGLOBAL DL_GLOBAL 13731# else 13732# define LT_DLGLOBAL 0 13733# endif 13734#endif 13735 13736/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13737 find out it does not work in some platform. */ 13738#ifndef LT_DLLAZY_OR_NOW 13739# ifdef RTLD_LAZY 13740# define LT_DLLAZY_OR_NOW RTLD_LAZY 13741# else 13742# ifdef DL_LAZY 13743# define LT_DLLAZY_OR_NOW DL_LAZY 13744# else 13745# ifdef RTLD_NOW 13746# define LT_DLLAZY_OR_NOW RTLD_NOW 13747# else 13748# ifdef DL_NOW 13749# define LT_DLLAZY_OR_NOW DL_NOW 13750# else 13751# define LT_DLLAZY_OR_NOW 0 13752# endif 13753# endif 13754# endif 13755# endif 13756#endif 13757 13758#ifdef __cplusplus 13759extern "C" void exit (int); 13760#endif 13761 13762void fnord() { int i=42;} 13763int main () 13764{ 13765 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13766 int status = $lt_dlunknown; 13767 13768 if (self) 13769 { 13770 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13771 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13772 /* dlclose (self); */ 13773 } 13774 13775 exit (status); 13776} 13777EOF 13778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13779 (eval $ac_link) 2>&5 13780 ac_status=$? 13781 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13782 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 13783 (./conftest; exit; ) 2>/dev/null 13784 lt_status=$? 13785 case x$lt_status in 13786 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13787 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13788 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; 13789 esac 13790 else : 13791 # compilation failed 13792 lt_cv_dlopen_self_static=no 13793 fi 13794fi 13795rm -fr conftest* 13796 13797 13798fi 13799{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 13800echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } 13801 fi 13802 13803 CPPFLAGS="$save_CPPFLAGS" 13804 LDFLAGS="$save_LDFLAGS" 13805 LIBS="$save_LIBS" 13806 ;; 13807 esac 13808 13809 case $lt_cv_dlopen_self in 13810 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13811 *) enable_dlopen_self=unknown ;; 13812 esac 13813 13814 case $lt_cv_dlopen_self_static in 13815 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13816 *) enable_dlopen_self_static=unknown ;; 13817 esac 13818fi 13819 13820 | |
13821# The else clause should only fire when bootstrapping the 13822# libtool distribution, otherwise you forgot to ship ltmain.sh 13823# with your package, and you will get complaints that there are 13824# no rules to generate ltmain.sh. 13825if test -f "$ltmain"; then 13826 # See if we are running on zsh, and set the options which allow our commands through 13827 # without removal of \ escapes. 13828 if test -n "${ZSH_VERSION+set}" ; then 13829 setopt NO_GLOB_SUBST 13830 fi 13831 # Now quote all the things that may contain metacharacters while being 13832 # careful not to overquote the AC_SUBSTed values. We take copies of the 13833 # variables and quote the copies for generation of the libtool script. | 13816# The else clause should only fire when bootstrapping the 13817# libtool distribution, otherwise you forgot to ship ltmain.sh 13818# with your package, and you will get complaints that there are 13819# no rules to generate ltmain.sh. 13820if test -f "$ltmain"; then 13821 # See if we are running on zsh, and set the options which allow our commands through 13822 # without removal of \ escapes. 13823 if test -n "${ZSH_VERSION+set}" ; then 13824 setopt NO_GLOB_SUBST 13825 fi 13826 # Now quote all the things that may contain metacharacters while being 13827 # careful not to overquote the AC_SUBSTed values. We take copies of the 13828 # variables and quote the copies for generation of the libtool script. |
13834 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ | 13829 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
13835 SED SHELL STRIP \ 13836 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 13837 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 13838 deplibs_check_method reload_flag reload_cmds need_locks \ 13839 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 13840 lt_cv_sys_global_symbol_to_c_name_address \ 13841 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 13842 old_postinstall_cmds old_postuninstall_cmds \ --- 10 unchanged lines hidden (view full) --- 13853 enable_shared_with_static_runtimes_CXX \ 13854 old_archive_cmds_CXX \ 13855 old_archive_from_new_cmds_CXX \ 13856 predep_objects_CXX \ 13857 postdep_objects_CXX \ 13858 predeps_CXX \ 13859 postdeps_CXX \ 13860 compiler_lib_search_path_CXX \ | 13830 SED SHELL STRIP \ 13831 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 13832 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 13833 deplibs_check_method reload_flag reload_cmds need_locks \ 13834 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 13835 lt_cv_sys_global_symbol_to_c_name_address \ 13836 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 13837 old_postinstall_cmds old_postuninstall_cmds \ --- 10 unchanged lines hidden (view full) --- 13848 enable_shared_with_static_runtimes_CXX \ 13849 old_archive_cmds_CXX \ 13850 old_archive_from_new_cmds_CXX \ 13851 predep_objects_CXX \ 13852 postdep_objects_CXX \ 13853 predeps_CXX \ 13854 postdeps_CXX \ 13855 compiler_lib_search_path_CXX \ |
13856 compiler_lib_search_dirs_CXX \ |
|
13861 archive_cmds_CXX \ 13862 archive_expsym_cmds_CXX \ 13863 postinstall_cmds_CXX \ 13864 postuninstall_cmds_CXX \ 13865 old_archive_from_expsyms_cmds_CXX \ 13866 allow_undefined_flag_CXX \ 13867 no_undefined_flag_CXX \ 13868 export_symbols_cmds_CXX \ 13869 hardcode_libdir_flag_spec_CXX \ 13870 hardcode_libdir_flag_spec_ld_CXX \ 13871 hardcode_libdir_separator_CXX \ 13872 hardcode_automatic_CXX \ 13873 module_cmds_CXX \ 13874 module_expsym_cmds_CXX \ 13875 lt_cv_prog_compiler_c_o_CXX \ | 13857 archive_cmds_CXX \ 13858 archive_expsym_cmds_CXX \ 13859 postinstall_cmds_CXX \ 13860 postuninstall_cmds_CXX \ 13861 old_archive_from_expsyms_cmds_CXX \ 13862 allow_undefined_flag_CXX \ 13863 no_undefined_flag_CXX \ 13864 export_symbols_cmds_CXX \ 13865 hardcode_libdir_flag_spec_CXX \ 13866 hardcode_libdir_flag_spec_ld_CXX \ 13867 hardcode_libdir_separator_CXX \ 13868 hardcode_automatic_CXX \ 13869 module_cmds_CXX \ 13870 module_expsym_cmds_CXX \ 13871 lt_cv_prog_compiler_c_o_CXX \ |
13872 fix_srcfile_path_CXX \ |
|
13876 exclude_expsyms_CXX \ 13877 include_expsyms_CXX; do 13878 13879 case $var in 13880 old_archive_cmds_CXX | \ 13881 old_archive_from_new_cmds_CXX | \ 13882 archive_cmds_CXX | \ 13883 archive_expsym_cmds_CXX | \ --- 60 unchanged lines hidden (view full) --- 13944 13945# The archiver. 13946AR=$lt_AR 13947AR_FLAGS=$lt_AR_FLAGS 13948 13949# A C compiler. 13950LTCC=$lt_LTCC 13951 | 13873 exclude_expsyms_CXX \ 13874 include_expsyms_CXX; do 13875 13876 case $var in 13877 old_archive_cmds_CXX | \ 13878 old_archive_from_new_cmds_CXX | \ 13879 archive_cmds_CXX | \ 13880 archive_expsym_cmds_CXX | \ --- 60 unchanged lines hidden (view full) --- 13941 13942# The archiver. 13943AR=$lt_AR 13944AR_FLAGS=$lt_AR_FLAGS 13945 13946# A C compiler. 13947LTCC=$lt_LTCC 13948 |
13949# LTCC compiler flags. 13950LTCFLAGS=$lt_LTCFLAGS 13951 |
|
13952# A language-specific compiler. 13953CC=$lt_compiler_CXX 13954 13955# Is the compiler the GNU C compiler? 13956with_gcc=$GCC_CXX 13957 13958# An ERE matcher. 13959EGREP=$lt_EGREP --- 137 unchanged lines hidden (view full) --- 14097# Dependencies to place before the objects being linked to create a 14098# shared library. 14099predeps=$lt_predeps_CXX 14100 14101# Dependencies to place after the objects being linked to create a 14102# shared library. 14103postdeps=$lt_postdeps_CXX 14104 | 13952# A language-specific compiler. 13953CC=$lt_compiler_CXX 13954 13955# Is the compiler the GNU C compiler? 13956with_gcc=$GCC_CXX 13957 13958# An ERE matcher. 13959EGREP=$lt_EGREP --- 137 unchanged lines hidden (view full) --- 14097# Dependencies to place before the objects being linked to create a 14098# shared library. 14099predeps=$lt_predeps_CXX 14100 14101# Dependencies to place after the objects being linked to create a 14102# shared library. 14103postdeps=$lt_postdeps_CXX 14104 |
14105# The directories searched by this compiler when creating a shared 14106# library 14107compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 14108 |
|
14105# The library search path used internally by the compiler when linking 14106# a shared library. 14107compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 14108 14109# Method to check whether dependent libraries are shared objects. 14110deplibs_check_method=$lt_deplibs_check_method 14111 14112# Command to use when deplibs_check_method == file_magic. --- 72 unchanged lines hidden (view full) --- 14185 14186# Compile-time system search path for libraries 14187sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14188 14189# Run-time system search path for libraries 14190sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 14191 14192# Fix the shell variable \$srcfile for the compiler. | 14109# The library search path used internally by the compiler when linking 14110# a shared library. 14111compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 14112 14113# Method to check whether dependent libraries are shared objects. 14114deplibs_check_method=$lt_deplibs_check_method 14115 14116# Command to use when deplibs_check_method == file_magic. --- 72 unchanged lines hidden (view full) --- 14189 14190# Compile-time system search path for libraries 14191sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14192 14193# Run-time system search path for libraries 14194sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 14195 14196# Fix the shell variable \$srcfile for the compiler. |
14193fix_srcfile_path="$fix_srcfile_path_CXX" | 14197fix_srcfile_path=$lt_fix_srcfile_path |
14194 14195# Set to yes if exported symbols are required. 14196always_export_symbols=$always_export_symbols_CXX 14197 14198# The commands to list exported symbols. 14199export_symbols_cmds=$lt_export_symbols_cmds_CXX 14200 14201# The commands to extract the exported symbol list from a shared archive. --- 74 unchanged lines hidden (view full) --- 14276# Source file extension for f77 test sources. 14277ac_ext=f 14278 14279# Object file extension for compiled f77 test sources. 14280objext=o 14281objext_F77=$objext 14282 14283# Code to be used in simple compile tests | 14198 14199# Set to yes if exported symbols are required. 14200always_export_symbols=$always_export_symbols_CXX 14201 14202# The commands to list exported symbols. 14203export_symbols_cmds=$lt_export_symbols_cmds_CXX 14204 14205# The commands to extract the exported symbol list from a shared archive. --- 74 unchanged lines hidden (view full) --- 14280# Source file extension for f77 test sources. 14281ac_ext=f 14282 14283# Object file extension for compiled f77 test sources. 14284objext=o 14285objext_F77=$objext 14286 14287# Code to be used in simple compile tests |
14284lt_simple_compile_test_code=" subroutine t\n return\n end\n" | 14288lt_simple_compile_test_code="\ 14289 subroutine t 14290 return 14291 end 14292" |
14285 14286# Code to be used in simple link tests | 14293 14294# Code to be used in simple link tests |
14287lt_simple_link_test_code=" program t\n end\n" | 14295lt_simple_link_test_code="\ 14296 program t 14297 end 14298" |
14288 14289# ltmain only uses $CC for tagged configurations so make sure $CC is set. 14290 14291# If no C compiler was specified, use CC. 14292LTCC=${LTCC-"$CC"} 14293 | 14299 14300# ltmain only uses $CC for tagged configurations so make sure $CC is set. 14301 14302# If no C compiler was specified, use CC. 14303LTCC=${LTCC-"$CC"} 14304 |
14305# If no C compiler flags were specified, use CFLAGS. 14306LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 14307 |
|
14294# Allow CC to be a program name with arguments. 14295compiler=$CC 14296 14297 14298# save warnings/boilerplate of simple test code 14299ac_outfile=conftest.$ac_objext | 14308# Allow CC to be a program name with arguments. 14309compiler=$CC 14310 14311 14312# save warnings/boilerplate of simple test code 14313ac_outfile=conftest.$ac_objext |
14300printf "$lt_simple_compile_test_code" >conftest.$ac_ext 14301eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err | 14314echo "$lt_simple_compile_test_code" >conftest.$ac_ext 14315eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
14302_lt_compiler_boilerplate=`cat conftest.err` 14303$rm conftest* 14304 14305ac_outfile=conftest.$ac_objext | 14316_lt_compiler_boilerplate=`cat conftest.err` 14317$rm conftest* 14318 14319ac_outfile=conftest.$ac_objext |
14306printf "$lt_simple_link_test_code" >conftest.$ac_ext 14307eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err | 14320echo "$lt_simple_link_test_code" >conftest.$ac_ext 14321eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
14308_lt_linker_boilerplate=`cat conftest.err` | 14322_lt_linker_boilerplate=`cat conftest.err` |
14309$rm conftest* | 14323$rm -r conftest* |
14310 14311 14312# Allow CC to be a program name with arguments. 14313lt_save_CC="$CC" 14314CC=${F77-"f77"} 14315compiler=$CC 14316compiler_F77=$CC 14317for cc_temp in $compiler""; do --- 13 unchanged lines hidden (view full) --- 14331echo "${ECHO_T}$can_build_shared" >&6; } 14332 14333{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 14334echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } 14335test "$can_build_shared" = "no" && enable_shared=no 14336 14337# On AIX, shared libraries and static libraries use the same namespace, and 14338# are all built from PIC. | 14324 14325 14326# Allow CC to be a program name with arguments. 14327lt_save_CC="$CC" 14328CC=${F77-"f77"} 14329compiler=$CC 14330compiler_F77=$CC 14331for cc_temp in $compiler""; do --- 13 unchanged lines hidden (view full) --- 14345echo "${ECHO_T}$can_build_shared" >&6; } 14346 14347{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 14348echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } 14349test "$can_build_shared" = "no" && enable_shared=no 14350 14351# On AIX, shared libraries and static libraries use the same namespace, and 14352# are all built from PIC. |
14339case "$host_os" in | 14353case $host_os in |
14340aix3*) 14341 test "$enable_shared" = yes && enable_static=no 14342 if test -n "$RANLIB"; then 14343 archive_cmds="$archive_cmds~\$RANLIB \$lib" 14344 postinstall_cmds='$RANLIB $lib' 14345 fi 14346 ;; | 14354aix3*) 14355 test "$enable_shared" = yes && enable_static=no 14356 if test -n "$RANLIB"; then 14357 archive_cmds="$archive_cmds~\$RANLIB \$lib" 14358 postinstall_cmds='$RANLIB $lib' 14359 fi 14360 ;; |
14347aix4* | aix5*) | 14361aix[4-9]*) |
14348 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 14349 test "$enable_shared" = yes && enable_static=no 14350 fi 14351 ;; 14352esac 14353{ echo "$as_me:$LINENO: result: $enable_shared" >&5 14354echo "${ECHO_T}$enable_shared" >&6; } 14355 14356{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5 14357echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } 14358# Make sure either enable_shared or enable_static is yes. 14359test "$enable_shared" = yes || enable_static=yes 14360{ echo "$as_me:$LINENO: result: $enable_static" >&5 14361echo "${ECHO_T}$enable_static" >&6; } 14362 | 14362 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 14363 test "$enable_shared" = yes && enable_static=no 14364 fi 14365 ;; 14366esac 14367{ echo "$as_me:$LINENO: result: $enable_shared" >&5 14368echo "${ECHO_T}$enable_shared" >&6; } 14369 14370{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5 14371echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } 14372# Make sure either enable_shared or enable_static is yes. 14373test "$enable_shared" = yes || enable_static=yes 14374{ echo "$as_me:$LINENO: result: $enable_static" >&5 14375echo "${ECHO_T}$enable_static" >&6; } 14376 |
14363test "$ld_shlibs_F77" = no && can_build_shared=no 14364 | |
14365GCC_F77="$G77" 14366LD_F77="$LD" 14367 14368lt_prog_compiler_wl_F77= 14369lt_prog_compiler_pic_F77= 14370lt_prog_compiler_static_F77= 14371 14372{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 --- 14 unchanged lines hidden (view full) --- 14387 14388 amigaos*) 14389 # FIXME: we need at least 68020 code to build shared libraries, but 14390 # adding the `-m68020' flag to GCC prevents building anything better, 14391 # like `-m68040'. 14392 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' 14393 ;; 14394 | 14377GCC_F77="$G77" 14378LD_F77="$LD" 14379 14380lt_prog_compiler_wl_F77= 14381lt_prog_compiler_pic_F77= 14382lt_prog_compiler_static_F77= 14383 14384{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 --- 14 unchanged lines hidden (view full) --- 14399 14400 amigaos*) 14401 # FIXME: we need at least 68020 code to build shared libraries, but 14402 # adding the `-m68020' flag to GCC prevents building anything better, 14403 # like `-m68040'. 14404 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' 14405 ;; 14406 |
14395 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 14407 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
14396 # PIC is the default for these OSes. 14397 ;; 14398 | 14408 # PIC is the default for these OSes. 14409 ;; 14410 |
14399 mingw* | pw32* | os2*) | 14411 mingw* | cygwin* | pw32* | os2*) |
14400 # This hack is so that the source file can tell whether it is being 14401 # built for inclusion in a dll (and should export symbols for example). | 14412 # This hack is so that the source file can tell whether it is being 14413 # built for inclusion in a dll (and should export symbols for example). |
14414 # Although the cygwin gcc ignores -fPIC, still need this for old-style 14415 # (--disable-auto-import) libraries |
|
14402 lt_prog_compiler_pic_F77='-DDLL_EXPORT' 14403 ;; 14404 14405 darwin* | rhapsody*) 14406 # PIC is the default on this platform 14407 # Common symbols not allowed in MH_DYLIB files 14408 lt_prog_compiler_pic_F77='-fno-common' 14409 ;; 14410 | 14416 lt_prog_compiler_pic_F77='-DDLL_EXPORT' 14417 ;; 14418 14419 darwin* | rhapsody*) 14420 # PIC is the default on this platform 14421 # Common symbols not allowed in MH_DYLIB files 14422 lt_prog_compiler_pic_F77='-fno-common' 14423 ;; 14424 |
14425 interix[3-9]*) 14426 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 14427 # Instead, we relocate shared libraries at runtime. 14428 ;; 14429 |
|
14411 msdosdjgpp*) 14412 # Just because we use GCC doesn't mean we suddenly get shared libraries 14413 # on systems that don't support them. 14414 lt_prog_compiler_can_build_shared_F77=no 14415 enable_shared=no 14416 ;; 14417 14418 sysv4*MP*) 14419 if test -d /usr/nec; then 14420 lt_prog_compiler_pic_F77=-Kconform_pic 14421 fi 14422 ;; 14423 14424 hpux*) 14425 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 14426 # not for PA HP-UX. | 14430 msdosdjgpp*) 14431 # Just because we use GCC doesn't mean we suddenly get shared libraries 14432 # on systems that don't support them. 14433 lt_prog_compiler_can_build_shared_F77=no 14434 enable_shared=no 14435 ;; 14436 14437 sysv4*MP*) 14438 if test -d /usr/nec; then 14439 lt_prog_compiler_pic_F77=-Kconform_pic 14440 fi 14441 ;; 14442 14443 hpux*) 14444 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 14445 # not for PA HP-UX. |
14427 case "$host_cpu" in | 14446 case $host_cpu in |
14428 hppa*64*|ia64*) 14429 # +Z the default 14430 ;; 14431 *) 14432 lt_prog_compiler_pic_F77='-fPIC' 14433 ;; 14434 esac 14435 ;; --- 20 unchanged lines hidden (view full) --- 14456 case $cc_basename in 14457 xlc*) 14458 lt_prog_compiler_pic_F77='-qnocommon' 14459 lt_prog_compiler_wl_F77='-Wl,' 14460 ;; 14461 esac 14462 ;; 14463 | 14447 hppa*64*|ia64*) 14448 # +Z the default 14449 ;; 14450 *) 14451 lt_prog_compiler_pic_F77='-fPIC' 14452 ;; 14453 esac 14454 ;; --- 20 unchanged lines hidden (view full) --- 14475 case $cc_basename in 14476 xlc*) 14477 lt_prog_compiler_pic_F77='-qnocommon' 14478 lt_prog_compiler_wl_F77='-Wl,' 14479 ;; 14480 esac 14481 ;; 14482 |
14464 mingw* | pw32* | os2*) | 14483 mingw* | cygwin* | pw32* | os2*) |
14465 # This hack is so that the source file can tell whether it is being 14466 # built for inclusion in a dll (and should export symbols for example). 14467 lt_prog_compiler_pic_F77='-DDLL_EXPORT' 14468 ;; 14469 14470 hpux9* | hpux10* | hpux11*) 14471 lt_prog_compiler_wl_F77='-Wl,' 14472 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 14473 # not for PA HP-UX. | 14484 # This hack is so that the source file can tell whether it is being 14485 # built for inclusion in a dll (and should export symbols for example). 14486 lt_prog_compiler_pic_F77='-DDLL_EXPORT' 14487 ;; 14488 14489 hpux9* | hpux10* | hpux11*) 14490 lt_prog_compiler_wl_F77='-Wl,' 14491 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 14492 # not for PA HP-UX. |
14474 case "$host_cpu" in | 14493 case $host_cpu in |
14475 hppa*64*|ia64*) 14476 # +Z the default 14477 ;; 14478 *) 14479 lt_prog_compiler_pic_F77='+Z' 14480 ;; 14481 esac 14482 # Is there a better lt_prog_compiler_static that works with the bundled CC? --- 6 unchanged lines hidden (view full) --- 14489 lt_prog_compiler_static_F77='-non_shared' 14490 ;; 14491 14492 newsos6) 14493 lt_prog_compiler_pic_F77='-KPIC' 14494 lt_prog_compiler_static_F77='-Bstatic' 14495 ;; 14496 | 14494 hppa*64*|ia64*) 14495 # +Z the default 14496 ;; 14497 *) 14498 lt_prog_compiler_pic_F77='+Z' 14499 ;; 14500 esac 14501 # Is there a better lt_prog_compiler_static that works with the bundled CC? --- 6 unchanged lines hidden (view full) --- 14508 lt_prog_compiler_static_F77='-non_shared' 14509 ;; 14510 14511 newsos6) 14512 lt_prog_compiler_pic_F77='-KPIC' 14513 lt_prog_compiler_static_F77='-Bstatic' 14514 ;; 14515 |
14497 linux*) | 14516 linux* | k*bsd*-gnu) |
14498 case $cc_basename in 14499 icc* | ecc*) 14500 lt_prog_compiler_wl_F77='-Wl,' 14501 lt_prog_compiler_pic_F77='-KPIC' 14502 lt_prog_compiler_static_F77='-static' 14503 ;; | 14517 case $cc_basename in 14518 icc* | ecc*) 14519 lt_prog_compiler_wl_F77='-Wl,' 14520 lt_prog_compiler_pic_F77='-KPIC' 14521 lt_prog_compiler_static_F77='-static' 14522 ;; |
14504 pgcc* | pgf77* | pgf90*) | 14523 pgcc* | pgf77* | pgf90* | pgf95*) |
14505 # Portland Group compilers (*not* the Pentium gcc compiler, 14506 # which looks to be a dead project) 14507 lt_prog_compiler_wl_F77='-Wl,' 14508 lt_prog_compiler_pic_F77='-fpic' | 14524 # Portland Group compilers (*not* the Pentium gcc compiler, 14525 # which looks to be a dead project) 14526 lt_prog_compiler_wl_F77='-Wl,' 14527 lt_prog_compiler_pic_F77='-fpic' |
14509 lt_prog_compiler_static_F77='-static' | 14528 lt_prog_compiler_static_F77='-Bstatic' |
14510 ;; 14511 ccc*) 14512 lt_prog_compiler_wl_F77='-Wl,' 14513 # All Alpha code is PIC. 14514 lt_prog_compiler_static_F77='-non_shared' 14515 ;; | 14529 ;; 14530 ccc*) 14531 lt_prog_compiler_wl_F77='-Wl,' 14532 # All Alpha code is PIC. 14533 lt_prog_compiler_static_F77='-non_shared' 14534 ;; |
14535 *) 14536 case `$CC -V 2>&1 | sed 5q` in 14537 *Sun\ C*) 14538 # Sun C 5.9 14539 lt_prog_compiler_pic_F77='-KPIC' 14540 lt_prog_compiler_static_F77='-Bstatic' 14541 lt_prog_compiler_wl_F77='-Wl,' 14542 ;; 14543 *Sun\ F*) 14544 # Sun Fortran 8.3 passes all unrecognized flags to the linker 14545 lt_prog_compiler_pic_F77='-KPIC' 14546 lt_prog_compiler_static_F77='-Bstatic' 14547 lt_prog_compiler_wl_F77='' 14548 ;; 14549 esac 14550 ;; |
|
14516 esac 14517 ;; 14518 14519 osf3* | osf4* | osf5*) 14520 lt_prog_compiler_wl_F77='-Wl,' 14521 # All OSF/1 code is PIC. 14522 lt_prog_compiler_static_F77='-non_shared' 14523 ;; 14524 | 14551 esac 14552 ;; 14553 14554 osf3* | osf4* | osf5*) 14555 lt_prog_compiler_wl_F77='-Wl,' 14556 # All OSF/1 code is PIC. 14557 lt_prog_compiler_static_F77='-non_shared' 14558 ;; 14559 |
14525 sco3.2v5*) 14526 lt_prog_compiler_pic_F77='-Kpic' 14527 lt_prog_compiler_static_F77='-dn' | 14560 rdos*) 14561 lt_prog_compiler_static_F77='-non_shared' |
14528 ;; 14529 14530 solaris*) 14531 lt_prog_compiler_pic_F77='-KPIC' 14532 lt_prog_compiler_static_F77='-Bstatic' 14533 case $cc_basename in 14534 f77* | f90* | f95*) 14535 lt_prog_compiler_wl_F77='-Qoption ld ';; 14536 *) 14537 lt_prog_compiler_wl_F77='-Wl,';; 14538 esac 14539 ;; 14540 14541 sunos4*) 14542 lt_prog_compiler_wl_F77='-Qoption ld ' 14543 lt_prog_compiler_pic_F77='-PIC' 14544 lt_prog_compiler_static_F77='-Bstatic' 14545 ;; 14546 | 14562 ;; 14563 14564 solaris*) 14565 lt_prog_compiler_pic_F77='-KPIC' 14566 lt_prog_compiler_static_F77='-Bstatic' 14567 case $cc_basename in 14568 f77* | f90* | f95*) 14569 lt_prog_compiler_wl_F77='-Qoption ld ';; 14570 *) 14571 lt_prog_compiler_wl_F77='-Wl,';; 14572 esac 14573 ;; 14574 14575 sunos4*) 14576 lt_prog_compiler_wl_F77='-Qoption ld ' 14577 lt_prog_compiler_pic_F77='-PIC' 14578 lt_prog_compiler_static_F77='-Bstatic' 14579 ;; 14580 |
14547 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 14581 sysv4 | sysv4.2uw2* | sysv4.3*) |
14548 lt_prog_compiler_wl_F77='-Wl,' 14549 lt_prog_compiler_pic_F77='-KPIC' 14550 lt_prog_compiler_static_F77='-Bstatic' 14551 ;; 14552 14553 sysv4*MP*) 14554 if test -d /usr/nec ;then 14555 lt_prog_compiler_pic_F77='-Kconform_pic' 14556 lt_prog_compiler_static_F77='-Bstatic' 14557 fi 14558 ;; 14559 | 14582 lt_prog_compiler_wl_F77='-Wl,' 14583 lt_prog_compiler_pic_F77='-KPIC' 14584 lt_prog_compiler_static_F77='-Bstatic' 14585 ;; 14586 14587 sysv4*MP*) 14588 if test -d /usr/nec ;then 14589 lt_prog_compiler_pic_F77='-Kconform_pic' 14590 lt_prog_compiler_static_F77='-Bstatic' 14591 fi 14592 ;; 14593 |
14594 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 14595 lt_prog_compiler_wl_F77='-Wl,' 14596 lt_prog_compiler_pic_F77='-KPIC' 14597 lt_prog_compiler_static_F77='-Bstatic' 14598 ;; 14599 |
|
14560 unicos*) 14561 lt_prog_compiler_wl_F77='-Wl,' 14562 lt_prog_compiler_can_build_shared_F77=no 14563 ;; 14564 14565 uts4*) 14566 lt_prog_compiler_pic_F77='-pic' 14567 lt_prog_compiler_static_F77='-Bstatic' --- 10 unchanged lines hidden (view full) --- 14578 14579# 14580# Check to make sure the PIC flag actually works. 14581# 14582if test -n "$lt_prog_compiler_pic_F77"; then 14583 14584{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 14585echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; } | 14600 unicos*) 14601 lt_prog_compiler_wl_F77='-Wl,' 14602 lt_prog_compiler_can_build_shared_F77=no 14603 ;; 14604 14605 uts4*) 14606 lt_prog_compiler_pic_F77='-pic' 14607 lt_prog_compiler_static_F77='-Bstatic' --- 10 unchanged lines hidden (view full) --- 14618 14619# 14620# Check to make sure the PIC flag actually works. 14621# 14622if test -n "$lt_prog_compiler_pic_F77"; then 14623 14624{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 14625echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; } |
14586if test "${lt_prog_compiler_pic_works_F77+set}" = set; then | 14626if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then |
14587 echo $ECHO_N "(cached) $ECHO_C" >&6 14588else | 14627 echo $ECHO_N "(cached) $ECHO_C" >&6 14628else |
14589 lt_prog_compiler_pic_works_F77=no | 14629 lt_cv_prog_compiler_pic_works_F77=no |
14590 ac_outfile=conftest.$ac_objext | 14630 ac_outfile=conftest.$ac_objext |
14591 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 14631 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
14592 lt_compiler_flag="$lt_prog_compiler_pic_F77" 14593 # Insert the option either (1) after the last *FLAGS variable, or 14594 # (2) before a word containing "conftest.", or (3) at the end. 14595 # Note that $ac_compile itself does not contain backslashes and begins 14596 # with a dollar sign (not a hyphen), so the echo should work correctly. 14597 # The option is referenced via a variable to avoid confusing sed. 14598 lt_compile=`echo "$ac_compile" | $SED \ | 14632 lt_compiler_flag="$lt_prog_compiler_pic_F77" 14633 # Insert the option either (1) after the last *FLAGS variable, or 14634 # (2) before a word containing "conftest.", or (3) at the end. 14635 # Note that $ac_compile itself does not contain backslashes and begins 14636 # with a dollar sign (not a hyphen), so the echo should work correctly. 14637 # The option is referenced via a variable to avoid confusing sed. 14638 lt_compile=`echo "$ac_compile" | $SED \ |
14599 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 14639 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
14600 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14601 -e 's:$: $lt_compiler_flag:'` | 14640 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14641 -e 's:$: $lt_compiler_flag:'` |
14602 (eval echo "\"\$as_me:14602: $lt_compile\"" >&5) | 14642 (eval echo "\"\$as_me:14642: $lt_compile\"" >&5) |
14603 (eval "$lt_compile" 2>conftest.err) 14604 ac_status=$? 14605 cat conftest.err >&5 | 14643 (eval "$lt_compile" 2>conftest.err) 14644 ac_status=$? 14645 cat conftest.err >&5 |
14606 echo "$as_me:14606: \$? = $ac_status" >&5 | 14646 echo "$as_me:14646: \$? = $ac_status" >&5 |
14607 if (exit $ac_status) && test -s "$ac_outfile"; then 14608 # The compiler can only warn and ignore the option if not recognized 14609 # So say no if there are warnings other than the usual output. | 14647 if (exit $ac_status) && test -s "$ac_outfile"; then 14648 # The compiler can only warn and ignore the option if not recognized 14649 # So say no if there are warnings other than the usual output. |
14610 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp 14611 $SED '/^$/d' conftest.err >conftest.er2 14612 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then 14613 lt_prog_compiler_pic_works_F77=yes | 14650 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 14651 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14652 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 14653 lt_cv_prog_compiler_pic_works_F77=yes |
14614 fi 14615 fi 14616 $rm conftest* 14617 14618fi | 14654 fi 14655 fi 14656 $rm conftest* 14657 14658fi |
14619{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 14620echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; } | 14659{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5 14660echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; } |
14621 | 14661 |
14622if test x"$lt_prog_compiler_pic_works_F77" = xyes; then | 14662if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then |
14623 case $lt_prog_compiler_pic_F77 in 14624 "" | " "*) ;; 14625 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; 14626 esac 14627else 14628 lt_prog_compiler_pic_F77= 14629 lt_prog_compiler_can_build_shared_F77=no 14630fi 14631 14632fi | 14663 case $lt_prog_compiler_pic_F77 in 14664 "" | " "*) ;; 14665 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; 14666 esac 14667else 14668 lt_prog_compiler_pic_F77= 14669 lt_prog_compiler_can_build_shared_F77=no 14670fi 14671 14672fi |
14633case "$host_os" in | 14673case $host_os in |
14634 # For platforms which do not support PIC, -DPIC is meaningless: 14635 *djgpp*) 14636 lt_prog_compiler_pic_F77= 14637 ;; 14638 *) 14639 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" 14640 ;; 14641esac 14642 | 14674 # For platforms which do not support PIC, -DPIC is meaningless: 14675 *djgpp*) 14676 lt_prog_compiler_pic_F77= 14677 ;; 14678 *) 14679 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" 14680 ;; 14681esac 14682 |
14683# 14684# Check to make sure the static flag actually works. 14685# 14686wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" 14687{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 14688echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } 14689if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then 14690 echo $ECHO_N "(cached) $ECHO_C" >&6 14691else 14692 lt_cv_prog_compiler_static_works_F77=no 14693 save_LDFLAGS="$LDFLAGS" 14694 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 14695 echo "$lt_simple_link_test_code" > conftest.$ac_ext 14696 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 14697 # The linker can only warn and ignore the option if not recognized 14698 # So say no if there are warnings 14699 if test -s conftest.err; then 14700 # Append any errors to the config.log. 14701 cat conftest.err 1>&5 14702 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 14703 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14704 if diff conftest.exp conftest.er2 >/dev/null; then 14705 lt_cv_prog_compiler_static_works_F77=yes 14706 fi 14707 else 14708 lt_cv_prog_compiler_static_works_F77=yes 14709 fi 14710 fi 14711 $rm -r conftest* 14712 LDFLAGS="$save_LDFLAGS" 14713 14714fi 14715{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5 14716echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; } 14717 14718if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then 14719 : 14720else 14721 lt_prog_compiler_static_F77= 14722fi 14723 14724 |
|
14643{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 14644echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 14645if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then 14646 echo $ECHO_N "(cached) $ECHO_C" >&6 14647else 14648 lt_cv_prog_compiler_c_o_F77=no 14649 $rm -r conftest 2>/dev/null 14650 mkdir conftest 14651 cd conftest 14652 mkdir out | 14725{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 14726echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 14727if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then 14728 echo $ECHO_N "(cached) $ECHO_C" >&6 14729else 14730 lt_cv_prog_compiler_c_o_F77=no 14731 $rm -r conftest 2>/dev/null 14732 mkdir conftest 14733 cd conftest 14734 mkdir out |
14653 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 14735 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
14654 14655 lt_compiler_flag="-o out/conftest2.$ac_objext" 14656 # Insert the option either (1) after the last *FLAGS variable, or 14657 # (2) before a word containing "conftest.", or (3) at the end. 14658 # Note that $ac_compile itself does not contain backslashes and begins 14659 # with a dollar sign (not a hyphen), so the echo should work correctly. 14660 lt_compile=`echo "$ac_compile" | $SED \ | 14736 14737 lt_compiler_flag="-o out/conftest2.$ac_objext" 14738 # Insert the option either (1) after the last *FLAGS variable, or 14739 # (2) before a word containing "conftest.", or (3) at the end. 14740 # Note that $ac_compile itself does not contain backslashes and begins 14741 # with a dollar sign (not a hyphen), so the echo should work correctly. 14742 lt_compile=`echo "$ac_compile" | $SED \ |
14661 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 14743 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
14662 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14663 -e 's:$: $lt_compiler_flag:'` | 14744 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14745 -e 's:$: $lt_compiler_flag:'` |
14664 (eval echo "\"\$as_me:14664: $lt_compile\"" >&5) | 14746 (eval echo "\"\$as_me:14746: $lt_compile\"" >&5) |
14665 (eval "$lt_compile" 2>out/conftest.err) 14666 ac_status=$? 14667 cat out/conftest.err >&5 | 14747 (eval "$lt_compile" 2>out/conftest.err) 14748 ac_status=$? 14749 cat out/conftest.err >&5 |
14668 echo "$as_me:14668: \$? = $ac_status" >&5 | 14750 echo "$as_me:14750: \$? = $ac_status" >&5 |
14669 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14670 then 14671 # The compiler can only warn and ignore the option if not recognized 14672 # So say no if there are warnings | 14751 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14752 then 14753 # The compiler can only warn and ignore the option if not recognized 14754 # So say no if there are warnings |
14673 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp 14674 $SED '/^$/d' out/conftest.err >out/conftest.er2 14675 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then | 14755 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 14756 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14757 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
14676 lt_cv_prog_compiler_c_o_F77=yes 14677 fi 14678 fi | 14758 lt_cv_prog_compiler_c_o_F77=yes 14759 fi 14760 fi |
14679 chmod u+w . | 14761 chmod u+w . 2>&5 |
14680 $rm conftest* 14681 # SGI C++ compiler will create directory out/ii_files/ for 14682 # template instantiation 14683 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 14684 $rm out/* && rmdir out 14685 cd .. 14686 rmdir conftest 14687 $rm conftest* --- 52 unchanged lines hidden (view full) --- 14740 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14741 # include_expsyms should be a list of space-separated symbols to be *always* 14742 # included in the symbol list 14743 include_expsyms_F77= 14744 # exclude_expsyms can be an extended regexp of symbols to exclude 14745 # it will be wrapped by ` (' and `)$', so one must not match beginning or 14746 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 14747 # as well as any symbol that contains `d'. | 14762 $rm conftest* 14763 # SGI C++ compiler will create directory out/ii_files/ for 14764 # template instantiation 14765 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 14766 $rm out/* && rmdir out 14767 cd .. 14768 rmdir conftest 14769 $rm conftest* --- 52 unchanged lines hidden (view full) --- 14822 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14823 # include_expsyms should be a list of space-separated symbols to be *always* 14824 # included in the symbol list 14825 include_expsyms_F77= 14826 # exclude_expsyms can be an extended regexp of symbols to exclude 14827 # it will be wrapped by ` (' and `)$', so one must not match beginning or 14828 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 14829 # as well as any symbol that contains `d'. |
14748 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" | 14830 exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
14749 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 14750 # platforms (ab)use it in PIC code, but their linkers get confused if 14751 # the symbol is explicitly referenced. Since portable code cannot 14752 # rely on this symbol name, it's probably fine to never include it in 14753 # preloaded symbol tables. | 14831 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 14832 # platforms (ab)use it in PIC code, but their linkers get confused if 14833 # the symbol is explicitly referenced. Since portable code cannot 14834 # rely on this symbol name, it's probably fine to never include it in 14835 # preloaded symbol tables. |
14836 # Exclude shared library initialization/finalization symbols. |
|
14754 extract_expsyms_cmds= 14755 # Just being paranoid about ensuring that cc_basename is set. 14756 for cc_temp in $compiler""; do 14757 case $cc_temp in 14758 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 14759 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 14760 \-*) ;; 14761 *) break;; --- 5 unchanged lines hidden (view full) --- 14767 cygwin* | mingw* | pw32*) 14768 # FIXME: the MSVC++ port hasn't been tested in a loooong time 14769 # When not using gcc, we currently assume that we are using 14770 # Microsoft Visual C++. 14771 if test "$GCC" != yes; then 14772 with_gnu_ld=no 14773 fi 14774 ;; | 14837 extract_expsyms_cmds= 14838 # Just being paranoid about ensuring that cc_basename is set. 14839 for cc_temp in $compiler""; do 14840 case $cc_temp in 14841 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 14842 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 14843 \-*) ;; 14844 *) break;; --- 5 unchanged lines hidden (view full) --- 14850 cygwin* | mingw* | pw32*) 14851 # FIXME: the MSVC++ port hasn't been tested in a loooong time 14852 # When not using gcc, we currently assume that we are using 14853 # Microsoft Visual C++. 14854 if test "$GCC" != yes; then 14855 with_gnu_ld=no 14856 fi 14857 ;; |
14858 interix*) 14859 # we just hope/assume this is gcc and not c89 (= MSVC++) 14860 with_gnu_ld=yes 14861 ;; |
|
14775 openbsd*) 14776 with_gnu_ld=no 14777 ;; 14778 esac 14779 14780 ld_shlibs_F77=yes 14781 if test "$with_gnu_ld" = yes; then 14782 # If archive_cmds runs LD, not CC, wlarc should be empty --- 17 unchanged lines hidden (view full) --- 14800 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 14801 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 14802 *\ 2.11.*) ;; # other 2.11 versions 14803 *) supports_anon_versioning=yes ;; 14804 esac 14805 14806 # See if GNU ld supports shared libraries. 14807 case $host_os in | 14862 openbsd*) 14863 with_gnu_ld=no 14864 ;; 14865 esac 14866 14867 ld_shlibs_F77=yes 14868 if test "$with_gnu_ld" = yes; then 14869 # If archive_cmds runs LD, not CC, wlarc should be empty --- 17 unchanged lines hidden (view full) --- 14887 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 14888 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 14889 *\ 2.11.*) ;; # other 2.11 versions 14890 *) supports_anon_versioning=yes ;; 14891 esac 14892 14893 # See if GNU ld supports shared libraries. 14894 case $host_os in |
14808 aix3* | aix4* | aix5*) | 14895 aix[3-9]*) |
14809 # On AIX/PPC, the GNU linker is very broken 14810 if test "$host_cpu" != ia64; then 14811 ld_shlibs_F77=no 14812 cat <<EOF 1>&2 14813 14814*** Warning: the GNU linker, at least up to release 2.9.1, is reported 14815*** to be unable to reliably create shared libraries on AIX. 14816*** Therefore, libtool is disabling shared libraries support. If you --- 31 unchanged lines hidden (view full) --- 14848 14849 cygwin* | mingw* | pw32*) 14850 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, 14851 # as there is no search path for DLLs. 14852 hardcode_libdir_flag_spec_F77='-L$libdir' 14853 allow_undefined_flag_F77=unsupported 14854 always_export_symbols_F77=no 14855 enable_shared_with_static_runtimes_F77=yes | 14896 # On AIX/PPC, the GNU linker is very broken 14897 if test "$host_cpu" != ia64; then 14898 ld_shlibs_F77=no 14899 cat <<EOF 1>&2 14900 14901*** Warning: the GNU linker, at least up to release 2.9.1, is reported 14902*** to be unable to reliably create shared libraries on AIX. 14903*** Therefore, libtool is disabling shared libraries support. If you --- 31 unchanged lines hidden (view full) --- 14935 14936 cygwin* | mingw* | pw32*) 14937 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, 14938 # as there is no search path for DLLs. 14939 hardcode_libdir_flag_spec_F77='-L$libdir' 14940 allow_undefined_flag_F77=unsupported 14941 always_export_symbols_F77=no 14942 enable_shared_with_static_runtimes_F77=yes |
14856 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | 14943 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
14857 14858 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 14944 14945 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
14859 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 14946 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
14860 # If the export-symbols file already is a .def file (1st line 14861 # is EXPORTS), use it as is; otherwise, prepend... 14862 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 14863 cp $export_symbols $output_objdir/$soname.def; 14864 else 14865 echo EXPORTS > $output_objdir/$soname.def; 14866 cat $export_symbols >> $output_objdir/$soname.def; 14867 fi~ | 14947 # If the export-symbols file already is a .def file (1st line 14948 # is EXPORTS), use it as is; otherwise, prepend... 14949 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 14950 cp $export_symbols $output_objdir/$soname.def; 14951 else 14952 echo EXPORTS > $output_objdir/$soname.def; 14953 cat $export_symbols >> $output_objdir/$soname.def; 14954 fi~ |
14868 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 14955 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
14869 else 14870 ld_shlibs_F77=no 14871 fi 14872 ;; 14873 | 14956 else 14957 ld_shlibs_F77=no 14958 fi 14959 ;; 14960 |
14874 linux*) | 14961 interix[3-9]*) 14962 hardcode_direct_F77=no 14963 hardcode_shlibpath_var_F77=no 14964 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' 14965 export_dynamic_flag_spec_F77='${wl}-E' 14966 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14967 # Instead, shared libraries are loaded at an image base (0x10000000 by 14968 # default) and relocated if they conflict, which is a slow very memory 14969 # consuming and fragmenting process. To avoid this, we pick a random, 14970 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14971 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14972 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' 14973 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' 14974 ;; 14975 14976 gnu* | linux* | k*bsd*-gnu) |
14875 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 14876 tmp_addflag= 14877 case $cc_basename,$host_cpu in 14878 pgcc*) # Portland Group C compiler | 14977 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 14978 tmp_addflag= 14979 case $cc_basename,$host_cpu in 14980 pgcc*) # Portland Group C compiler |
14879 whole_archive_flag_spec_F77='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' | 14981 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
14880 tmp_addflag=' $pic_flag' 14881 ;; | 14982 tmp_addflag=' $pic_flag' 14983 ;; |
14882 pgf77* | pgf90* ) # Portland Group f77 and f90 compilers 14883 whole_archive_flag_spec_F77='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' | 14984 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 14985 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
14884 tmp_addflag=' $pic_flag -Mnomain' ;; 14885 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 14886 tmp_addflag=' -i_dynamic' ;; 14887 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 14888 tmp_addflag=' -i_dynamic -nofor_main' ;; 14889 ifc* | ifort*) # Intel Fortran compiler 14890 tmp_addflag=' -nofor_main' ;; 14891 esac | 14986 tmp_addflag=' $pic_flag -Mnomain' ;; 14987 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 14988 tmp_addflag=' -i_dynamic' ;; 14989 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 14990 tmp_addflag=' -i_dynamic -nofor_main' ;; 14991 ifc* | ifort*) # Intel Fortran compiler 14992 tmp_addflag=' -nofor_main' ;; 14993 esac |
14892 archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 14994 case `$CC -V 2>&1 | sed 5q` in 14995 *Sun\ C*) # Sun C 5.9 14996 whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 14997 tmp_sharedflag='-G' ;; 14998 *Sun\ F*) # Sun Fortran 8.3 14999 tmp_sharedflag='-G' ;; 15000 *) 15001 tmp_sharedflag='-shared' ;; 15002 esac 15003 archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
14893 14894 if test $supports_anon_versioning = yes; then 14895 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ 14896 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14897 $echo "local: *; };" >> $output_objdir/$libname.ver~ | 15004 15005 if test $supports_anon_versioning = yes; then 15006 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ 15007 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 15008 $echo "local: *; };" >> $output_objdir/$libname.ver~ |
14898 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' | 15009 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
14899 fi 14900 else 14901 ld_shlibs_F77=no 14902 fi 14903 ;; 14904 14905 netbsd*) 14906 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 14907 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 14908 wlarc= 14909 else 14910 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14911 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14912 fi 14913 ;; 14914 | 15010 fi 15011 else 15012 ld_shlibs_F77=no 15013 fi 15014 ;; 15015 15016 netbsd*) 15017 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 15018 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 15019 wlarc= 15020 else 15021 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 15022 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 15023 fi 15024 ;; 15025 |
14915 solaris* | sysv5*) | 15026 solaris*) |
14916 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then 14917 ld_shlibs_F77=no 14918 cat <<EOF 1>&2 14919 14920*** Warning: The releases 2.8.* of the GNU linker cannot reliably 14921*** create shared libraries on Solaris systems. Therefore, libtool 14922*** is disabling shared libraries support. We urge you to upgrade GNU 14923*** binutils to release 2.9.1 or newer. Another option is to modify --- 4 unchanged lines hidden (view full) --- 14928 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 14929 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14930 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14931 else 14932 ld_shlibs_F77=no 14933 fi 14934 ;; 14935 | 15027 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then 15028 ld_shlibs_F77=no 15029 cat <<EOF 1>&2 15030 15031*** Warning: The releases 2.8.* of the GNU linker cannot reliably 15032*** create shared libraries on Solaris systems. Therefore, libtool 15033*** is disabling shared libraries support. We urge you to upgrade GNU 15034*** binutils to release 2.9.1 or newer. Another option is to modify --- 4 unchanged lines hidden (view full) --- 15039 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 15040 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 15041 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 15042 else 15043 ld_shlibs_F77=no 15044 fi 15045 ;; 15046 |
15047 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 15048 case `$LD -v 2>&1` in 15049 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 15050 ld_shlibs_F77=no 15051 cat <<_LT_EOF 1>&2 15052 15053*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 15054*** reliably create shared libraries on SCO systems. Therefore, libtool 15055*** is disabling shared libraries support. We urge you to upgrade GNU 15056*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 15057*** your PATH or compiler configuration so that the native linker is 15058*** used, and then restart. 15059 15060_LT_EOF 15061 ;; 15062 *) 15063 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 15064 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' 15065 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' 15066 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' 15067 else 15068 ld_shlibs_F77=no 15069 fi 15070 ;; 15071 esac 15072 ;; 15073 |
|
14936 sunos4*) 14937 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 14938 wlarc= 14939 hardcode_direct_F77=yes 14940 hardcode_shlibpath_var_F77=no 14941 ;; 14942 14943 *) --- 17 unchanged lines hidden (view full) --- 14961 case $host_os in 14962 aix3*) 14963 allow_undefined_flag_F77=unsupported 14964 always_export_symbols_F77=yes 14965 archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 14966 # Note: this linker hardcodes the directories in LIBPATH if there 14967 # are no directories specified by -L. 14968 hardcode_minus_L_F77=yes | 15074 sunos4*) 15075 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 15076 wlarc= 15077 hardcode_direct_F77=yes 15078 hardcode_shlibpath_var_F77=no 15079 ;; 15080 15081 *) --- 17 unchanged lines hidden (view full) --- 15099 case $host_os in 15100 aix3*) 15101 allow_undefined_flag_F77=unsupported 15102 always_export_symbols_F77=yes 15103 archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 15104 # Note: this linker hardcodes the directories in LIBPATH if there 15105 # are no directories specified by -L. 15106 hardcode_minus_L_F77=yes |
14969 if test "$GCC" = yes && test -z "$link_static_flag"; then | 15107 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
14970 # Neither direct hardcoding nor static linking is supported with a 14971 # broken collect2. 14972 hardcode_direct_F77=unsupported 14973 fi 14974 ;; 14975 | 15108 # Neither direct hardcoding nor static linking is supported with a 15109 # broken collect2. 15110 hardcode_direct_F77=unsupported 15111 fi 15112 ;; 15113 |
14976 aix4* | aix5*) | 15114 aix[4-9]*) |
14977 if test "$host_cpu" = ia64; then 14978 # On IA64, the linker does run time linking by default, so we don't 14979 # have to do anything special. 14980 aix_use_runtimelinking=no 14981 exp_sym_flag='-Bexport' 14982 no_entry_flag="" 14983 else 14984 # If we're using GNU nm, then we don't want the "-C" option. 14985 # -C means demangle to AIX nm, but means don't demangle with GNU nm 14986 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 14987 export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 14988 else 14989 export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 14990 fi 14991 aix_use_runtimelinking=no 14992 14993 # Test if we are trying to use run time linking or normal 14994 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 14995 # need to do runtime linking. | 15115 if test "$host_cpu" = ia64; then 15116 # On IA64, the linker does run time linking by default, so we don't 15117 # have to do anything special. 15118 aix_use_runtimelinking=no 15119 exp_sym_flag='-Bexport' 15120 no_entry_flag="" 15121 else 15122 # If we're using GNU nm, then we don't want the "-C" option. 15123 # -C means demangle to AIX nm, but means don't demangle with GNU nm 15124 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 15125 export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 15126 else 15127 export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 15128 fi 15129 aix_use_runtimelinking=no 15130 15131 # Test if we are trying to use run time linking or normal 15132 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 15133 # need to do runtime linking. |
14996 case $host_os in aix4.[23]|aix4.[23].*|aix5*) | 15134 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
14997 for ld_flag in $LDFLAGS; do 14998 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 14999 aix_use_runtimelinking=yes 15000 break 15001 fi 15002 done | 15135 for ld_flag in $LDFLAGS; do 15136 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 15137 aix_use_runtimelinking=yes 15138 break 15139 fi 15140 done |
15141 ;; |
|
15003 esac 15004 15005 exp_sym_flag='-bexport' 15006 no_entry_flag='-bnoentry' 15007 fi 15008 15009 # When large executables or shared objects are built, AIX ld can 15010 # have problems creating the table of contents. If linking a library --- 10 unchanged lines hidden (view full) --- 15021 case $host_os in aix4.[012]|aix4.[012].*) 15022 # We only want to do this on AIX 4.2 and lower, the check 15023 # below for broken collect2 doesn't work under 4.3+ 15024 collect2name=`${CC} -print-prog-name=collect2` 15025 if test -f "$collect2name" && \ 15026 strings "$collect2name" | grep resolve_lib_name >/dev/null 15027 then 15028 # We have reworked collect2 | 15142 esac 15143 15144 exp_sym_flag='-bexport' 15145 no_entry_flag='-bnoentry' 15146 fi 15147 15148 # When large executables or shared objects are built, AIX ld can 15149 # have problems creating the table of contents. If linking a library --- 10 unchanged lines hidden (view full) --- 15160 case $host_os in aix4.[012]|aix4.[012].*) 15161 # We only want to do this on AIX 4.2 and lower, the check 15162 # below for broken collect2 doesn't work under 4.3+ 15163 collect2name=`${CC} -print-prog-name=collect2` 15164 if test -f "$collect2name" && \ 15165 strings "$collect2name" | grep resolve_lib_name >/dev/null 15166 then 15167 # We have reworked collect2 |
15029 hardcode_direct_F77=yes | 15168 : |
15030 else 15031 # We have old collect2 15032 hardcode_direct_F77=unsupported 15033 # It fails to find uninstalled libraries when the uninstalled 15034 # path is not listed in the libpath. Setting hardcode_minus_L 15035 # to unsupported forces relinking 15036 hardcode_minus_L_F77=yes 15037 hardcode_libdir_flag_spec_F77='-L$libdir' 15038 hardcode_libdir_separator_F77= 15039 fi | 15169 else 15170 # We have old collect2 15171 hardcode_direct_F77=unsupported 15172 # It fails to find uninstalled libraries when the uninstalled 15173 # path is not listed in the libpath. Setting hardcode_minus_L 15174 # to unsupported forces relinking 15175 hardcode_minus_L_F77=yes 15176 hardcode_libdir_flag_spec_F77='-L$libdir' 15177 hardcode_libdir_separator_F77= 15178 fi |
15179 ;; |
|
15040 esac 15041 shared_flag='-shared' 15042 if test "$aix_use_runtimelinking" = yes; then 15043 shared_flag="$shared_flag "'${wl}-G' 15044 fi 15045 else 15046 # not using gcc 15047 if test "$host_cpu" = ia64; then 15048 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 15049 # chokes on -Wl,-G. The following line is correct: 15050 shared_flag='-G' 15051 else | 15180 esac 15181 shared_flag='-shared' 15182 if test "$aix_use_runtimelinking" = yes; then 15183 shared_flag="$shared_flag "'${wl}-G' 15184 fi 15185 else 15186 # not using gcc 15187 if test "$host_cpu" = ia64; then 15188 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 15189 # chokes on -Wl,-G. The following line is correct: 15190 shared_flag='-G' 15191 else |
15052 if test "$aix_use_runtimelinking" = yes; then | 15192 if test "$aix_use_runtimelinking" = yes; then |
15053 shared_flag='${wl}-G' 15054 else 15055 shared_flag='${wl}-bM:SRE' | 15193 shared_flag='${wl}-G' 15194 else 15195 shared_flag='${wl}-bM:SRE' |
15056 fi | 15196 fi |
15057 fi 15058 fi 15059 15060 # It seems that -bexpall does not export symbols beginning with 15061 # underscore (_), so it is better to generate a list of symbols to export. 15062 always_export_symbols_F77=yes 15063 if test "$aix_use_runtimelinking" = yes; then 15064 # Warning - without using the other runtime loading flags (-brtl), --- 19 unchanged lines hidden (view full) --- 15084 cat conftest.err >&5 15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15086 (exit $ac_status); } && { 15087 test -z "$ac_f77_werror_flag" || 15088 test ! -s conftest.err 15089 } && test -s conftest$ac_exeext && 15090 $as_test_x conftest$ac_exeext; then 15091 | 15197 fi 15198 fi 15199 15200 # It seems that -bexpall does not export symbols beginning with 15201 # underscore (_), so it is better to generate a list of symbols to export. 15202 always_export_symbols_F77=yes 15203 if test "$aix_use_runtimelinking" = yes; then 15204 # Warning - without using the other runtime loading flags (-brtl), --- 19 unchanged lines hidden (view full) --- 15224 cat conftest.err >&5 15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15226 (exit $ac_status); } && { 15227 test -z "$ac_f77_werror_flag" || 15228 test ! -s conftest.err 15229 } && test -s conftest$ac_exeext && 15230 $as_test_x conftest$ac_exeext; then 15231 |
15092aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 15093}'` | 15232lt_aix_libpath_sed=' 15233 /Import File Strings/,/^$/ { 15234 /^0/ { 15235 s/^0 *\(.*\)$/\1/ 15236 p 15237 } 15238 }' 15239aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
15094# Check for a 64-bit object if we didn't find anything. | 15240# Check for a 64-bit object if we didn't find anything. |
15095if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 15096}'`; fi | 15241if test -z "$aix_libpath"; then 15242 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15243fi |
15097else 15098 echo "$as_me: failed program was:" >&5 15099sed 's/^/| /' conftest.$ac_ext >&5 15100 15101 15102fi 15103 15104rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15105 conftest$ac_exeext conftest.$ac_ext 15106if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 15107 15108 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" | 15244else 15245 echo "$as_me: failed program was:" >&5 15246sed 's/^/| /' conftest.$ac_ext >&5 15247 15248 15249fi 15250 15251rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15252 conftest$ac_exeext conftest.$ac_ext 15253if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 15254 15255 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
15109 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" | 15256 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" |
15110 else 15111 if test "$host_cpu" = ia64; then 15112 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' 15113 allow_undefined_flag_F77="-z nodefs" | 15257 else 15258 if test "$host_cpu" = ia64; then 15259 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' 15260 allow_undefined_flag_F77="-z nodefs" |
15114 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" | 15261 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" |
15115 else 15116 # Determine the default libpath from the value encoded in an empty executable. 15117 cat >conftest.$ac_ext <<_ACEOF 15118 program main 15119 15120 end 15121_ACEOF 15122rm -f conftest.$ac_objext conftest$ac_exeext --- 10 unchanged lines hidden (view full) --- 15133 cat conftest.err >&5 15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15135 (exit $ac_status); } && { 15136 test -z "$ac_f77_werror_flag" || 15137 test ! -s conftest.err 15138 } && test -s conftest$ac_exeext && 15139 $as_test_x conftest$ac_exeext; then 15140 | 15262 else 15263 # Determine the default libpath from the value encoded in an empty executable. 15264 cat >conftest.$ac_ext <<_ACEOF 15265 program main 15266 15267 end 15268_ACEOF 15269rm -f conftest.$ac_objext conftest$ac_exeext --- 10 unchanged lines hidden (view full) --- 15280 cat conftest.err >&5 15281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15282 (exit $ac_status); } && { 15283 test -z "$ac_f77_werror_flag" || 15284 test ! -s conftest.err 15285 } && test -s conftest$ac_exeext && 15286 $as_test_x conftest$ac_exeext; then 15287 |
15141aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 15142}'` | 15288lt_aix_libpath_sed=' 15289 /Import File Strings/,/^$/ { 15290 /^0/ { 15291 s/^0 *\(.*\)$/\1/ 15292 p 15293 } 15294 }' 15295aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
15143# Check for a 64-bit object if we didn't find anything. | 15296# Check for a 64-bit object if we didn't find anything. |
15144if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 15145}'`; fi | 15297if test -z "$aix_libpath"; then 15298 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15299fi |
15146else 15147 echo "$as_me: failed program was:" >&5 15148sed 's/^/| /' conftest.$ac_ext >&5 15149 15150 15151fi 15152 15153rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15154 conftest$ac_exeext conftest.$ac_ext 15155if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 15156 15157 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" 15158 # Warning - without using the other run time loading flags, 15159 # -berok will link without error, but may produce a broken library. 15160 no_undefined_flag_F77=' ${wl}-bernotok' 15161 allow_undefined_flag_F77=' ${wl}-berok' | 15300else 15301 echo "$as_me: failed program was:" >&5 15302sed 's/^/| /' conftest.$ac_ext >&5 15303 15304 15305fi 15306 15307rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15308 conftest$ac_exeext conftest.$ac_ext 15309if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 15310 15311 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" 15312 # Warning - without using the other run time loading flags, 15313 # -berok will link without error, but may produce a broken library. 15314 no_undefined_flag_F77=' ${wl}-bernotok' 15315 allow_undefined_flag_F77=' ${wl}-berok' |
15162 # -bexpall does not export symbols beginning with underscore (_) 15163 always_export_symbols_F77=yes | |
15164 # Exported symbols can be pulled into shared objects from archives | 15316 # Exported symbols can be pulled into shared objects from archives |
15165 whole_archive_flag_spec_F77=' ' | 15317 whole_archive_flag_spec_F77='$convenience' |
15166 archive_cmds_need_lc_F77=yes | 15318 archive_cmds_need_lc_F77=yes |
15167 # This is similar to how AIX traditionally builds it's shared libraries. 15168 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' | 15319 # This is similar to how AIX traditionally builds its shared libraries. 15320 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' |
15169 fi 15170 fi 15171 ;; 15172 15173 amigaos*) 15174 archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 15175 hardcode_libdir_flag_spec_F77='-L$libdir' 15176 hardcode_minus_L_F77=yes --- 16 unchanged lines hidden (view full) --- 15193 libext=lib 15194 # Tell ltmain to make .dll files, not .so files. 15195 shrext_cmds=".dll" 15196 # FIXME: Setting linknames here is a bad hack. 15197 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' 15198 # The linker will automatically build a .lib file if we build a DLL. 15199 old_archive_From_new_cmds_F77='true' 15200 # FIXME: Should let the user specify the lib program. | 15321 fi 15322 fi 15323 ;; 15324 15325 amigaos*) 15326 archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 15327 hardcode_libdir_flag_spec_F77='-L$libdir' 15328 hardcode_minus_L_F77=yes --- 16 unchanged lines hidden (view full) --- 15345 libext=lib 15346 # Tell ltmain to make .dll files, not .so files. 15347 shrext_cmds=".dll" 15348 # FIXME: Setting linknames here is a bad hack. 15349 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' 15350 # The linker will automatically build a .lib file if we build a DLL. 15351 old_archive_From_new_cmds_F77='true' 15352 # FIXME: Should let the user specify the lib program. |
15201 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' | 15353 old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs' |
15202 fix_srcfile_path_F77='`cygpath -w "$srcfile"`' 15203 enable_shared_with_static_runtimes_F77=yes 15204 ;; 15205 15206 darwin* | rhapsody*) | 15354 fix_srcfile_path_F77='`cygpath -w "$srcfile"`' 15355 enable_shared_with_static_runtimes_F77=yes 15356 ;; 15357 15358 darwin* | rhapsody*) |
15207 case "$host_os" in | 15359 case $host_os in |
15208 rhapsody* | darwin1.[012]) 15209 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' 15210 ;; 15211 *) # Darwin 1.3 on 15212 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 15213 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 15214 else 15215 case ${MACOSX_DEPLOYMENT_TARGET} in --- 10 unchanged lines hidden (view full) --- 15226 archive_cmds_need_lc_F77=no 15227 hardcode_direct_F77=no 15228 hardcode_automatic_F77=yes 15229 hardcode_shlibpath_var_F77=unsupported 15230 whole_archive_flag_spec_F77='' 15231 link_all_deplibs_F77=yes 15232 if test "$GCC" = yes ; then 15233 output_verbose_link_cmd='echo' | 15360 rhapsody* | darwin1.[012]) 15361 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' 15362 ;; 15363 *) # Darwin 1.3 on 15364 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 15365 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 15366 else 15367 case ${MACOSX_DEPLOYMENT_TARGET} in --- 10 unchanged lines hidden (view full) --- 15378 archive_cmds_need_lc_F77=no 15379 hardcode_direct_F77=no 15380 hardcode_automatic_F77=yes 15381 hardcode_shlibpath_var_F77=unsupported 15382 whole_archive_flag_spec_F77='' 15383 link_all_deplibs_F77=yes 15384 if test "$GCC" = yes ; then 15385 output_verbose_link_cmd='echo' |
15234 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 15235 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 15236 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 15237 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 15238 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 15386 archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 15387 module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 15388 archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 15389 module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" |
15239 else 15240 case $cc_basename in 15241 xlc*) 15242 output_verbose_link_cmd='echo' | 15390 else 15391 case $cc_basename in 15392 xlc*) 15393 output_verbose_link_cmd='echo' |
15243 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' | 15394 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' |
15244 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' | 15395 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
15245 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 15246 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 15396 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 15397 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
15247 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 15248 ;; 15249 *) 15250 ld_shlibs_F77=no 15251 ;; 15252 esac 15253 fi 15254 ;; --- 23 unchanged lines hidden (view full) --- 15278 freebsd2*) 15279 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 15280 hardcode_direct_F77=yes 15281 hardcode_minus_L_F77=yes 15282 hardcode_shlibpath_var_F77=no 15283 ;; 15284 15285 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 15398 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 15399 ;; 15400 *) 15401 ld_shlibs_F77=no 15402 ;; 15403 esac 15404 fi 15405 ;; --- 23 unchanged lines hidden (view full) --- 15429 freebsd2*) 15430 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 15431 hardcode_direct_F77=yes 15432 hardcode_minus_L_F77=yes 15433 hardcode_shlibpath_var_F77=no 15434 ;; 15435 15436 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
15286 freebsd* | kfreebsd*-gnu | dragonfly*) | 15437 freebsd* | dragonfly*) |
15287 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 15288 hardcode_libdir_flag_spec_F77='-R$libdir' 15289 hardcode_direct_F77=yes 15290 hardcode_shlibpath_var_F77=no 15291 ;; 15292 15293 hpux9*) 15294 if test "$GCC" = yes; then --- 6 unchanged lines hidden (view full) --- 15301 hardcode_direct_F77=yes 15302 15303 # hardcode_minus_L: Not really in the search PATH, 15304 # but as the default location of the library. 15305 hardcode_minus_L_F77=yes 15306 export_dynamic_flag_spec_F77='${wl}-E' 15307 ;; 15308 | 15438 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 15439 hardcode_libdir_flag_spec_F77='-R$libdir' 15440 hardcode_direct_F77=yes 15441 hardcode_shlibpath_var_F77=no 15442 ;; 15443 15444 hpux9*) 15445 if test "$GCC" = yes; then --- 6 unchanged lines hidden (view full) --- 15452 hardcode_direct_F77=yes 15453 15454 # hardcode_minus_L: Not really in the search PATH, 15455 # but as the default location of the library. 15456 hardcode_minus_L_F77=yes 15457 export_dynamic_flag_spec_F77='${wl}-E' 15458 ;; 15459 |
15309 hpux10* | hpux11*) | 15460 hpux10*) |
15310 if test "$GCC" = yes -a "$with_gnu_ld" = no; then | 15461 if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
15311 case "$host_cpu" in 15312 hppa*64*|ia64*) | 15462 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 15463 else 15464 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 15465 fi 15466 if test "$with_gnu_ld" = no; then 15467 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' 15468 hardcode_libdir_separator_F77=: 15469 15470 hardcode_direct_F77=yes 15471 export_dynamic_flag_spec_F77='${wl}-E' 15472 15473 # hardcode_minus_L: Not really in the search PATH, 15474 # but as the default location of the library. 15475 hardcode_minus_L_F77=yes 15476 fi 15477 ;; 15478 15479 hpux11*) 15480 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 15481 case $host_cpu in 15482 hppa*64*) |
15313 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 15314 ;; | 15483 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 15484 ;; |
15485 ia64*) 15486 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 15487 ;; |
|
15315 *) 15316 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 15317 ;; 15318 esac 15319 else | 15488 *) 15489 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 15490 ;; 15491 esac 15492 else |
15320 case "$host_cpu" in 15321 hppa*64*|ia64*) 15322 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' | 15493 case $host_cpu in 15494 hppa*64*) 15495 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
15323 ;; | 15496 ;; |
15497 ia64*) 15498 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 15499 ;; |
|
15324 *) | 15500 *) |
15325 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | 15501 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
15326 ;; 15327 esac 15328 fi 15329 if test "$with_gnu_ld" = no; then | 15502 ;; 15503 esac 15504 fi 15505 if test "$with_gnu_ld" = no; then |
15330 case "$host_cpu" in 15331 hppa*64*) 15332 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' | 15506 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' 15507 hardcode_libdir_separator_F77=: 15508 15509 case $host_cpu in 15510 hppa*64*|ia64*) |
15333 hardcode_libdir_flag_spec_ld_F77='+b $libdir' | 15511 hardcode_libdir_flag_spec_ld_F77='+b $libdir' |
15334 hardcode_libdir_separator_F77=: | |
15335 hardcode_direct_F77=no 15336 hardcode_shlibpath_var_F77=no 15337 ;; | 15512 hardcode_direct_F77=no 15513 hardcode_shlibpath_var_F77=no 15514 ;; |
15338 ia64*) 15339 hardcode_libdir_flag_spec_F77='-L$libdir' 15340 hardcode_direct_F77=no 15341 hardcode_shlibpath_var_F77=no 15342 15343 # hardcode_minus_L: Not really in the search PATH, 15344 # but as the default location of the library. 15345 hardcode_minus_L_F77=yes 15346 ;; | |
15347 *) | 15515 *) |
15348 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' 15349 hardcode_libdir_separator_F77=: | |
15350 hardcode_direct_F77=yes 15351 export_dynamic_flag_spec_F77='${wl}-E' 15352 15353 # hardcode_minus_L: Not really in the search PATH, 15354 # but as the default location of the library. 15355 hardcode_minus_L_F77=yes 15356 ;; 15357 esac --- 27 unchanged lines hidden (view full) --- 15385 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15386 hardcode_direct_F77=yes 15387 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' 15388 hardcode_libdir_separator_F77=: 15389 hardcode_shlibpath_var_F77=no 15390 ;; 15391 15392 openbsd*) | 15516 hardcode_direct_F77=yes 15517 export_dynamic_flag_spec_F77='${wl}-E' 15518 15519 # hardcode_minus_L: Not really in the search PATH, 15520 # but as the default location of the library. 15521 hardcode_minus_L_F77=yes 15522 ;; 15523 esac --- 27 unchanged lines hidden (view full) --- 15551 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15552 hardcode_direct_F77=yes 15553 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' 15554 hardcode_libdir_separator_F77=: 15555 hardcode_shlibpath_var_F77=no 15556 ;; 15557 15558 openbsd*) |
15393 hardcode_direct_F77=yes 15394 hardcode_shlibpath_var_F77=no 15395 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 15396 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 15397 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 15398 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' 15399 export_dynamic_flag_spec_F77='${wl}-E' | 15559 if test -f /usr/libexec/ld.so; then 15560 hardcode_direct_F77=yes 15561 hardcode_shlibpath_var_F77=no 15562 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 15563 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 15564 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 15565 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' 15566 export_dynamic_flag_spec_F77='${wl}-E' 15567 else 15568 case $host_os in 15569 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 15570 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 15571 hardcode_libdir_flag_spec_F77='-R$libdir' 15572 ;; 15573 *) 15574 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 15575 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' 15576 ;; 15577 esac 15578 fi |
15400 else | 15579 else |
15401 case $host_os in 15402 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 15403 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 15404 hardcode_libdir_flag_spec_F77='-R$libdir' 15405 ;; 15406 *) 15407 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 15408 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' 15409 ;; 15410 esac | 15580 ld_shlibs_F77=no |
15411 fi 15412 ;; 15413 15414 os2*) 15415 hardcode_libdir_flag_spec_F77='-L$libdir' 15416 hardcode_minus_L_F77=yes 15417 allow_undefined_flag_F77=unsupported 15418 archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' --- 24 unchanged lines hidden (view full) --- 15443 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' 15444 15445 # Both c and cxx compiler support -rpath directly 15446 hardcode_libdir_flag_spec_F77='-rpath $libdir' 15447 fi 15448 hardcode_libdir_separator_F77=: 15449 ;; 15450 | 15581 fi 15582 ;; 15583 15584 os2*) 15585 hardcode_libdir_flag_spec_F77='-L$libdir' 15586 hardcode_minus_L_F77=yes 15587 allow_undefined_flag_F77=unsupported 15588 archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' --- 24 unchanged lines hidden (view full) --- 15613 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' 15614 15615 # Both c and cxx compiler support -rpath directly 15616 hardcode_libdir_flag_spec_F77='-rpath $libdir' 15617 fi 15618 hardcode_libdir_separator_F77=: 15619 ;; 15620 |
15451 sco3.2v5*) 15452 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15453 hardcode_shlibpath_var_F77=no 15454 export_dynamic_flag_spec_F77='${wl}-Bexport' 15455 runpath_var=LD_RUN_PATH 15456 hardcode_runpath_var=yes 15457 ;; 15458 | |
15459 solaris*) 15460 no_undefined_flag_F77=' -z text' 15461 if test "$GCC" = yes; then 15462 wlarc='${wl}' 15463 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 15464 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 15465 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' 15466 else 15467 wlarc='' 15468 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 15469 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 15470 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 15471 fi 15472 hardcode_libdir_flag_spec_F77='-R$libdir' 15473 hardcode_shlibpath_var_F77=no 15474 case $host_os in 15475 solaris2.[0-5] | solaris2.[0-5].*) ;; 15476 *) | 15621 solaris*) 15622 no_undefined_flag_F77=' -z text' 15623 if test "$GCC" = yes; then 15624 wlarc='${wl}' 15625 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 15626 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 15627 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' 15628 else 15629 wlarc='' 15630 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 15631 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 15632 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 15633 fi 15634 hardcode_libdir_flag_spec_F77='-R$libdir' 15635 hardcode_shlibpath_var_F77=no 15636 case $host_os in 15637 solaris2.[0-5] | solaris2.[0-5].*) ;; 15638 *) |
15477 # The compiler driver will combine linker options so we 15478 # cannot just pass the convience library names through 15479 # without $wl, iff we do not link with $LD. 15480 # Luckily, gcc supports the same syntax we need for Sun Studio. | 15639 # The compiler driver will combine and reorder linker options, 15640 # but understands `-z linker_flag'. GCC discards it without `$wl', 15641 # but is careful enough not to reorder. |
15481 # Supported since Solaris 2.6 (maybe 2.5.1?) | 15642 # Supported since Solaris 2.6 (maybe 2.5.1?) |
15482 case $wlarc in 15483 '') 15484 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; 15485 *) 15486 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; 15487 esac ;; | 15643 if test "$GCC" = yes; then 15644 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 15645 else 15646 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' 15647 fi 15648 ;; |
15488 esac 15489 link_all_deplibs_F77=yes 15490 ;; 15491 15492 sunos4*) 15493 if test "x$host_vendor" = xsequent; then 15494 # Use $CC to link under sequent, because it throws in some extra .o 15495 # files that make .init and .fini sections work. --- 40 unchanged lines hidden (view full) --- 15536 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15537 hardcode_shlibpath_var_F77=no 15538 runpath_var=LD_RUN_PATH 15539 hardcode_runpath_var=yes 15540 ld_shlibs_F77=yes 15541 fi 15542 ;; 15543 | 15649 esac 15650 link_all_deplibs_F77=yes 15651 ;; 15652 15653 sunos4*) 15654 if test "x$host_vendor" = xsequent; then 15655 # Use $CC to link under sequent, because it throws in some extra .o 15656 # files that make .init and .fini sections work. --- 40 unchanged lines hidden (view full) --- 15697 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15698 hardcode_shlibpath_var_F77=no 15699 runpath_var=LD_RUN_PATH 15700 hardcode_runpath_var=yes 15701 ld_shlibs_F77=yes 15702 fi 15703 ;; 15704 |
15544 sysv4.2uw2*) 15545 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' 15546 hardcode_direct_F77=yes 15547 hardcode_minus_L_F77=no | 15705 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 15706 no_undefined_flag_F77='${wl}-z,text' 15707 archive_cmds_need_lc_F77=no |
15548 hardcode_shlibpath_var_F77=no | 15708 hardcode_shlibpath_var_F77=no |
15549 hardcode_runpath_var=yes 15550 runpath_var=LD_RUN_PATH 15551 ;; | 15709 runpath_var='LD_RUN_PATH' |
15552 | 15710 |
15553 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) 15554 no_undefined_flag_F77='${wl}-z ${wl}text' | |
15555 if test "$GCC" = yes; then | 15711 if test "$GCC" = yes; then |
15556 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 15712 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15713 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
15557 else | 15714 else |
15558 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 15715 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15716 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
15559 fi | 15717 fi |
15560 runpath_var='LD_RUN_PATH' 15561 hardcode_shlibpath_var_F77=no | |
15562 ;; 15563 | 15718 ;; 15719 |
15564 sysv5*) 15565 no_undefined_flag_F77=' -z text' 15566 # $CC -shared without GNU ld will not create a library from C++ 15567 # object files and a static libstdc++, better avoid it by now 15568 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 15569 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 15570 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 15571 hardcode_libdir_flag_spec_F77= | 15720 sysv5* | sco3.2v5* | sco5v6*) 15721 # Note: We can NOT use -z defs as we might desire, because we do not 15722 # link with -lc, and that would cause any symbols used from libc to 15723 # always be unresolved, which means just about no library would 15724 # ever link correctly. If we're not using GNU ld we use -z text 15725 # though, which does catch some bad symbols but isn't as heavy-handed 15726 # as -z defs. 15727 no_undefined_flag_F77='${wl}-z,text' 15728 allow_undefined_flag_F77='${wl}-z,nodefs' 15729 archive_cmds_need_lc_F77=no |
15572 hardcode_shlibpath_var_F77=no | 15730 hardcode_shlibpath_var_F77=no |
15731 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' 15732 hardcode_libdir_separator_F77=':' 15733 link_all_deplibs_F77=yes 15734 export_dynamic_flag_spec_F77='${wl}-Bexport' |
|
15573 runpath_var='LD_RUN_PATH' | 15735 runpath_var='LD_RUN_PATH' |
15736 15737 if test "$GCC" = yes; then 15738 archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 15739 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 15740 else 15741 archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 15742 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 15743 fi |
|
15574 ;; 15575 15576 uts4*) 15577 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15578 hardcode_libdir_flag_spec_F77='-L$libdir' 15579 hardcode_shlibpath_var_F77=no 15580 ;; 15581 15582 *) 15583 ld_shlibs_F77=no 15584 ;; 15585 esac 15586 fi 15587 15588{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 15589echo "${ECHO_T}$ld_shlibs_F77" >&6; } 15590test "$ld_shlibs_F77" = no && can_build_shared=no 15591 | 15744 ;; 15745 15746 uts4*) 15747 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15748 hardcode_libdir_flag_spec_F77='-L$libdir' 15749 hardcode_shlibpath_var_F77=no 15750 ;; 15751 15752 *) 15753 ld_shlibs_F77=no 15754 ;; 15755 esac 15756 fi 15757 15758{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 15759echo "${ECHO_T}$ld_shlibs_F77" >&6; } 15760test "$ld_shlibs_F77" = no && can_build_shared=no 15761 |
15592variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 15593if test "$GCC" = yes; then 15594 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 15595fi 15596 | |
15597# 15598# Do we need to explicitly link libc? 15599# 15600case "x$archive_cmds_need_lc_F77" in 15601x|xyes) 15602 # Assume -lc should be added 15603 archive_cmds_need_lc_F77=yes 15604 --- 4 unchanged lines hidden (view full) --- 15609 ;; 15610 '$CC '*) 15611 # Test whether the compiler implicitly links with -lc since on some 15612 # systems, -lgcc has to come before -lc. If gcc already passes -lc 15613 # to ld, don't add -lc before -lgcc. 15614 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 15615echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 15616 $rm conftest* | 15762# 15763# Do we need to explicitly link libc? 15764# 15765case "x$archive_cmds_need_lc_F77" in 15766x|xyes) 15767 # Assume -lc should be added 15768 archive_cmds_need_lc_F77=yes 15769 --- 4 unchanged lines hidden (view full) --- 15774 ;; 15775 '$CC '*) 15776 # Test whether the compiler implicitly links with -lc since on some 15777 # systems, -lgcc has to come before -lc. If gcc already passes -lc 15778 # to ld, don't add -lc before -lgcc. 15779 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 15780echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 15781 $rm conftest* |
15617 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 15782 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
15618 15619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 15620 (eval $ac_compile) 2>&5 15621 ac_status=$? 15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15623 (exit $ac_status); } 2>conftest.err; then 15624 soname=conftest 15625 lib=conftest 15626 libobjs=conftest.$ac_objext 15627 deplibs= 15628 wl=$lt_prog_compiler_wl_F77 | 15783 15784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 15785 (eval $ac_compile) 2>&5 15786 ac_status=$? 15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15788 (exit $ac_status); } 2>conftest.err; then 15789 soname=conftest 15790 lib=conftest 15791 libobjs=conftest.$ac_objext 15792 deplibs= 15793 wl=$lt_prog_compiler_wl_F77 |
15794 pic_flag=$lt_prog_compiler_pic_F77 |
|
15629 compiler_flags=-v 15630 linker_flags=-v 15631 verstring= 15632 output_objdir=. 15633 libname=conftest 15634 lt_save_allow_undefined_flag=$allow_undefined_flag_F77 15635 allow_undefined_flag_F77= 15636 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 --- 29 unchanged lines hidden (view full) --- 15666postuninstall_cmds= 15667finish_cmds= 15668finish_eval= 15669shlibpath_var= 15670shlibpath_overrides_runpath=unknown 15671version_type=none 15672dynamic_linker="$host_os ld.so" 15673sys_lib_dlsearch_path_spec="/lib /usr/lib" | 15795 compiler_flags=-v 15796 linker_flags=-v 15797 verstring= 15798 output_objdir=. 15799 libname=conftest 15800 lt_save_allow_undefined_flag=$allow_undefined_flag_F77 15801 allow_undefined_flag_F77= 15802 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 --- 29 unchanged lines hidden (view full) --- 15832postuninstall_cmds= 15833finish_cmds= 15834finish_eval= 15835shlibpath_var= 15836shlibpath_overrides_runpath=unknown 15837version_type=none 15838dynamic_linker="$host_os ld.so" 15839sys_lib_dlsearch_path_spec="/lib /usr/lib" |
15674if test "$GCC" = yes; then 15675 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 15676 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then 15677 # if the path contains ";" then we assume it to be the separator 15678 # otherwise default to the standard path separator (i.e. ":") - it is 15679 # assumed that no part of a normal pathname contains ";" but that should 15680 # okay in the real world where ";" in dirpaths is itself problematic. 15681 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 15682 else 15683 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15684 fi 15685else 15686 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 15687fi | 15840 |
15688need_lib_prefix=unknown 15689hardcode_into_libs=no 15690 15691# when you set need_version to no, make sure it does not cause -set_version 15692# flags to be left without arguments 15693need_version=unknown 15694 15695case $host_os in 15696aix3*) 15697 version_type=linux 15698 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 15699 shlibpath_var=LIBPATH 15700 15701 # AIX 3 has no versioning support, so we append a major version to the name. 15702 soname_spec='${libname}${release}${shared_ext}$major' 15703 ;; 15704 | 15841need_lib_prefix=unknown 15842hardcode_into_libs=no 15843 15844# when you set need_version to no, make sure it does not cause -set_version 15845# flags to be left without arguments 15846need_version=unknown 15847 15848case $host_os in 15849aix3*) 15850 version_type=linux 15851 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 15852 shlibpath_var=LIBPATH 15853 15854 # AIX 3 has no versioning support, so we append a major version to the name. 15855 soname_spec='${libname}${release}${shared_ext}$major' 15856 ;; 15857 |
15705aix4* | aix5*) | 15858aix[4-9]*) |
15706 version_type=linux 15707 need_lib_prefix=no 15708 need_version=no 15709 hardcode_into_libs=yes 15710 if test "$host_cpu" = ia64; then 15711 # AIX 5 supports IA64 15712 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 15713 shlibpath_var=LD_LIBRARY_PATH --- 67 unchanged lines hidden (view full) --- 15781 case $GCC,$host_os in 15782 yes,cygwin* | yes,mingw* | yes,pw32*) 15783 library_names_spec='$libname.dll.a' 15784 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15785 postinstall_cmds='base_file=`basename \${file}`~ 15786 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 15787 dldir=$destdir/`dirname \$dlpath`~ 15788 test -d \$dldir || mkdir -p \$dldir~ | 15859 version_type=linux 15860 need_lib_prefix=no 15861 need_version=no 15862 hardcode_into_libs=yes 15863 if test "$host_cpu" = ia64; then 15864 # AIX 5 supports IA64 15865 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 15866 shlibpath_var=LD_LIBRARY_PATH --- 67 unchanged lines hidden (view full) --- 15934 case $GCC,$host_os in 15935 yes,cygwin* | yes,mingw* | yes,pw32*) 15936 library_names_spec='$libname.dll.a' 15937 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15938 postinstall_cmds='base_file=`basename \${file}`~ 15939 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 15940 dldir=$destdir/`dirname \$dlpath`~ 15941 test -d \$dldir || mkdir -p \$dldir~ |
15789 $install_prog $dir/$dlname \$dldir/$dlname' | 15942 $install_prog $dir/$dlname \$dldir/$dlname~ 15943 chmod a+x \$dldir/$dlname' |
15790 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15791 dlpath=$dir/\$dldll~ 15792 $rm \$dlpath' 15793 shlibpath_overrides_runpath=yes 15794 15795 case $host_os in 15796 cygwin*) 15797 # Cygwin DLLs use 'cyg' prefix rather than 'lib' --- 36 unchanged lines hidden (view full) --- 15834 dynamic_linker="$host_os dyld" 15835 version_type=darwin 15836 need_lib_prefix=no 15837 need_version=no 15838 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 15839 soname_spec='${libname}${release}${major}$shared_ext' 15840 shlibpath_overrides_runpath=yes 15841 shlibpath_var=DYLD_LIBRARY_PATH | 15944 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15945 dlpath=$dir/\$dldll~ 15946 $rm \$dlpath' 15947 shlibpath_overrides_runpath=yes 15948 15949 case $host_os in 15950 cygwin*) 15951 # Cygwin DLLs use 'cyg' prefix rather than 'lib' --- 36 unchanged lines hidden (view full) --- 15988 dynamic_linker="$host_os dyld" 15989 version_type=darwin 15990 need_lib_prefix=no 15991 need_version=no 15992 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 15993 soname_spec='${libname}${release}${major}$shared_ext' 15994 shlibpath_overrides_runpath=yes 15995 shlibpath_var=DYLD_LIBRARY_PATH |
15842 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' 15843 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 15844 if test "$GCC" = yes; then 15845 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 15846 else 15847 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 15848 fi | 15996 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 15997 |
15849 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 15850 ;; 15851 15852dgux*) 15853 version_type=linux 15854 need_lib_prefix=no 15855 need_version=no 15856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 15857 soname_spec='${libname}${release}${shared_ext}$major' 15858 shlibpath_var=LD_LIBRARY_PATH 15859 ;; 15860 15861freebsd1*) 15862 dynamic_linker=no 15863 ;; 15864 | 15998 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 15999 ;; 16000 16001dgux*) 16002 version_type=linux 16003 need_lib_prefix=no 16004 need_version=no 16005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 16006 soname_spec='${libname}${release}${shared_ext}$major' 16007 shlibpath_var=LD_LIBRARY_PATH 16008 ;; 16009 16010freebsd1*) 16011 dynamic_linker=no 16012 ;; 16013 |
15865kfreebsd*-gnu) 15866 version_type=linux 15867 need_lib_prefix=no 15868 need_version=no 15869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 15870 soname_spec='${libname}${release}${shared_ext}$major' 15871 shlibpath_var=LD_LIBRARY_PATH 15872 shlibpath_overrides_runpath=no 15873 hardcode_into_libs=yes 15874 dynamic_linker='GNU ld.so' 15875 ;; 15876 | |
15877freebsd* | dragonfly*) 15878 # DragonFly does not have aout. When/if they implement a new 15879 # versioning mechanism, adjust this. | 16014freebsd* | dragonfly*) 16015 # DragonFly does not have aout. When/if they implement a new 16016 # versioning mechanism, adjust this. |
15880 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 16017 if test -x /usr/bin/objformat; then 16018 objformat=`/usr/bin/objformat` 16019 else 16020 case $host_os in 16021 freebsd[123]*) objformat=aout ;; 16022 *) objformat=elf ;; 16023 esac 16024 fi |
15881 version_type=freebsd-$objformat 15882 case $version_type in 15883 freebsd-elf*) 15884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 15885 need_version=no 15886 need_lib_prefix=no 15887 ;; 15888 freebsd-*) --- 5 unchanged lines hidden (view full) --- 15894 case $host_os in 15895 freebsd2*) 15896 shlibpath_overrides_runpath=yes 15897 ;; 15898 freebsd3.[01]* | freebsdelf3.[01]*) 15899 shlibpath_overrides_runpath=yes 15900 hardcode_into_libs=yes 15901 ;; | 16025 version_type=freebsd-$objformat 16026 case $version_type in 16027 freebsd-elf*) 16028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 16029 need_version=no 16030 need_lib_prefix=no 16031 ;; 16032 freebsd-*) --- 5 unchanged lines hidden (view full) --- 16038 case $host_os in 16039 freebsd2*) 16040 shlibpath_overrides_runpath=yes 16041 ;; 16042 freebsd3.[01]* | freebsdelf3.[01]*) 16043 shlibpath_overrides_runpath=yes 16044 hardcode_into_libs=yes 16045 ;; |
15902 *) # from 3.2 on | 16046 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 16047 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
15903 shlibpath_overrides_runpath=no 15904 hardcode_into_libs=yes 15905 ;; | 16048 shlibpath_overrides_runpath=no 16049 hardcode_into_libs=yes 16050 ;; |
16051 *) # from 4.6 on, and DragonFly 16052 shlibpath_overrides_runpath=yes 16053 hardcode_into_libs=yes 16054 ;; |
|
15906 esac 15907 ;; 15908 15909gnu*) 15910 version_type=linux 15911 need_lib_prefix=no 15912 need_version=no 15913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 15914 soname_spec='${libname}${release}${shared_ext}$major' 15915 shlibpath_var=LD_LIBRARY_PATH 15916 hardcode_into_libs=yes 15917 ;; 15918 15919hpux9* | hpux10* | hpux11*) 15920 # Give a soname corresponding to the major version so that dld.sl refuses to 15921 # link against other versions. 15922 version_type=sunos 15923 need_lib_prefix=no 15924 need_version=no | 16055 esac 16056 ;; 16057 16058gnu*) 16059 version_type=linux 16060 need_lib_prefix=no 16061 need_version=no 16062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 16063 soname_spec='${libname}${release}${shared_ext}$major' 16064 shlibpath_var=LD_LIBRARY_PATH 16065 hardcode_into_libs=yes 16066 ;; 16067 16068hpux9* | hpux10* | hpux11*) 16069 # Give a soname corresponding to the major version so that dld.sl refuses to 16070 # link against other versions. 16071 version_type=sunos 16072 need_lib_prefix=no 16073 need_version=no |
15925 case "$host_cpu" in | 16074 case $host_cpu in |
15926 ia64*) 15927 shrext_cmds='.so' 15928 hardcode_into_libs=yes 15929 dynamic_linker="$host_os dld.so" 15930 shlibpath_var=LD_LIBRARY_PATH 15931 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15933 soname_spec='${libname}${release}${shared_ext}$major' --- 23 unchanged lines hidden (view full) --- 15957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15958 soname_spec='${libname}${release}${shared_ext}$major' 15959 ;; 15960 esac 15961 # HP-UX runs *really* slowly unless shared libraries are mode 555. 15962 postinstall_cmds='chmod 555 $lib' 15963 ;; 15964 | 16075 ia64*) 16076 shrext_cmds='.so' 16077 hardcode_into_libs=yes 16078 dynamic_linker="$host_os dld.so" 16079 shlibpath_var=LD_LIBRARY_PATH 16080 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16082 soname_spec='${libname}${release}${shared_ext}$major' --- 23 unchanged lines hidden (view full) --- 16106 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16107 soname_spec='${libname}${release}${shared_ext}$major' 16108 ;; 16109 esac 16110 # HP-UX runs *really* slowly unless shared libraries are mode 555. 16111 postinstall_cmds='chmod 555 $lib' 16112 ;; 16113 |
16114interix[3-9]*) 16115 version_type=linux 16116 need_lib_prefix=no 16117 need_version=no 16118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16119 soname_spec='${libname}${release}${shared_ext}$major' 16120 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16121 shlibpath_var=LD_LIBRARY_PATH 16122 shlibpath_overrides_runpath=no 16123 hardcode_into_libs=yes 16124 ;; 16125 |
|
15965irix5* | irix6* | nonstopux*) 15966 case $host_os in 15967 nonstopux*) version_type=nonstopux ;; 15968 *) 15969 if test "$lt_cv_prog_gnu_ld" = yes; then 15970 version_type=linux 15971 else 15972 version_type=irix --- 27 unchanged lines hidden (view full) --- 16000 ;; 16001 16002# No shared lib support for Linux oldld, aout, or coff. 16003linux*oldld* | linux*aout* | linux*coff*) 16004 dynamic_linker=no 16005 ;; 16006 16007# This must be Linux ELF. | 16126irix5* | irix6* | nonstopux*) 16127 case $host_os in 16128 nonstopux*) version_type=nonstopux ;; 16129 *) 16130 if test "$lt_cv_prog_gnu_ld" = yes; then 16131 version_type=linux 16132 else 16133 version_type=irix --- 27 unchanged lines hidden (view full) --- 16161 ;; 16162 16163# No shared lib support for Linux oldld, aout, or coff. 16164linux*oldld* | linux*aout* | linux*coff*) 16165 dynamic_linker=no 16166 ;; 16167 16168# This must be Linux ELF. |
16008linux*) | 16169linux* | k*bsd*-gnu) |
16009 version_type=linux 16010 need_lib_prefix=no 16011 need_version=no 16012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16013 soname_spec='${libname}${release}${shared_ext}$major' 16014 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16015 shlibpath_var=LD_LIBRARY_PATH 16016 shlibpath_overrides_runpath=no 16017 # This implies no fast_install, which is unacceptable. 16018 # Some rework will be needed to allow for fast_install 16019 # before this can be enabled. 16020 hardcode_into_libs=yes 16021 16022 # Append ld.so.conf contents to the search path 16023 if test -f /etc/ld.so.conf; then | 16170 version_type=linux 16171 need_lib_prefix=no 16172 need_version=no 16173 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16174 soname_spec='${libname}${release}${shared_ext}$major' 16175 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16176 shlibpath_var=LD_LIBRARY_PATH 16177 shlibpath_overrides_runpath=no 16178 # This implies no fast_install, which is unacceptable. 16179 # Some rework will be needed to allow for fast_install 16180 # before this can be enabled. 16181 hardcode_into_libs=yes 16182 16183 # Append ld.so.conf contents to the search path 16184 if test -f /etc/ld.so.conf; then |
16024 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' ' '` | 16185 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
16025 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 16026 fi 16027 16028 # We used to test for /lib/ld.so.1 and disable shared libraries on 16029 # powerpc, because MkLinux only supported shared libraries with the 16030 # GNU dynamic linker. Since this was broken with cross compilers, 16031 # most powerpc-linux boxes support dynamic linking these days and 16032 # people can always --disable-shared, the test was removed, and we 16033 # assume the GNU/Linux dynamic linker is in use. 16034 dynamic_linker='GNU/Linux ld.so' 16035 ;; 16036 | 16186 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 16187 fi 16188 16189 # We used to test for /lib/ld.so.1 and disable shared libraries on 16190 # powerpc, because MkLinux only supported shared libraries with the 16191 # GNU dynamic linker. Since this was broken with cross compilers, 16192 # most powerpc-linux boxes support dynamic linking these days and 16193 # people can always --disable-shared, the test was removed, and we 16194 # assume the GNU/Linux dynamic linker is in use. 16195 dynamic_linker='GNU/Linux ld.so' 16196 ;; 16197 |
16037knetbsd*-gnu) 16038 version_type=linux 16039 need_lib_prefix=no 16040 need_version=no 16041 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16042 soname_spec='${libname}${release}${shared_ext}$major' 16043 shlibpath_var=LD_LIBRARY_PATH 16044 shlibpath_overrides_runpath=no 16045 hardcode_into_libs=yes 16046 dynamic_linker='GNU ld.so' 16047 ;; 16048 | |
16049netbsd*) 16050 version_type=sunos 16051 need_lib_prefix=no 16052 need_version=no 16053 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 16054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16055 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16056 dynamic_linker='NetBSD (a.out) ld.so' --- 21 unchanged lines hidden (view full) --- 16078 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16079 soname_spec='${libname}${release}${shared_ext}$major' 16080 shlibpath_var=LD_LIBRARY_PATH 16081 shlibpath_overrides_runpath=yes 16082 ;; 16083 16084openbsd*) 16085 version_type=sunos | 16198netbsd*) 16199 version_type=sunos 16200 need_lib_prefix=no 16201 need_version=no 16202 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 16203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16204 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16205 dynamic_linker='NetBSD (a.out) ld.so' --- 21 unchanged lines hidden (view full) --- 16227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16228 soname_spec='${libname}${release}${shared_ext}$major' 16229 shlibpath_var=LD_LIBRARY_PATH 16230 shlibpath_overrides_runpath=yes 16231 ;; 16232 16233openbsd*) 16234 version_type=sunos |
16235 sys_lib_dlsearch_path_spec="/usr/lib" |
|
16086 need_lib_prefix=no 16087 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 16088 case $host_os in 16089 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 16090 *) need_version=no ;; 16091 esac 16092 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16093 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' --- 27 unchanged lines hidden (view full) --- 16121 need_version=no 16122 soname_spec='${libname}${release}${shared_ext}$major' 16123 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16124 shlibpath_var=LD_LIBRARY_PATH 16125 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16126 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 16127 ;; 16128 | 16236 need_lib_prefix=no 16237 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 16238 case $host_os in 16239 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 16240 *) need_version=no ;; 16241 esac 16242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16243 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' --- 27 unchanged lines hidden (view full) --- 16271 need_version=no 16272 soname_spec='${libname}${release}${shared_ext}$major' 16273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16274 shlibpath_var=LD_LIBRARY_PATH 16275 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16276 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 16277 ;; 16278 |
16129sco3.2v5*) 16130 version_type=osf 16131 soname_spec='${libname}${release}${shared_ext}$major' 16132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16133 shlibpath_var=LD_LIBRARY_PATH | 16279rdos*) 16280 dynamic_linker=no |
16134 ;; 16135 16136solaris*) 16137 version_type=linux 16138 need_lib_prefix=no 16139 need_version=no 16140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16141 soname_spec='${libname}${release}${shared_ext}$major' --- 11 unchanged lines hidden (view full) --- 16153 shlibpath_var=LD_LIBRARY_PATH 16154 shlibpath_overrides_runpath=yes 16155 if test "$with_gnu_ld" = yes; then 16156 need_lib_prefix=no 16157 fi 16158 need_version=yes 16159 ;; 16160 | 16281 ;; 16282 16283solaris*) 16284 version_type=linux 16285 need_lib_prefix=no 16286 need_version=no 16287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16288 soname_spec='${libname}${release}${shared_ext}$major' --- 11 unchanged lines hidden (view full) --- 16300 shlibpath_var=LD_LIBRARY_PATH 16301 shlibpath_overrides_runpath=yes 16302 if test "$with_gnu_ld" = yes; then 16303 need_lib_prefix=no 16304 fi 16305 need_version=yes 16306 ;; 16307 |
16161sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 16308sysv4 | sysv4.3*) |
16162 version_type=linux 16163 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16164 soname_spec='${libname}${release}${shared_ext}$major' 16165 shlibpath_var=LD_LIBRARY_PATH 16166 case $host_vendor in 16167 sni) 16168 shlibpath_overrides_runpath=no 16169 need_lib_prefix=no --- 16 unchanged lines hidden (view full) --- 16186 if test -d /usr/nec ;then 16187 version_type=linux 16188 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 16189 soname_spec='$libname${shared_ext}.$major' 16190 shlibpath_var=LD_LIBRARY_PATH 16191 fi 16192 ;; 16193 | 16309 version_type=linux 16310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16311 soname_spec='${libname}${release}${shared_ext}$major' 16312 shlibpath_var=LD_LIBRARY_PATH 16313 case $host_vendor in 16314 sni) 16315 shlibpath_overrides_runpath=no 16316 need_lib_prefix=no --- 16 unchanged lines hidden (view full) --- 16333 if test -d /usr/nec ;then 16334 version_type=linux 16335 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 16336 soname_spec='$libname${shared_ext}.$major' 16337 shlibpath_var=LD_LIBRARY_PATH 16338 fi 16339 ;; 16340 |
16341sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16342 version_type=freebsd-elf 16343 need_lib_prefix=no 16344 need_version=no 16345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 16346 soname_spec='${libname}${release}${shared_ext}$major' 16347 shlibpath_var=LD_LIBRARY_PATH 16348 hardcode_into_libs=yes 16349 if test "$with_gnu_ld" = yes; then 16350 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16351 shlibpath_overrides_runpath=no 16352 else 16353 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16354 shlibpath_overrides_runpath=yes 16355 case $host_os in 16356 sco3.2v5*) 16357 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16358 ;; 16359 esac 16360 fi 16361 sys_lib_dlsearch_path_spec='/usr/lib' 16362 ;; 16363 |
|
16194uts4*) 16195 version_type=linux 16196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16197 soname_spec='${libname}${release}${shared_ext}$major' 16198 shlibpath_var=LD_LIBRARY_PATH 16199 ;; 16200 16201*) 16202 dynamic_linker=no 16203 ;; 16204esac 16205{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 16206echo "${ECHO_T}$dynamic_linker" >&6; } 16207test "$dynamic_linker" = no && can_build_shared=no 16208 | 16364uts4*) 16365 version_type=linux 16366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16367 soname_spec='${libname}${release}${shared_ext}$major' 16368 shlibpath_var=LD_LIBRARY_PATH 16369 ;; 16370 16371*) 16372 dynamic_linker=no 16373 ;; 16374esac 16375{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 16376echo "${ECHO_T}$dynamic_linker" >&6; } 16377test "$dynamic_linker" = no && can_build_shared=no 16378 |
16379if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 16380 echo $ECHO_N "(cached) $ECHO_C" >&6 16381else 16382 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" 16383fi 16384 16385sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 16386if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 16387 echo $ECHO_N "(cached) $ECHO_C" >&6 16388else 16389 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" 16390fi 16391 16392sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 16393 16394variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16395if test "$GCC" = yes; then 16396 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16397fi 16398 |
|
16209{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 16210echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 16211hardcode_action_F77= 16212if test -n "$hardcode_libdir_flag_spec_F77" || \ 16213 test -n "$runpath_var_F77" || \ 16214 test "X$hardcode_automatic_F77" = "Xyes" ; then 16215 16216 # We can hardcode non-existant directories. --- 21 unchanged lines hidden (view full) --- 16238 # Fast installation is not supported 16239 enable_fast_install=no 16240elif test "$shlibpath_overrides_runpath" = yes || 16241 test "$enable_shared" = no; then 16242 # Fast installation is not necessary 16243 enable_fast_install=needless 16244fi 16245 | 16399{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 16400echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 16401hardcode_action_F77= 16402if test -n "$hardcode_libdir_flag_spec_F77" || \ 16403 test -n "$runpath_var_F77" || \ 16404 test "X$hardcode_automatic_F77" = "Xyes" ; then 16405 16406 # We can hardcode non-existant directories. --- 21 unchanged lines hidden (view full) --- 16428 # Fast installation is not supported 16429 enable_fast_install=no 16430elif test "$shlibpath_overrides_runpath" = yes || 16431 test "$enable_shared" = no; then 16432 # Fast installation is not necessary 16433 enable_fast_install=needless 16434fi 16435 |
16246striplib= 16247old_striplib= 16248{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 16249echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } 16250if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 16251 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 16252 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 16253 { echo "$as_me:$LINENO: result: yes" >&5 16254echo "${ECHO_T}yes" >&6; } 16255else 16256# FIXME - insert some real tests, host_os isn't really good enough 16257 case $host_os in 16258 darwin*) 16259 if test -n "$STRIP" ; then 16260 striplib="$STRIP -x" 16261 { echo "$as_me:$LINENO: result: yes" >&5 16262echo "${ECHO_T}yes" >&6; } 16263 else 16264 { echo "$as_me:$LINENO: result: no" >&5 16265echo "${ECHO_T}no" >&6; } 16266fi 16267 ;; 16268 *) 16269 { echo "$as_me:$LINENO: result: no" >&5 16270echo "${ECHO_T}no" >&6; } 16271 ;; 16272 esac 16273fi | |
16274 | 16436 |
16275 16276 | |
16277# The else clause should only fire when bootstrapping the 16278# libtool distribution, otherwise you forgot to ship ltmain.sh 16279# with your package, and you will get complaints that there are 16280# no rules to generate ltmain.sh. 16281if test -f "$ltmain"; then 16282 # See if we are running on zsh, and set the options which allow our commands through 16283 # without removal of \ escapes. 16284 if test -n "${ZSH_VERSION+set}" ; then 16285 setopt NO_GLOB_SUBST 16286 fi 16287 # Now quote all the things that may contain metacharacters while being 16288 # careful not to overquote the AC_SUBSTed values. We take copies of the 16289 # variables and quote the copies for generation of the libtool script. | 16437# The else clause should only fire when bootstrapping the 16438# libtool distribution, otherwise you forgot to ship ltmain.sh 16439# with your package, and you will get complaints that there are 16440# no rules to generate ltmain.sh. 16441if test -f "$ltmain"; then 16442 # See if we are running on zsh, and set the options which allow our commands through 16443 # without removal of \ escapes. 16444 if test -n "${ZSH_VERSION+set}" ; then 16445 setopt NO_GLOB_SUBST 16446 fi 16447 # Now quote all the things that may contain metacharacters while being 16448 # careful not to overquote the AC_SUBSTed values. We take copies of the 16449 # variables and quote the copies for generation of the libtool script. |
16290 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ | 16450 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
16291 SED SHELL STRIP \ 16292 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 16293 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 16294 deplibs_check_method reload_flag reload_cmds need_locks \ 16295 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 16296 lt_cv_sys_global_symbol_to_c_name_address \ 16297 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 16298 old_postinstall_cmds old_postuninstall_cmds \ --- 10 unchanged lines hidden (view full) --- 16309 enable_shared_with_static_runtimes_F77 \ 16310 old_archive_cmds_F77 \ 16311 old_archive_from_new_cmds_F77 \ 16312 predep_objects_F77 \ 16313 postdep_objects_F77 \ 16314 predeps_F77 \ 16315 postdeps_F77 \ 16316 compiler_lib_search_path_F77 \ | 16451 SED SHELL STRIP \ 16452 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 16453 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 16454 deplibs_check_method reload_flag reload_cmds need_locks \ 16455 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 16456 lt_cv_sys_global_symbol_to_c_name_address \ 16457 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 16458 old_postinstall_cmds old_postuninstall_cmds \ --- 10 unchanged lines hidden (view full) --- 16469 enable_shared_with_static_runtimes_F77 \ 16470 old_archive_cmds_F77 \ 16471 old_archive_from_new_cmds_F77 \ 16472 predep_objects_F77 \ 16473 postdep_objects_F77 \ 16474 predeps_F77 \ 16475 postdeps_F77 \ 16476 compiler_lib_search_path_F77 \ |
16477 compiler_lib_search_dirs_F77 \ |
|
16317 archive_cmds_F77 \ 16318 archive_expsym_cmds_F77 \ 16319 postinstall_cmds_F77 \ 16320 postuninstall_cmds_F77 \ 16321 old_archive_from_expsyms_cmds_F77 \ 16322 allow_undefined_flag_F77 \ 16323 no_undefined_flag_F77 \ 16324 export_symbols_cmds_F77 \ 16325 hardcode_libdir_flag_spec_F77 \ 16326 hardcode_libdir_flag_spec_ld_F77 \ 16327 hardcode_libdir_separator_F77 \ 16328 hardcode_automatic_F77 \ 16329 module_cmds_F77 \ 16330 module_expsym_cmds_F77 \ 16331 lt_cv_prog_compiler_c_o_F77 \ | 16478 archive_cmds_F77 \ 16479 archive_expsym_cmds_F77 \ 16480 postinstall_cmds_F77 \ 16481 postuninstall_cmds_F77 \ 16482 old_archive_from_expsyms_cmds_F77 \ 16483 allow_undefined_flag_F77 \ 16484 no_undefined_flag_F77 \ 16485 export_symbols_cmds_F77 \ 16486 hardcode_libdir_flag_spec_F77 \ 16487 hardcode_libdir_flag_spec_ld_F77 \ 16488 hardcode_libdir_separator_F77 \ 16489 hardcode_automatic_F77 \ 16490 module_cmds_F77 \ 16491 module_expsym_cmds_F77 \ 16492 lt_cv_prog_compiler_c_o_F77 \ |
16493 fix_srcfile_path_F77 \ |
|
16332 exclude_expsyms_F77 \ 16333 include_expsyms_F77; do 16334 16335 case $var in 16336 old_archive_cmds_F77 | \ 16337 old_archive_from_new_cmds_F77 | \ 16338 archive_cmds_F77 | \ 16339 archive_expsym_cmds_F77 | \ --- 60 unchanged lines hidden (view full) --- 16400 16401# The archiver. 16402AR=$lt_AR 16403AR_FLAGS=$lt_AR_FLAGS 16404 16405# A C compiler. 16406LTCC=$lt_LTCC 16407 | 16494 exclude_expsyms_F77 \ 16495 include_expsyms_F77; do 16496 16497 case $var in 16498 old_archive_cmds_F77 | \ 16499 old_archive_from_new_cmds_F77 | \ 16500 archive_cmds_F77 | \ 16501 archive_expsym_cmds_F77 | \ --- 60 unchanged lines hidden (view full) --- 16562 16563# The archiver. 16564AR=$lt_AR 16565AR_FLAGS=$lt_AR_FLAGS 16566 16567# A C compiler. 16568LTCC=$lt_LTCC 16569 |
16570# LTCC compiler flags. 16571LTCFLAGS=$lt_LTCFLAGS 16572 |
|
16408# A language-specific compiler. 16409CC=$lt_compiler_F77 16410 16411# Is the compiler the GNU C compiler? 16412with_gcc=$GCC_F77 16413 16414# An ERE matcher. 16415EGREP=$lt_EGREP --- 137 unchanged lines hidden (view full) --- 16553# Dependencies to place before the objects being linked to create a 16554# shared library. 16555predeps=$lt_predeps_F77 16556 16557# Dependencies to place after the objects being linked to create a 16558# shared library. 16559postdeps=$lt_postdeps_F77 16560 | 16573# A language-specific compiler. 16574CC=$lt_compiler_F77 16575 16576# Is the compiler the GNU C compiler? 16577with_gcc=$GCC_F77 16578 16579# An ERE matcher. 16580EGREP=$lt_EGREP --- 137 unchanged lines hidden (view full) --- 16718# Dependencies to place before the objects being linked to create a 16719# shared library. 16720predeps=$lt_predeps_F77 16721 16722# Dependencies to place after the objects being linked to create a 16723# shared library. 16724postdeps=$lt_postdeps_F77 16725 |
16726# The directories searched by this compiler when creating a shared 16727# library 16728compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77 16729 |
|
16561# The library search path used internally by the compiler when linking 16562# a shared library. 16563compiler_lib_search_path=$lt_compiler_lib_search_path_F77 16564 16565# Method to check whether dependent libraries are shared objects. 16566deplibs_check_method=$lt_deplibs_check_method 16567 16568# Command to use when deplibs_check_method == file_magic. --- 72 unchanged lines hidden (view full) --- 16641 16642# Compile-time system search path for libraries 16643sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 16644 16645# Run-time system search path for libraries 16646sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 16647 16648# Fix the shell variable \$srcfile for the compiler. | 16730# The library search path used internally by the compiler when linking 16731# a shared library. 16732compiler_lib_search_path=$lt_compiler_lib_search_path_F77 16733 16734# Method to check whether dependent libraries are shared objects. 16735deplibs_check_method=$lt_deplibs_check_method 16736 16737# Command to use when deplibs_check_method == file_magic. --- 72 unchanged lines hidden (view full) --- 16810 16811# Compile-time system search path for libraries 16812sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 16813 16814# Run-time system search path for libraries 16815sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 16816 16817# Fix the shell variable \$srcfile for the compiler. |
16649fix_srcfile_path="$fix_srcfile_path_F77" | 16818fix_srcfile_path=$lt_fix_srcfile_path |
16650 16651# Set to yes if exported symbols are required. 16652always_export_symbols=$always_export_symbols_F77 16653 16654# The commands to list exported symbols. 16655export_symbols_cmds=$lt_export_symbols_cmds_F77 16656 16657# The commands to extract the exported symbol list from a shared archive. --- 41 unchanged lines hidden (view full) --- 16699# Source file extension for Java test sources. 16700ac_ext=java 16701 16702# Object file extension for compiled Java test sources. 16703objext=o 16704objext_GCJ=$objext 16705 16706# Code to be used in simple compile tests | 16819 16820# Set to yes if exported symbols are required. 16821always_export_symbols=$always_export_symbols_F77 16822 16823# The commands to list exported symbols. 16824export_symbols_cmds=$lt_export_symbols_cmds_F77 16825 16826# The commands to extract the exported symbol list from a shared archive. --- 41 unchanged lines hidden (view full) --- 16868# Source file extension for Java test sources. 16869ac_ext=java 16870 16871# Object file extension for compiled Java test sources. 16872objext=o 16873objext_GCJ=$objext 16874 16875# Code to be used in simple compile tests |
16707lt_simple_compile_test_code="class foo {}\n" | 16876lt_simple_compile_test_code="class foo {}" |
16708 16709# Code to be used in simple link tests | 16877 16878# Code to be used in simple link tests |
16710lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n' | 16879lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }' |
16711 16712# ltmain only uses $CC for tagged configurations so make sure $CC is set. 16713 16714# If no C compiler was specified, use CC. 16715LTCC=${LTCC-"$CC"} 16716 | 16880 16881# ltmain only uses $CC for tagged configurations so make sure $CC is set. 16882 16883# If no C compiler was specified, use CC. 16884LTCC=${LTCC-"$CC"} 16885 |
16886# If no C compiler flags were specified, use CFLAGS. 16887LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 16888 |
|
16717# Allow CC to be a program name with arguments. 16718compiler=$CC 16719 16720 16721# save warnings/boilerplate of simple test code 16722ac_outfile=conftest.$ac_objext | 16889# Allow CC to be a program name with arguments. 16890compiler=$CC 16891 16892 16893# save warnings/boilerplate of simple test code 16894ac_outfile=conftest.$ac_objext |
16723printf "$lt_simple_compile_test_code" >conftest.$ac_ext 16724eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err | 16895echo "$lt_simple_compile_test_code" >conftest.$ac_ext 16896eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
16725_lt_compiler_boilerplate=`cat conftest.err` 16726$rm conftest* 16727 16728ac_outfile=conftest.$ac_objext | 16897_lt_compiler_boilerplate=`cat conftest.err` 16898$rm conftest* 16899 16900ac_outfile=conftest.$ac_objext |
16729printf "$lt_simple_link_test_code" >conftest.$ac_ext 16730eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err | 16901echo "$lt_simple_link_test_code" >conftest.$ac_ext 16902eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
16731_lt_linker_boilerplate=`cat conftest.err` | 16903_lt_linker_boilerplate=`cat conftest.err` |
16732$rm conftest* | 16904$rm -r conftest* |
16733 16734 16735# Allow CC to be a program name with arguments. 16736lt_save_CC="$CC" 16737CC=${GCJ-"gcj"} 16738compiler=$CC 16739compiler_GCJ=$CC 16740for cc_temp in $compiler""; do --- 21 unchanged lines hidden (view full) --- 16762 16763{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 16764echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } 16765if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 16766 echo $ECHO_N "(cached) $ECHO_C" >&6 16767else 16768 lt_cv_prog_compiler_rtti_exceptions=no 16769 ac_outfile=conftest.$ac_objext | 16905 16906 16907# Allow CC to be a program name with arguments. 16908lt_save_CC="$CC" 16909CC=${GCJ-"gcj"} 16910compiler=$CC 16911compiler_GCJ=$CC 16912for cc_temp in $compiler""; do --- 21 unchanged lines hidden (view full) --- 16934 16935{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 16936echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } 16937if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 16938 echo $ECHO_N "(cached) $ECHO_C" >&6 16939else 16940 lt_cv_prog_compiler_rtti_exceptions=no 16941 ac_outfile=conftest.$ac_objext |
16770 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 16942 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
16771 lt_compiler_flag="-fno-rtti -fno-exceptions" 16772 # Insert the option either (1) after the last *FLAGS variable, or 16773 # (2) before a word containing "conftest.", or (3) at the end. 16774 # Note that $ac_compile itself does not contain backslashes and begins 16775 # with a dollar sign (not a hyphen), so the echo should work correctly. 16776 # The option is referenced via a variable to avoid confusing sed. 16777 lt_compile=`echo "$ac_compile" | $SED \ | 16943 lt_compiler_flag="-fno-rtti -fno-exceptions" 16944 # Insert the option either (1) after the last *FLAGS variable, or 16945 # (2) before a word containing "conftest.", or (3) at the end. 16946 # Note that $ac_compile itself does not contain backslashes and begins 16947 # with a dollar sign (not a hyphen), so the echo should work correctly. 16948 # The option is referenced via a variable to avoid confusing sed. 16949 lt_compile=`echo "$ac_compile" | $SED \ |
16778 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 16950 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
16779 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16780 -e 's:$: $lt_compiler_flag:'` | 16951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16952 -e 's:$: $lt_compiler_flag:'` |
16781 (eval echo "\"\$as_me:16781: $lt_compile\"" >&5) | 16953 (eval echo "\"\$as_me:16953: $lt_compile\"" >&5) |
16782 (eval "$lt_compile" 2>conftest.err) 16783 ac_status=$? 16784 cat conftest.err >&5 | 16954 (eval "$lt_compile" 2>conftest.err) 16955 ac_status=$? 16956 cat conftest.err >&5 |
16785 echo "$as_me:16785: \$? = $ac_status" >&5 | 16957 echo "$as_me:16957: \$? = $ac_status" >&5 |
16786 if (exit $ac_status) && test -s "$ac_outfile"; then 16787 # The compiler can only warn and ignore the option if not recognized 16788 # So say no if there are warnings other than the usual output. | 16958 if (exit $ac_status) && test -s "$ac_outfile"; then 16959 # The compiler can only warn and ignore the option if not recognized 16960 # So say no if there are warnings other than the usual output. |
16789 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp 16790 $SED '/^$/d' conftest.err >conftest.er2 16791 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then | 16961 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 16962 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 16963 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
16792 lt_cv_prog_compiler_rtti_exceptions=yes 16793 fi 16794 fi 16795 $rm conftest* 16796 16797fi 16798{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 16799echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } --- 28 unchanged lines hidden (view full) --- 16828 16829 amigaos*) 16830 # FIXME: we need at least 68020 code to build shared libraries, but 16831 # adding the `-m68020' flag to GCC prevents building anything better, 16832 # like `-m68040'. 16833 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' 16834 ;; 16835 | 16964 lt_cv_prog_compiler_rtti_exceptions=yes 16965 fi 16966 fi 16967 $rm conftest* 16968 16969fi 16970{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 16971echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } --- 28 unchanged lines hidden (view full) --- 17000 17001 amigaos*) 17002 # FIXME: we need at least 68020 code to build shared libraries, but 17003 # adding the `-m68020' flag to GCC prevents building anything better, 17004 # like `-m68040'. 17005 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' 17006 ;; 17007 |
16836 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 17008 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
16837 # PIC is the default for these OSes. 16838 ;; 16839 | 17009 # PIC is the default for these OSes. 17010 ;; 17011 |
16840 mingw* | pw32* | os2*) | 17012 mingw* | cygwin* | pw32* | os2*) |
16841 # This hack is so that the source file can tell whether it is being 16842 # built for inclusion in a dll (and should export symbols for example). | 17013 # This hack is so that the source file can tell whether it is being 17014 # built for inclusion in a dll (and should export symbols for example). |
16843 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' | 17015 # Although the cygwin gcc ignores -fPIC, still need this for old-style 17016 # (--disable-auto-import) libraries 17017 |
16844 ;; 16845 16846 darwin* | rhapsody*) 16847 # PIC is the default on this platform 16848 # Common symbols not allowed in MH_DYLIB files 16849 lt_prog_compiler_pic_GCJ='-fno-common' 16850 ;; 16851 | 17018 ;; 17019 17020 darwin* | rhapsody*) 17021 # PIC is the default on this platform 17022 # Common symbols not allowed in MH_DYLIB files 17023 lt_prog_compiler_pic_GCJ='-fno-common' 17024 ;; 17025 |
17026 interix[3-9]*) 17027 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 17028 # Instead, we relocate shared libraries at runtime. 17029 ;; 17030 |
|
16852 msdosdjgpp*) 16853 # Just because we use GCC doesn't mean we suddenly get shared libraries 16854 # on systems that don't support them. 16855 lt_prog_compiler_can_build_shared_GCJ=no 16856 enable_shared=no 16857 ;; 16858 16859 sysv4*MP*) 16860 if test -d /usr/nec; then 16861 lt_prog_compiler_pic_GCJ=-Kconform_pic 16862 fi 16863 ;; 16864 16865 hpux*) 16866 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 16867 # not for PA HP-UX. | 17031 msdosdjgpp*) 17032 # Just because we use GCC doesn't mean we suddenly get shared libraries 17033 # on systems that don't support them. 17034 lt_prog_compiler_can_build_shared_GCJ=no 17035 enable_shared=no 17036 ;; 17037 17038 sysv4*MP*) 17039 if test -d /usr/nec; then 17040 lt_prog_compiler_pic_GCJ=-Kconform_pic 17041 fi 17042 ;; 17043 17044 hpux*) 17045 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 17046 # not for PA HP-UX. |
16868 case "$host_cpu" in | 17047 case $host_cpu in |
16869 hppa*64*|ia64*) 16870 # +Z the default 16871 ;; 16872 *) 16873 lt_prog_compiler_pic_GCJ='-fPIC' 16874 ;; 16875 esac 16876 ;; --- 20 unchanged lines hidden (view full) --- 16897 case $cc_basename in 16898 xlc*) 16899 lt_prog_compiler_pic_GCJ='-qnocommon' 16900 lt_prog_compiler_wl_GCJ='-Wl,' 16901 ;; 16902 esac 16903 ;; 16904 | 17048 hppa*64*|ia64*) 17049 # +Z the default 17050 ;; 17051 *) 17052 lt_prog_compiler_pic_GCJ='-fPIC' 17053 ;; 17054 esac 17055 ;; --- 20 unchanged lines hidden (view full) --- 17076 case $cc_basename in 17077 xlc*) 17078 lt_prog_compiler_pic_GCJ='-qnocommon' 17079 lt_prog_compiler_wl_GCJ='-Wl,' 17080 ;; 17081 esac 17082 ;; 17083 |
16905 mingw* | pw32* | os2*) | 17084 mingw* | cygwin* | pw32* | os2*) |
16906 # This hack is so that the source file can tell whether it is being 16907 # built for inclusion in a dll (and should export symbols for example). | 17085 # This hack is so that the source file can tell whether it is being 17086 # built for inclusion in a dll (and should export symbols for example). |
16908 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' | 17087 |
16909 ;; 16910 16911 hpux9* | hpux10* | hpux11*) 16912 lt_prog_compiler_wl_GCJ='-Wl,' 16913 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 16914 # not for PA HP-UX. | 17088 ;; 17089 17090 hpux9* | hpux10* | hpux11*) 17091 lt_prog_compiler_wl_GCJ='-Wl,' 17092 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 17093 # not for PA HP-UX. |
16915 case "$host_cpu" in | 17094 case $host_cpu in |
16916 hppa*64*|ia64*) 16917 # +Z the default 16918 ;; 16919 *) 16920 lt_prog_compiler_pic_GCJ='+Z' 16921 ;; 16922 esac 16923 # Is there a better lt_prog_compiler_static that works with the bundled CC? --- 6 unchanged lines hidden (view full) --- 16930 lt_prog_compiler_static_GCJ='-non_shared' 16931 ;; 16932 16933 newsos6) 16934 lt_prog_compiler_pic_GCJ='-KPIC' 16935 lt_prog_compiler_static_GCJ='-Bstatic' 16936 ;; 16937 | 17095 hppa*64*|ia64*) 17096 # +Z the default 17097 ;; 17098 *) 17099 lt_prog_compiler_pic_GCJ='+Z' 17100 ;; 17101 esac 17102 # Is there a better lt_prog_compiler_static that works with the bundled CC? --- 6 unchanged lines hidden (view full) --- 17109 lt_prog_compiler_static_GCJ='-non_shared' 17110 ;; 17111 17112 newsos6) 17113 lt_prog_compiler_pic_GCJ='-KPIC' 17114 lt_prog_compiler_static_GCJ='-Bstatic' 17115 ;; 17116 |
16938 linux*) | 17117 linux* | k*bsd*-gnu) |
16939 case $cc_basename in 16940 icc* | ecc*) 16941 lt_prog_compiler_wl_GCJ='-Wl,' 16942 lt_prog_compiler_pic_GCJ='-KPIC' 16943 lt_prog_compiler_static_GCJ='-static' 16944 ;; | 17118 case $cc_basename in 17119 icc* | ecc*) 17120 lt_prog_compiler_wl_GCJ='-Wl,' 17121 lt_prog_compiler_pic_GCJ='-KPIC' 17122 lt_prog_compiler_static_GCJ='-static' 17123 ;; |
16945 pgcc* | pgf77* | pgf90*) | 17124 pgcc* | pgf77* | pgf90* | pgf95*) |
16946 # Portland Group compilers (*not* the Pentium gcc compiler, 16947 # which looks to be a dead project) 16948 lt_prog_compiler_wl_GCJ='-Wl,' 16949 lt_prog_compiler_pic_GCJ='-fpic' | 17125 # Portland Group compilers (*not* the Pentium gcc compiler, 17126 # which looks to be a dead project) 17127 lt_prog_compiler_wl_GCJ='-Wl,' 17128 lt_prog_compiler_pic_GCJ='-fpic' |
16950 lt_prog_compiler_static_GCJ='-static' | 17129 lt_prog_compiler_static_GCJ='-Bstatic' |
16951 ;; 16952 ccc*) 16953 lt_prog_compiler_wl_GCJ='-Wl,' 16954 # All Alpha code is PIC. 16955 lt_prog_compiler_static_GCJ='-non_shared' 16956 ;; | 17130 ;; 17131 ccc*) 17132 lt_prog_compiler_wl_GCJ='-Wl,' 17133 # All Alpha code is PIC. 17134 lt_prog_compiler_static_GCJ='-non_shared' 17135 ;; |
17136 *) 17137 case `$CC -V 2>&1 | sed 5q` in 17138 *Sun\ C*) 17139 # Sun C 5.9 17140 lt_prog_compiler_pic_GCJ='-KPIC' 17141 lt_prog_compiler_static_GCJ='-Bstatic' 17142 lt_prog_compiler_wl_GCJ='-Wl,' 17143 ;; 17144 *Sun\ F*) 17145 # Sun Fortran 8.3 passes all unrecognized flags to the linker 17146 lt_prog_compiler_pic_GCJ='-KPIC' 17147 lt_prog_compiler_static_GCJ='-Bstatic' 17148 lt_prog_compiler_wl_GCJ='' 17149 ;; 17150 esac 17151 ;; |
|
16957 esac 16958 ;; 16959 16960 osf3* | osf4* | osf5*) 16961 lt_prog_compiler_wl_GCJ='-Wl,' 16962 # All OSF/1 code is PIC. 16963 lt_prog_compiler_static_GCJ='-non_shared' 16964 ;; 16965 | 17152 esac 17153 ;; 17154 17155 osf3* | osf4* | osf5*) 17156 lt_prog_compiler_wl_GCJ='-Wl,' 17157 # All OSF/1 code is PIC. 17158 lt_prog_compiler_static_GCJ='-non_shared' 17159 ;; 17160 |
16966 sco3.2v5*) 16967 lt_prog_compiler_pic_GCJ='-Kpic' 16968 lt_prog_compiler_static_GCJ='-dn' | 17161 rdos*) 17162 lt_prog_compiler_static_GCJ='-non_shared' |
16969 ;; 16970 16971 solaris*) 16972 lt_prog_compiler_pic_GCJ='-KPIC' 16973 lt_prog_compiler_static_GCJ='-Bstatic' 16974 case $cc_basename in 16975 f77* | f90* | f95*) 16976 lt_prog_compiler_wl_GCJ='-Qoption ld ';; 16977 *) 16978 lt_prog_compiler_wl_GCJ='-Wl,';; 16979 esac 16980 ;; 16981 16982 sunos4*) 16983 lt_prog_compiler_wl_GCJ='-Qoption ld ' 16984 lt_prog_compiler_pic_GCJ='-PIC' 16985 lt_prog_compiler_static_GCJ='-Bstatic' 16986 ;; 16987 | 17163 ;; 17164 17165 solaris*) 17166 lt_prog_compiler_pic_GCJ='-KPIC' 17167 lt_prog_compiler_static_GCJ='-Bstatic' 17168 case $cc_basename in 17169 f77* | f90* | f95*) 17170 lt_prog_compiler_wl_GCJ='-Qoption ld ';; 17171 *) 17172 lt_prog_compiler_wl_GCJ='-Wl,';; 17173 esac 17174 ;; 17175 17176 sunos4*) 17177 lt_prog_compiler_wl_GCJ='-Qoption ld ' 17178 lt_prog_compiler_pic_GCJ='-PIC' 17179 lt_prog_compiler_static_GCJ='-Bstatic' 17180 ;; 17181 |
16988 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 17182 sysv4 | sysv4.2uw2* | sysv4.3*) |
16989 lt_prog_compiler_wl_GCJ='-Wl,' 16990 lt_prog_compiler_pic_GCJ='-KPIC' 16991 lt_prog_compiler_static_GCJ='-Bstatic' 16992 ;; 16993 16994 sysv4*MP*) 16995 if test -d /usr/nec ;then 16996 lt_prog_compiler_pic_GCJ='-Kconform_pic' 16997 lt_prog_compiler_static_GCJ='-Bstatic' 16998 fi 16999 ;; 17000 | 17183 lt_prog_compiler_wl_GCJ='-Wl,' 17184 lt_prog_compiler_pic_GCJ='-KPIC' 17185 lt_prog_compiler_static_GCJ='-Bstatic' 17186 ;; 17187 17188 sysv4*MP*) 17189 if test -d /usr/nec ;then 17190 lt_prog_compiler_pic_GCJ='-Kconform_pic' 17191 lt_prog_compiler_static_GCJ='-Bstatic' 17192 fi 17193 ;; 17194 |
17195 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 17196 lt_prog_compiler_wl_GCJ='-Wl,' 17197 lt_prog_compiler_pic_GCJ='-KPIC' 17198 lt_prog_compiler_static_GCJ='-Bstatic' 17199 ;; 17200 |
|
17001 unicos*) 17002 lt_prog_compiler_wl_GCJ='-Wl,' 17003 lt_prog_compiler_can_build_shared_GCJ=no 17004 ;; 17005 17006 uts4*) 17007 lt_prog_compiler_pic_GCJ='-pic' 17008 lt_prog_compiler_static_GCJ='-Bstatic' --- 10 unchanged lines hidden (view full) --- 17019 17020# 17021# Check to make sure the PIC flag actually works. 17022# 17023if test -n "$lt_prog_compiler_pic_GCJ"; then 17024 17025{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 17026echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; } | 17201 unicos*) 17202 lt_prog_compiler_wl_GCJ='-Wl,' 17203 lt_prog_compiler_can_build_shared_GCJ=no 17204 ;; 17205 17206 uts4*) 17207 lt_prog_compiler_pic_GCJ='-pic' 17208 lt_prog_compiler_static_GCJ='-Bstatic' --- 10 unchanged lines hidden (view full) --- 17219 17220# 17221# Check to make sure the PIC flag actually works. 17222# 17223if test -n "$lt_prog_compiler_pic_GCJ"; then 17224 17225{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 17226echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; } |
17027if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then | 17227if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then |
17028 echo $ECHO_N "(cached) $ECHO_C" >&6 17029else | 17228 echo $ECHO_N "(cached) $ECHO_C" >&6 17229else |
17030 lt_prog_compiler_pic_works_GCJ=no | 17230 lt_cv_prog_compiler_pic_works_GCJ=no |
17031 ac_outfile=conftest.$ac_objext | 17231 ac_outfile=conftest.$ac_objext |
17032 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 17232 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
17033 lt_compiler_flag="$lt_prog_compiler_pic_GCJ" 17034 # Insert the option either (1) after the last *FLAGS variable, or 17035 # (2) before a word containing "conftest.", or (3) at the end. 17036 # Note that $ac_compile itself does not contain backslashes and begins 17037 # with a dollar sign (not a hyphen), so the echo should work correctly. 17038 # The option is referenced via a variable to avoid confusing sed. 17039 lt_compile=`echo "$ac_compile" | $SED \ | 17233 lt_compiler_flag="$lt_prog_compiler_pic_GCJ" 17234 # Insert the option either (1) after the last *FLAGS variable, or 17235 # (2) before a word containing "conftest.", or (3) at the end. 17236 # Note that $ac_compile itself does not contain backslashes and begins 17237 # with a dollar sign (not a hyphen), so the echo should work correctly. 17238 # The option is referenced via a variable to avoid confusing sed. 17239 lt_compile=`echo "$ac_compile" | $SED \ |
17040 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 17240 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
17041 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17042 -e 's:$: $lt_compiler_flag:'` | 17241 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17242 -e 's:$: $lt_compiler_flag:'` |
17043 (eval echo "\"\$as_me:17043: $lt_compile\"" >&5) | 17243 (eval echo "\"\$as_me:17243: $lt_compile\"" >&5) |
17044 (eval "$lt_compile" 2>conftest.err) 17045 ac_status=$? 17046 cat conftest.err >&5 | 17244 (eval "$lt_compile" 2>conftest.err) 17245 ac_status=$? 17246 cat conftest.err >&5 |
17047 echo "$as_me:17047: \$? = $ac_status" >&5 | 17247 echo "$as_me:17247: \$? = $ac_status" >&5 |
17048 if (exit $ac_status) && test -s "$ac_outfile"; then 17049 # The compiler can only warn and ignore the option if not recognized 17050 # So say no if there are warnings other than the usual output. | 17248 if (exit $ac_status) && test -s "$ac_outfile"; then 17249 # The compiler can only warn and ignore the option if not recognized 17250 # So say no if there are warnings other than the usual output. |
17051 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp 17052 $SED '/^$/d' conftest.err >conftest.er2 17053 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then 17054 lt_prog_compiler_pic_works_GCJ=yes | 17251 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 17252 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 17253 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 17254 lt_cv_prog_compiler_pic_works_GCJ=yes |
17055 fi 17056 fi 17057 $rm conftest* 17058 17059fi | 17255 fi 17256 fi 17257 $rm conftest* 17258 17259fi |
17060{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 17061echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; } | 17260{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5 17261echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; } |
17062 | 17262 |
17063if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then | 17263if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then |
17064 case $lt_prog_compiler_pic_GCJ in 17065 "" | " "*) ;; 17066 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; 17067 esac 17068else 17069 lt_prog_compiler_pic_GCJ= 17070 lt_prog_compiler_can_build_shared_GCJ=no 17071fi 17072 17073fi | 17264 case $lt_prog_compiler_pic_GCJ in 17265 "" | " "*) ;; 17266 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; 17267 esac 17268else 17269 lt_prog_compiler_pic_GCJ= 17270 lt_prog_compiler_can_build_shared_GCJ=no 17271fi 17272 17273fi |
17074case "$host_os" in | 17274case $host_os in |
17075 # For platforms which do not support PIC, -DPIC is meaningless: 17076 *djgpp*) 17077 lt_prog_compiler_pic_GCJ= 17078 ;; 17079 *) 17080 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" 17081 ;; 17082esac 17083 | 17275 # For platforms which do not support PIC, -DPIC is meaningless: 17276 *djgpp*) 17277 lt_prog_compiler_pic_GCJ= 17278 ;; 17279 *) 17280 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" 17281 ;; 17282esac 17283 |
17284# 17285# Check to make sure the static flag actually works. 17286# 17287wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" 17288{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 17289echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } 17290if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then 17291 echo $ECHO_N "(cached) $ECHO_C" >&6 17292else 17293 lt_cv_prog_compiler_static_works_GCJ=no 17294 save_LDFLAGS="$LDFLAGS" 17295 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 17296 echo "$lt_simple_link_test_code" > conftest.$ac_ext 17297 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 17298 # The linker can only warn and ignore the option if not recognized 17299 # So say no if there are warnings 17300 if test -s conftest.err; then 17301 # Append any errors to the config.log. 17302 cat conftest.err 1>&5 17303 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 17304 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 17305 if diff conftest.exp conftest.er2 >/dev/null; then 17306 lt_cv_prog_compiler_static_works_GCJ=yes 17307 fi 17308 else 17309 lt_cv_prog_compiler_static_works_GCJ=yes 17310 fi 17311 fi 17312 $rm -r conftest* 17313 LDFLAGS="$save_LDFLAGS" 17314 17315fi 17316{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5 17317echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; } 17318 17319if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then 17320 : 17321else 17322 lt_prog_compiler_static_GCJ= 17323fi 17324 17325 |
|
17084{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 17085echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 17086if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then 17087 echo $ECHO_N "(cached) $ECHO_C" >&6 17088else 17089 lt_cv_prog_compiler_c_o_GCJ=no 17090 $rm -r conftest 2>/dev/null 17091 mkdir conftest 17092 cd conftest 17093 mkdir out | 17326{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 17327echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 17328if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then 17329 echo $ECHO_N "(cached) $ECHO_C" >&6 17330else 17331 lt_cv_prog_compiler_c_o_GCJ=no 17332 $rm -r conftest 2>/dev/null 17333 mkdir conftest 17334 cd conftest 17335 mkdir out |
17094 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 17336 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
17095 17096 lt_compiler_flag="-o out/conftest2.$ac_objext" 17097 # Insert the option either (1) after the last *FLAGS variable, or 17098 # (2) before a word containing "conftest.", or (3) at the end. 17099 # Note that $ac_compile itself does not contain backslashes and begins 17100 # with a dollar sign (not a hyphen), so the echo should work correctly. 17101 lt_compile=`echo "$ac_compile" | $SED \ | 17337 17338 lt_compiler_flag="-o out/conftest2.$ac_objext" 17339 # Insert the option either (1) after the last *FLAGS variable, or 17340 # (2) before a word containing "conftest.", or (3) at the end. 17341 # Note that $ac_compile itself does not contain backslashes and begins 17342 # with a dollar sign (not a hyphen), so the echo should work correctly. 17343 lt_compile=`echo "$ac_compile" | $SED \ |
17102 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 17344 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
17103 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17104 -e 's:$: $lt_compiler_flag:'` | 17345 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17346 -e 's:$: $lt_compiler_flag:'` |
17105 (eval echo "\"\$as_me:17105: $lt_compile\"" >&5) | 17347 (eval echo "\"\$as_me:17347: $lt_compile\"" >&5) |
17106 (eval "$lt_compile" 2>out/conftest.err) 17107 ac_status=$? 17108 cat out/conftest.err >&5 | 17348 (eval "$lt_compile" 2>out/conftest.err) 17349 ac_status=$? 17350 cat out/conftest.err >&5 |
17109 echo "$as_me:17109: \$? = $ac_status" >&5 | 17351 echo "$as_me:17351: \$? = $ac_status" >&5 |
17110 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17111 then 17112 # The compiler can only warn and ignore the option if not recognized 17113 # So say no if there are warnings | 17352 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17353 then 17354 # The compiler can only warn and ignore the option if not recognized 17355 # So say no if there are warnings |
17114 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp 17115 $SED '/^$/d' out/conftest.err >out/conftest.er2 17116 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then | 17356 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 17357 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 17358 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
17117 lt_cv_prog_compiler_c_o_GCJ=yes 17118 fi 17119 fi | 17359 lt_cv_prog_compiler_c_o_GCJ=yes 17360 fi 17361 fi |
17120 chmod u+w . | 17362 chmod u+w . 2>&5 |
17121 $rm conftest* 17122 # SGI C++ compiler will create directory out/ii_files/ for 17123 # template instantiation 17124 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 17125 $rm out/* && rmdir out 17126 cd .. 17127 rmdir conftest 17128 $rm conftest* --- 52 unchanged lines hidden (view full) --- 17181 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 17182 # include_expsyms should be a list of space-separated symbols to be *always* 17183 # included in the symbol list 17184 include_expsyms_GCJ= 17185 # exclude_expsyms can be an extended regexp of symbols to exclude 17186 # it will be wrapped by ` (' and `)$', so one must not match beginning or 17187 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 17188 # as well as any symbol that contains `d'. | 17363 $rm conftest* 17364 # SGI C++ compiler will create directory out/ii_files/ for 17365 # template instantiation 17366 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 17367 $rm out/* && rmdir out 17368 cd .. 17369 rmdir conftest 17370 $rm conftest* --- 52 unchanged lines hidden (view full) --- 17423 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 17424 # include_expsyms should be a list of space-separated symbols to be *always* 17425 # included in the symbol list 17426 include_expsyms_GCJ= 17427 # exclude_expsyms can be an extended regexp of symbols to exclude 17428 # it will be wrapped by ` (' and `)$', so one must not match beginning or 17429 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 17430 # as well as any symbol that contains `d'. |
17189 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" | 17431 exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
17190 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 17191 # platforms (ab)use it in PIC code, but their linkers get confused if 17192 # the symbol is explicitly referenced. Since portable code cannot 17193 # rely on this symbol name, it's probably fine to never include it in 17194 # preloaded symbol tables. | 17432 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 17433 # platforms (ab)use it in PIC code, but their linkers get confused if 17434 # the symbol is explicitly referenced. Since portable code cannot 17435 # rely on this symbol name, it's probably fine to never include it in 17436 # preloaded symbol tables. |
17437 # Exclude shared library initialization/finalization symbols. |
|
17195 extract_expsyms_cmds= 17196 # Just being paranoid about ensuring that cc_basename is set. 17197 for cc_temp in $compiler""; do 17198 case $cc_temp in 17199 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 17200 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 17201 \-*) ;; 17202 *) break;; --- 5 unchanged lines hidden (view full) --- 17208 cygwin* | mingw* | pw32*) 17209 # FIXME: the MSVC++ port hasn't been tested in a loooong time 17210 # When not using gcc, we currently assume that we are using 17211 # Microsoft Visual C++. 17212 if test "$GCC" != yes; then 17213 with_gnu_ld=no 17214 fi 17215 ;; | 17438 extract_expsyms_cmds= 17439 # Just being paranoid about ensuring that cc_basename is set. 17440 for cc_temp in $compiler""; do 17441 case $cc_temp in 17442 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 17443 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 17444 \-*) ;; 17445 *) break;; --- 5 unchanged lines hidden (view full) --- 17451 cygwin* | mingw* | pw32*) 17452 # FIXME: the MSVC++ port hasn't been tested in a loooong time 17453 # When not using gcc, we currently assume that we are using 17454 # Microsoft Visual C++. 17455 if test "$GCC" != yes; then 17456 with_gnu_ld=no 17457 fi 17458 ;; |
17459 interix*) 17460 # we just hope/assume this is gcc and not c89 (= MSVC++) 17461 with_gnu_ld=yes 17462 ;; |
|
17216 openbsd*) 17217 with_gnu_ld=no 17218 ;; 17219 esac 17220 17221 ld_shlibs_GCJ=yes 17222 if test "$with_gnu_ld" = yes; then 17223 # If archive_cmds runs LD, not CC, wlarc should be empty --- 17 unchanged lines hidden (view full) --- 17241 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 17242 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 17243 *\ 2.11.*) ;; # other 2.11 versions 17244 *) supports_anon_versioning=yes ;; 17245 esac 17246 17247 # See if GNU ld supports shared libraries. 17248 case $host_os in | 17463 openbsd*) 17464 with_gnu_ld=no 17465 ;; 17466 esac 17467 17468 ld_shlibs_GCJ=yes 17469 if test "$with_gnu_ld" = yes; then 17470 # If archive_cmds runs LD, not CC, wlarc should be empty --- 17 unchanged lines hidden (view full) --- 17488 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 17489 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 17490 *\ 2.11.*) ;; # other 2.11 versions 17491 *) supports_anon_versioning=yes ;; 17492 esac 17493 17494 # See if GNU ld supports shared libraries. 17495 case $host_os in |
17249 aix3* | aix4* | aix5*) | 17496 aix[3-9]*) |
17250 # On AIX/PPC, the GNU linker is very broken 17251 if test "$host_cpu" != ia64; then 17252 ld_shlibs_GCJ=no 17253 cat <<EOF 1>&2 17254 17255*** Warning: the GNU linker, at least up to release 2.9.1, is reported 17256*** to be unable to reliably create shared libraries on AIX. 17257*** Therefore, libtool is disabling shared libraries support. If you --- 31 unchanged lines hidden (view full) --- 17289 17290 cygwin* | mingw* | pw32*) 17291 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, 17292 # as there is no search path for DLLs. 17293 hardcode_libdir_flag_spec_GCJ='-L$libdir' 17294 allow_undefined_flag_GCJ=unsupported 17295 always_export_symbols_GCJ=no 17296 enable_shared_with_static_runtimes_GCJ=yes | 17497 # On AIX/PPC, the GNU linker is very broken 17498 if test "$host_cpu" != ia64; then 17499 ld_shlibs_GCJ=no 17500 cat <<EOF 1>&2 17501 17502*** Warning: the GNU linker, at least up to release 2.9.1, is reported 17503*** to be unable to reliably create shared libraries on AIX. 17504*** Therefore, libtool is disabling shared libraries support. If you --- 31 unchanged lines hidden (view full) --- 17536 17537 cygwin* | mingw* | pw32*) 17538 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, 17539 # as there is no search path for DLLs. 17540 hardcode_libdir_flag_spec_GCJ='-L$libdir' 17541 allow_undefined_flag_GCJ=unsupported 17542 always_export_symbols_GCJ=no 17543 enable_shared_with_static_runtimes_GCJ=yes |
17297 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | 17544 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
17298 17299 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 17545 17546 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
17300 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 17547 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
17301 # If the export-symbols file already is a .def file (1st line 17302 # is EXPORTS), use it as is; otherwise, prepend... 17303 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 17304 cp $export_symbols $output_objdir/$soname.def; 17305 else 17306 echo EXPORTS > $output_objdir/$soname.def; 17307 cat $export_symbols >> $output_objdir/$soname.def; 17308 fi~ | 17548 # If the export-symbols file already is a .def file (1st line 17549 # is EXPORTS), use it as is; otherwise, prepend... 17550 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 17551 cp $export_symbols $output_objdir/$soname.def; 17552 else 17553 echo EXPORTS > $output_objdir/$soname.def; 17554 cat $export_symbols >> $output_objdir/$soname.def; 17555 fi~ |
17309 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 17556 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
17310 else 17311 ld_shlibs_GCJ=no 17312 fi 17313 ;; 17314 | 17557 else 17558 ld_shlibs_GCJ=no 17559 fi 17560 ;; 17561 |
17315 linux*) | 17562 interix[3-9]*) 17563 hardcode_direct_GCJ=no 17564 hardcode_shlibpath_var_GCJ=no 17565 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' 17566 export_dynamic_flag_spec_GCJ='${wl}-E' 17567 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 17568 # Instead, shared libraries are loaded at an image base (0x10000000 by 17569 # default) and relocated if they conflict, which is a slow very memory 17570 # consuming and fragmenting process. To avoid this, we pick a random, 17571 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 17572 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 17573 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' 17574 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' 17575 ;; 17576 17577 gnu* | linux* | k*bsd*-gnu) |
17316 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 17317 tmp_addflag= 17318 case $cc_basename,$host_cpu in 17319 pgcc*) # Portland Group C compiler | 17578 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 17579 tmp_addflag= 17580 case $cc_basename,$host_cpu in 17581 pgcc*) # Portland Group C compiler |
17320 whole_archive_flag_spec_GCJ='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' | 17582 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
17321 tmp_addflag=' $pic_flag' 17322 ;; | 17583 tmp_addflag=' $pic_flag' 17584 ;; |
17323 pgf77* | pgf90* ) # Portland Group f77 and f90 compilers 17324 whole_archive_flag_spec_GCJ='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' | 17585 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 17586 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
17325 tmp_addflag=' $pic_flag -Mnomain' ;; 17326 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 17327 tmp_addflag=' -i_dynamic' ;; 17328 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 17329 tmp_addflag=' -i_dynamic -nofor_main' ;; 17330 ifc* | ifort*) # Intel Fortran compiler 17331 tmp_addflag=' -nofor_main' ;; 17332 esac | 17587 tmp_addflag=' $pic_flag -Mnomain' ;; 17588 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 17589 tmp_addflag=' -i_dynamic' ;; 17590 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 17591 tmp_addflag=' -i_dynamic -nofor_main' ;; 17592 ifc* | ifort*) # Intel Fortran compiler 17593 tmp_addflag=' -nofor_main' ;; 17594 esac |
17333 archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 17595 case `$CC -V 2>&1 | sed 5q` in 17596 *Sun\ C*) # Sun C 5.9 17597 whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 17598 tmp_sharedflag='-G' ;; 17599 *Sun\ F*) # Sun Fortran 8.3 17600 tmp_sharedflag='-G' ;; 17601 *) 17602 tmp_sharedflag='-shared' ;; 17603 esac 17604 archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
17334 17335 if test $supports_anon_versioning = yes; then 17336 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ 17337 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 17338 $echo "local: *; };" >> $output_objdir/$libname.ver~ | 17605 17606 if test $supports_anon_versioning = yes; then 17607 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ 17608 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 17609 $echo "local: *; };" >> $output_objdir/$libname.ver~ |
17339 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' | 17610 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
17340 fi 17341 else 17342 ld_shlibs_GCJ=no 17343 fi 17344 ;; 17345 17346 netbsd*) 17347 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 17348 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 17349 wlarc= 17350 else 17351 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17352 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 17353 fi 17354 ;; 17355 | 17611 fi 17612 else 17613 ld_shlibs_GCJ=no 17614 fi 17615 ;; 17616 17617 netbsd*) 17618 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 17619 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 17620 wlarc= 17621 else 17622 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17623 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 17624 fi 17625 ;; 17626 |
17356 solaris* | sysv5*) | 17627 solaris*) |
17357 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then 17358 ld_shlibs_GCJ=no 17359 cat <<EOF 1>&2 17360 17361*** Warning: The releases 2.8.* of the GNU linker cannot reliably 17362*** create shared libraries on Solaris systems. Therefore, libtool 17363*** is disabling shared libraries support. We urge you to upgrade GNU 17364*** binutils to release 2.9.1 or newer. Another option is to modify --- 4 unchanged lines hidden (view full) --- 17369 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 17370 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17371 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 17372 else 17373 ld_shlibs_GCJ=no 17374 fi 17375 ;; 17376 | 17628 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then 17629 ld_shlibs_GCJ=no 17630 cat <<EOF 1>&2 17631 17632*** Warning: The releases 2.8.* of the GNU linker cannot reliably 17633*** create shared libraries on Solaris systems. Therefore, libtool 17634*** is disabling shared libraries support. We urge you to upgrade GNU 17635*** binutils to release 2.9.1 or newer. Another option is to modify --- 4 unchanged lines hidden (view full) --- 17640 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 17641 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17642 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 17643 else 17644 ld_shlibs_GCJ=no 17645 fi 17646 ;; 17647 |
17648 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 17649 case `$LD -v 2>&1` in 17650 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 17651 ld_shlibs_GCJ=no 17652 cat <<_LT_EOF 1>&2 17653 17654*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 17655*** reliably create shared libraries on SCO systems. Therefore, libtool 17656*** is disabling shared libraries support. We urge you to upgrade GNU 17657*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 17658*** your PATH or compiler configuration so that the native linker is 17659*** used, and then restart. 17660 17661_LT_EOF 17662 ;; 17663 *) 17664 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 17665 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' 17666 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' 17667 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' 17668 else 17669 ld_shlibs_GCJ=no 17670 fi 17671 ;; 17672 esac 17673 ;; 17674 |
|
17377 sunos4*) 17378 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 17379 wlarc= 17380 hardcode_direct_GCJ=yes 17381 hardcode_shlibpath_var_GCJ=no 17382 ;; 17383 17384 *) --- 17 unchanged lines hidden (view full) --- 17402 case $host_os in 17403 aix3*) 17404 allow_undefined_flag_GCJ=unsupported 17405 always_export_symbols_GCJ=yes 17406 archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 17407 # Note: this linker hardcodes the directories in LIBPATH if there 17408 # are no directories specified by -L. 17409 hardcode_minus_L_GCJ=yes | 17675 sunos4*) 17676 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 17677 wlarc= 17678 hardcode_direct_GCJ=yes 17679 hardcode_shlibpath_var_GCJ=no 17680 ;; 17681 17682 *) --- 17 unchanged lines hidden (view full) --- 17700 case $host_os in 17701 aix3*) 17702 allow_undefined_flag_GCJ=unsupported 17703 always_export_symbols_GCJ=yes 17704 archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 17705 # Note: this linker hardcodes the directories in LIBPATH if there 17706 # are no directories specified by -L. 17707 hardcode_minus_L_GCJ=yes |
17410 if test "$GCC" = yes && test -z "$link_static_flag"; then | 17708 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
17411 # Neither direct hardcoding nor static linking is supported with a 17412 # broken collect2. 17413 hardcode_direct_GCJ=unsupported 17414 fi 17415 ;; 17416 | 17709 # Neither direct hardcoding nor static linking is supported with a 17710 # broken collect2. 17711 hardcode_direct_GCJ=unsupported 17712 fi 17713 ;; 17714 |
17417 aix4* | aix5*) | 17715 aix[4-9]*) |
17418 if test "$host_cpu" = ia64; then 17419 # On IA64, the linker does run time linking by default, so we don't 17420 # have to do anything special. 17421 aix_use_runtimelinking=no 17422 exp_sym_flag='-Bexport' 17423 no_entry_flag="" 17424 else 17425 # If we're using GNU nm, then we don't want the "-C" option. 17426 # -C means demangle to AIX nm, but means don't demangle with GNU nm 17427 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 17428 export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 17429 else 17430 export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 17431 fi 17432 aix_use_runtimelinking=no 17433 17434 # Test if we are trying to use run time linking or normal 17435 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 17436 # need to do runtime linking. | 17716 if test "$host_cpu" = ia64; then 17717 # On IA64, the linker does run time linking by default, so we don't 17718 # have to do anything special. 17719 aix_use_runtimelinking=no 17720 exp_sym_flag='-Bexport' 17721 no_entry_flag="" 17722 else 17723 # If we're using GNU nm, then we don't want the "-C" option. 17724 # -C means demangle to AIX nm, but means don't demangle with GNU nm 17725 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 17726 export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 17727 else 17728 export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 17729 fi 17730 aix_use_runtimelinking=no 17731 17732 # Test if we are trying to use run time linking or normal 17733 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 17734 # need to do runtime linking. |
17437 case $host_os in aix4.[23]|aix4.[23].*|aix5*) | 17735 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
17438 for ld_flag in $LDFLAGS; do 17439 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 17440 aix_use_runtimelinking=yes 17441 break 17442 fi 17443 done | 17736 for ld_flag in $LDFLAGS; do 17737 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 17738 aix_use_runtimelinking=yes 17739 break 17740 fi 17741 done |
17742 ;; |
|
17444 esac 17445 17446 exp_sym_flag='-bexport' 17447 no_entry_flag='-bnoentry' 17448 fi 17449 17450 # When large executables or shared objects are built, AIX ld can 17451 # have problems creating the table of contents. If linking a library --- 10 unchanged lines hidden (view full) --- 17462 case $host_os in aix4.[012]|aix4.[012].*) 17463 # We only want to do this on AIX 4.2 and lower, the check 17464 # below for broken collect2 doesn't work under 4.3+ 17465 collect2name=`${CC} -print-prog-name=collect2` 17466 if test -f "$collect2name" && \ 17467 strings "$collect2name" | grep resolve_lib_name >/dev/null 17468 then 17469 # We have reworked collect2 | 17743 esac 17744 17745 exp_sym_flag='-bexport' 17746 no_entry_flag='-bnoentry' 17747 fi 17748 17749 # When large executables or shared objects are built, AIX ld can 17750 # have problems creating the table of contents. If linking a library --- 10 unchanged lines hidden (view full) --- 17761 case $host_os in aix4.[012]|aix4.[012].*) 17762 # We only want to do this on AIX 4.2 and lower, the check 17763 # below for broken collect2 doesn't work under 4.3+ 17764 collect2name=`${CC} -print-prog-name=collect2` 17765 if test -f "$collect2name" && \ 17766 strings "$collect2name" | grep resolve_lib_name >/dev/null 17767 then 17768 # We have reworked collect2 |
17470 hardcode_direct_GCJ=yes | 17769 : |
17471 else 17472 # We have old collect2 17473 hardcode_direct_GCJ=unsupported 17474 # It fails to find uninstalled libraries when the uninstalled 17475 # path is not listed in the libpath. Setting hardcode_minus_L 17476 # to unsupported forces relinking 17477 hardcode_minus_L_GCJ=yes 17478 hardcode_libdir_flag_spec_GCJ='-L$libdir' 17479 hardcode_libdir_separator_GCJ= 17480 fi | 17770 else 17771 # We have old collect2 17772 hardcode_direct_GCJ=unsupported 17773 # It fails to find uninstalled libraries when the uninstalled 17774 # path is not listed in the libpath. Setting hardcode_minus_L 17775 # to unsupported forces relinking 17776 hardcode_minus_L_GCJ=yes 17777 hardcode_libdir_flag_spec_GCJ='-L$libdir' 17778 hardcode_libdir_separator_GCJ= 17779 fi |
17780 ;; |
|
17481 esac 17482 shared_flag='-shared' 17483 if test "$aix_use_runtimelinking" = yes; then 17484 shared_flag="$shared_flag "'${wl}-G' 17485 fi 17486 else 17487 # not using gcc 17488 if test "$host_cpu" = ia64; then 17489 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 17490 # chokes on -Wl,-G. The following line is correct: 17491 shared_flag='-G' 17492 else | 17781 esac 17782 shared_flag='-shared' 17783 if test "$aix_use_runtimelinking" = yes; then 17784 shared_flag="$shared_flag "'${wl}-G' 17785 fi 17786 else 17787 # not using gcc 17788 if test "$host_cpu" = ia64; then 17789 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 17790 # chokes on -Wl,-G. The following line is correct: 17791 shared_flag='-G' 17792 else |
17493 if test "$aix_use_runtimelinking" = yes; then | 17793 if test "$aix_use_runtimelinking" = yes; then |
17494 shared_flag='${wl}-G' 17495 else 17496 shared_flag='${wl}-bM:SRE' | 17794 shared_flag='${wl}-G' 17795 else 17796 shared_flag='${wl}-bM:SRE' |
17497 fi | 17797 fi |
17498 fi 17499 fi 17500 17501 # It seems that -bexpall does not export symbols beginning with 17502 # underscore (_), so it is better to generate a list of symbols to export. 17503 always_export_symbols_GCJ=yes 17504 if test "$aix_use_runtimelinking" = yes; then 17505 # Warning - without using the other runtime loading flags (-brtl), --- 29 unchanged lines hidden (view full) --- 17535 cat conftest.err >&5 17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17537 (exit $ac_status); } && { 17538 test -z "$ac_c_werror_flag" || 17539 test ! -s conftest.err 17540 } && test -s conftest$ac_exeext && 17541 $as_test_x conftest$ac_exeext; then 17542 | 17798 fi 17799 fi 17800 17801 # It seems that -bexpall does not export symbols beginning with 17802 # underscore (_), so it is better to generate a list of symbols to export. 17803 always_export_symbols_GCJ=yes 17804 if test "$aix_use_runtimelinking" = yes; then 17805 # Warning - without using the other runtime loading flags (-brtl), --- 29 unchanged lines hidden (view full) --- 17835 cat conftest.err >&5 17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17837 (exit $ac_status); } && { 17838 test -z "$ac_c_werror_flag" || 17839 test ! -s conftest.err 17840 } && test -s conftest$ac_exeext && 17841 $as_test_x conftest$ac_exeext; then 17842 |
17543aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 17544}'` | 17843lt_aix_libpath_sed=' 17844 /Import File Strings/,/^$/ { 17845 /^0/ { 17846 s/^0 *\(.*\)$/\1/ 17847 p 17848 } 17849 }' 17850aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
17545# Check for a 64-bit object if we didn't find anything. | 17851# Check for a 64-bit object if we didn't find anything. |
17546if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 17547}'`; fi | 17852if test -z "$aix_libpath"; then 17853 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 17854fi |
17548else 17549 echo "$as_me: failed program was:" >&5 17550sed 's/^/| /' conftest.$ac_ext >&5 17551 17552 17553fi 17554 17555rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17556 conftest$ac_exeext conftest.$ac_ext 17557if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 17558 17559 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" | 17855else 17856 echo "$as_me: failed program was:" >&5 17857sed 's/^/| /' conftest.$ac_ext >&5 17858 17859 17860fi 17861 17862rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17863 conftest$ac_exeext conftest.$ac_ext 17864if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 17865 17866 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
17560 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" | 17867 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" |
17561 else 17562 if test "$host_cpu" = ia64; then 17563 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' 17564 allow_undefined_flag_GCJ="-z nodefs" | 17868 else 17869 if test "$host_cpu" = ia64; then 17870 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' 17871 allow_undefined_flag_GCJ="-z nodefs" |
17565 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" | 17872 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" |
17566 else 17567 # Determine the default libpath from the value encoded in an empty executable. 17568 cat >conftest.$ac_ext <<_ACEOF 17569/* confdefs.h. */ 17570_ACEOF 17571cat confdefs.h >>conftest.$ac_ext 17572cat >>conftest.$ac_ext <<_ACEOF 17573/* end confdefs.h. */ --- 20 unchanged lines hidden (view full) --- 17594 cat conftest.err >&5 17595 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17596 (exit $ac_status); } && { 17597 test -z "$ac_c_werror_flag" || 17598 test ! -s conftest.err 17599 } && test -s conftest$ac_exeext && 17600 $as_test_x conftest$ac_exeext; then 17601 | 17873 else 17874 # Determine the default libpath from the value encoded in an empty executable. 17875 cat >conftest.$ac_ext <<_ACEOF 17876/* confdefs.h. */ 17877_ACEOF 17878cat confdefs.h >>conftest.$ac_ext 17879cat >>conftest.$ac_ext <<_ACEOF 17880/* end confdefs.h. */ --- 20 unchanged lines hidden (view full) --- 17901 cat conftest.err >&5 17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17903 (exit $ac_status); } && { 17904 test -z "$ac_c_werror_flag" || 17905 test ! -s conftest.err 17906 } && test -s conftest$ac_exeext && 17907 $as_test_x conftest$ac_exeext; then 17908 |
17602aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 17603}'` | 17909lt_aix_libpath_sed=' 17910 /Import File Strings/,/^$/ { 17911 /^0/ { 17912 s/^0 *\(.*\)$/\1/ 17913 p 17914 } 17915 }' 17916aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
17604# Check for a 64-bit object if we didn't find anything. | 17917# Check for a 64-bit object if we didn't find anything. |
17605if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 17606}'`; fi | 17918if test -z "$aix_libpath"; then 17919 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 17920fi |
17607else 17608 echo "$as_me: failed program was:" >&5 17609sed 's/^/| /' conftest.$ac_ext >&5 17610 17611 17612fi 17613 17614rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17615 conftest$ac_exeext conftest.$ac_ext 17616if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 17617 17618 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" 17619 # Warning - without using the other run time loading flags, 17620 # -berok will link without error, but may produce a broken library. 17621 no_undefined_flag_GCJ=' ${wl}-bernotok' 17622 allow_undefined_flag_GCJ=' ${wl}-berok' | 17921else 17922 echo "$as_me: failed program was:" >&5 17923sed 's/^/| /' conftest.$ac_ext >&5 17924 17925 17926fi 17927 17928rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17929 conftest$ac_exeext conftest.$ac_ext 17930if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 17931 17932 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" 17933 # Warning - without using the other run time loading flags, 17934 # -berok will link without error, but may produce a broken library. 17935 no_undefined_flag_GCJ=' ${wl}-bernotok' 17936 allow_undefined_flag_GCJ=' ${wl}-berok' |
17623 # -bexpall does not export symbols beginning with underscore (_) 17624 always_export_symbols_GCJ=yes | |
17625 # Exported symbols can be pulled into shared objects from archives | 17937 # Exported symbols can be pulled into shared objects from archives |
17626 whole_archive_flag_spec_GCJ=' ' | 17938 whole_archive_flag_spec_GCJ='$convenience' |
17627 archive_cmds_need_lc_GCJ=yes | 17939 archive_cmds_need_lc_GCJ=yes |
17628 # This is similar to how AIX traditionally builds it's shared libraries. 17629 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' | 17940 # This is similar to how AIX traditionally builds its shared libraries. 17941 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' |
17630 fi 17631 fi 17632 ;; 17633 17634 amigaos*) 17635 archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 17636 hardcode_libdir_flag_spec_GCJ='-L$libdir' 17637 hardcode_minus_L_GCJ=yes --- 16 unchanged lines hidden (view full) --- 17654 libext=lib 17655 # Tell ltmain to make .dll files, not .so files. 17656 shrext_cmds=".dll" 17657 # FIXME: Setting linknames here is a bad hack. 17658 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' 17659 # The linker will automatically build a .lib file if we build a DLL. 17660 old_archive_From_new_cmds_GCJ='true' 17661 # FIXME: Should let the user specify the lib program. | 17942 fi 17943 fi 17944 ;; 17945 17946 amigaos*) 17947 archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 17948 hardcode_libdir_flag_spec_GCJ='-L$libdir' 17949 hardcode_minus_L_GCJ=yes --- 16 unchanged lines hidden (view full) --- 17966 libext=lib 17967 # Tell ltmain to make .dll files, not .so files. 17968 shrext_cmds=".dll" 17969 # FIXME: Setting linknames here is a bad hack. 17970 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' 17971 # The linker will automatically build a .lib file if we build a DLL. 17972 old_archive_From_new_cmds_GCJ='true' 17973 # FIXME: Should let the user specify the lib program. |
17662 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' | 17974 old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs' |
17663 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' 17664 enable_shared_with_static_runtimes_GCJ=yes 17665 ;; 17666 17667 darwin* | rhapsody*) | 17975 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' 17976 enable_shared_with_static_runtimes_GCJ=yes 17977 ;; 17978 17979 darwin* | rhapsody*) |
17668 case "$host_os" in | 17980 case $host_os in |
17669 rhapsody* | darwin1.[012]) 17670 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' 17671 ;; 17672 *) # Darwin 1.3 on 17673 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 17674 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 17675 else 17676 case ${MACOSX_DEPLOYMENT_TARGET} in --- 10 unchanged lines hidden (view full) --- 17687 archive_cmds_need_lc_GCJ=no 17688 hardcode_direct_GCJ=no 17689 hardcode_automatic_GCJ=yes 17690 hardcode_shlibpath_var_GCJ=unsupported 17691 whole_archive_flag_spec_GCJ='' 17692 link_all_deplibs_GCJ=yes 17693 if test "$GCC" = yes ; then 17694 output_verbose_link_cmd='echo' | 17981 rhapsody* | darwin1.[012]) 17982 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' 17983 ;; 17984 *) # Darwin 1.3 on 17985 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 17986 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 17987 else 17988 case ${MACOSX_DEPLOYMENT_TARGET} in --- 10 unchanged lines hidden (view full) --- 17999 archive_cmds_need_lc_GCJ=no 18000 hardcode_direct_GCJ=no 18001 hardcode_automatic_GCJ=yes 18002 hardcode_shlibpath_var_GCJ=unsupported 18003 whole_archive_flag_spec_GCJ='' 18004 link_all_deplibs_GCJ=yes 18005 if test "$GCC" = yes ; then 18006 output_verbose_link_cmd='echo' |
17695 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 17696 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 17697 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 17698 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 17699 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 18007 archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 18008 module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 18009 archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 18010 module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" |
17700 else 17701 case $cc_basename in 17702 xlc*) 17703 output_verbose_link_cmd='echo' | 18011 else 18012 case $cc_basename in 18013 xlc*) 18014 output_verbose_link_cmd='echo' |
17704 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' | 18015 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' |
17705 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' | 18016 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
17706 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 17707 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 18017 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 18018 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
17708 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 17709 ;; 17710 *) 17711 ld_shlibs_GCJ=no 17712 ;; 17713 esac 17714 fi 17715 ;; --- 23 unchanged lines hidden (view full) --- 17739 freebsd2*) 17740 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 17741 hardcode_direct_GCJ=yes 17742 hardcode_minus_L_GCJ=yes 17743 hardcode_shlibpath_var_GCJ=no 17744 ;; 17745 17746 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 18019 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 18020 ;; 18021 *) 18022 ld_shlibs_GCJ=no 18023 ;; 18024 esac 18025 fi 18026 ;; --- 23 unchanged lines hidden (view full) --- 18050 freebsd2*) 18051 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 18052 hardcode_direct_GCJ=yes 18053 hardcode_minus_L_GCJ=yes 18054 hardcode_shlibpath_var_GCJ=no 18055 ;; 18056 18057 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
17747 freebsd* | kfreebsd*-gnu | dragonfly*) | 18058 freebsd* | dragonfly*) |
17748 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 17749 hardcode_libdir_flag_spec_GCJ='-R$libdir' 17750 hardcode_direct_GCJ=yes 17751 hardcode_shlibpath_var_GCJ=no 17752 ;; 17753 17754 hpux9*) 17755 if test "$GCC" = yes; then --- 6 unchanged lines hidden (view full) --- 17762 hardcode_direct_GCJ=yes 17763 17764 # hardcode_minus_L: Not really in the search PATH, 17765 # but as the default location of the library. 17766 hardcode_minus_L_GCJ=yes 17767 export_dynamic_flag_spec_GCJ='${wl}-E' 17768 ;; 17769 | 18059 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 18060 hardcode_libdir_flag_spec_GCJ='-R$libdir' 18061 hardcode_direct_GCJ=yes 18062 hardcode_shlibpath_var_GCJ=no 18063 ;; 18064 18065 hpux9*) 18066 if test "$GCC" = yes; then --- 6 unchanged lines hidden (view full) --- 18073 hardcode_direct_GCJ=yes 18074 18075 # hardcode_minus_L: Not really in the search PATH, 18076 # but as the default location of the library. 18077 hardcode_minus_L_GCJ=yes 18078 export_dynamic_flag_spec_GCJ='${wl}-E' 18079 ;; 18080 |
17770 hpux10* | hpux11*) | 18081 hpux10*) |
17771 if test "$GCC" = yes -a "$with_gnu_ld" = no; then | 18082 if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
17772 case "$host_cpu" in 17773 hppa*64*|ia64*) | 18083 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 18084 else 18085 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 18086 fi 18087 if test "$with_gnu_ld" = no; then 18088 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' 18089 hardcode_libdir_separator_GCJ=: 18090 18091 hardcode_direct_GCJ=yes 18092 export_dynamic_flag_spec_GCJ='${wl}-E' 18093 18094 # hardcode_minus_L: Not really in the search PATH, 18095 # but as the default location of the library. 18096 hardcode_minus_L_GCJ=yes 18097 fi 18098 ;; 18099 18100 hpux11*) 18101 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 18102 case $host_cpu in 18103 hppa*64*) |
17774 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 17775 ;; | 18104 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 18105 ;; |
18106 ia64*) 18107 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 18108 ;; |
|
17776 *) 17777 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 17778 ;; 17779 esac 17780 else | 18109 *) 18110 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 18111 ;; 18112 esac 18113 else |
17781 case "$host_cpu" in 17782 hppa*64*|ia64*) 17783 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' | 18114 case $host_cpu in 18115 hppa*64*) 18116 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
17784 ;; | 18117 ;; |
18118 ia64*) 18119 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 18120 ;; |
|
17785 *) | 18121 *) |
17786 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | 18122 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
17787 ;; 17788 esac 17789 fi 17790 if test "$with_gnu_ld" = no; then | 18123 ;; 18124 esac 18125 fi 18126 if test "$with_gnu_ld" = no; then |
17791 case "$host_cpu" in 17792 hppa*64*) 17793 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' | 18127 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' 18128 hardcode_libdir_separator_GCJ=: 18129 18130 case $host_cpu in 18131 hppa*64*|ia64*) |
17794 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' | 18132 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' |
17795 hardcode_libdir_separator_GCJ=: | |
17796 hardcode_direct_GCJ=no 17797 hardcode_shlibpath_var_GCJ=no 17798 ;; | 18133 hardcode_direct_GCJ=no 18134 hardcode_shlibpath_var_GCJ=no 18135 ;; |
17799 ia64*) 17800 hardcode_libdir_flag_spec_GCJ='-L$libdir' 17801 hardcode_direct_GCJ=no 17802 hardcode_shlibpath_var_GCJ=no 17803 17804 # hardcode_minus_L: Not really in the search PATH, 17805 # but as the default location of the library. 17806 hardcode_minus_L_GCJ=yes 17807 ;; | |
17808 *) | 18136 *) |
17809 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' 17810 hardcode_libdir_separator_GCJ=: | |
17811 hardcode_direct_GCJ=yes 17812 export_dynamic_flag_spec_GCJ='${wl}-E' 17813 17814 # hardcode_minus_L: Not really in the search PATH, 17815 # but as the default location of the library. 17816 hardcode_minus_L_GCJ=yes 17817 ;; 17818 esac --- 27 unchanged lines hidden (view full) --- 17846 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 17847 hardcode_direct_GCJ=yes 17848 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' 17849 hardcode_libdir_separator_GCJ=: 17850 hardcode_shlibpath_var_GCJ=no 17851 ;; 17852 17853 openbsd*) | 18137 hardcode_direct_GCJ=yes 18138 export_dynamic_flag_spec_GCJ='${wl}-E' 18139 18140 # hardcode_minus_L: Not really in the search PATH, 18141 # but as the default location of the library. 18142 hardcode_minus_L_GCJ=yes 18143 ;; 18144 esac --- 27 unchanged lines hidden (view full) --- 18172 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 18173 hardcode_direct_GCJ=yes 18174 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' 18175 hardcode_libdir_separator_GCJ=: 18176 hardcode_shlibpath_var_GCJ=no 18177 ;; 18178 18179 openbsd*) |
17854 hardcode_direct_GCJ=yes 17855 hardcode_shlibpath_var_GCJ=no 17856 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 17857 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 17858 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 17859 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' 17860 export_dynamic_flag_spec_GCJ='${wl}-E' | 18180 if test -f /usr/libexec/ld.so; then 18181 hardcode_direct_GCJ=yes 18182 hardcode_shlibpath_var_GCJ=no 18183 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 18184 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 18185 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 18186 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' 18187 export_dynamic_flag_spec_GCJ='${wl}-E' 18188 else 18189 case $host_os in 18190 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 18191 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 18192 hardcode_libdir_flag_spec_GCJ='-R$libdir' 18193 ;; 18194 *) 18195 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 18196 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' 18197 ;; 18198 esac 18199 fi |
17861 else | 18200 else |
17862 case $host_os in 17863 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 17864 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 17865 hardcode_libdir_flag_spec_GCJ='-R$libdir' 17866 ;; 17867 *) 17868 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 17869 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' 17870 ;; 17871 esac | 18201 ld_shlibs_GCJ=no |
17872 fi 17873 ;; 17874 17875 os2*) 17876 hardcode_libdir_flag_spec_GCJ='-L$libdir' 17877 hardcode_minus_L_GCJ=yes 17878 allow_undefined_flag_GCJ=unsupported 17879 archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' --- 24 unchanged lines hidden (view full) --- 17904 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' 17905 17906 # Both c and cxx compiler support -rpath directly 17907 hardcode_libdir_flag_spec_GCJ='-rpath $libdir' 17908 fi 17909 hardcode_libdir_separator_GCJ=: 17910 ;; 17911 | 18202 fi 18203 ;; 18204 18205 os2*) 18206 hardcode_libdir_flag_spec_GCJ='-L$libdir' 18207 hardcode_minus_L_GCJ=yes 18208 allow_undefined_flag_GCJ=unsupported 18209 archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' --- 24 unchanged lines hidden (view full) --- 18234 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' 18235 18236 # Both c and cxx compiler support -rpath directly 18237 hardcode_libdir_flag_spec_GCJ='-rpath $libdir' 18238 fi 18239 hardcode_libdir_separator_GCJ=: 18240 ;; 18241 |
17912 sco3.2v5*) 17913 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 17914 hardcode_shlibpath_var_GCJ=no 17915 export_dynamic_flag_spec_GCJ='${wl}-Bexport' 17916 runpath_var=LD_RUN_PATH 17917 hardcode_runpath_var=yes 17918 ;; 17919 | |
17920 solaris*) 17921 no_undefined_flag_GCJ=' -z text' 17922 if test "$GCC" = yes; then 17923 wlarc='${wl}' 17924 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 17925 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 17926 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' 17927 else 17928 wlarc='' 17929 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 17930 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 17931 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 17932 fi 17933 hardcode_libdir_flag_spec_GCJ='-R$libdir' 17934 hardcode_shlibpath_var_GCJ=no 17935 case $host_os in 17936 solaris2.[0-5] | solaris2.[0-5].*) ;; 17937 *) | 18242 solaris*) 18243 no_undefined_flag_GCJ=' -z text' 18244 if test "$GCC" = yes; then 18245 wlarc='${wl}' 18246 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 18247 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 18248 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' 18249 else 18250 wlarc='' 18251 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 18252 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 18253 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 18254 fi 18255 hardcode_libdir_flag_spec_GCJ='-R$libdir' 18256 hardcode_shlibpath_var_GCJ=no 18257 case $host_os in 18258 solaris2.[0-5] | solaris2.[0-5].*) ;; 18259 *) |
17938 # The compiler driver will combine linker options so we 17939 # cannot just pass the convience library names through 17940 # without $wl, iff we do not link with $LD. 17941 # Luckily, gcc supports the same syntax we need for Sun Studio. | 18260 # The compiler driver will combine and reorder linker options, 18261 # but understands `-z linker_flag'. GCC discards it without `$wl', 18262 # but is careful enough not to reorder. |
17942 # Supported since Solaris 2.6 (maybe 2.5.1?) | 18263 # Supported since Solaris 2.6 (maybe 2.5.1?) |
17943 case $wlarc in 17944 '') 17945 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; 17946 *) 17947 whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; 17948 esac ;; | 18264 if test "$GCC" = yes; then 18265 whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 18266 else 18267 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' 18268 fi 18269 ;; |
17949 esac 17950 link_all_deplibs_GCJ=yes 17951 ;; 17952 17953 sunos4*) 17954 if test "x$host_vendor" = xsequent; then 17955 # Use $CC to link under sequent, because it throws in some extra .o 17956 # files that make .init and .fini sections work. --- 40 unchanged lines hidden (view full) --- 17997 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 17998 hardcode_shlibpath_var_GCJ=no 17999 runpath_var=LD_RUN_PATH 18000 hardcode_runpath_var=yes 18001 ld_shlibs_GCJ=yes 18002 fi 18003 ;; 18004 | 18270 esac 18271 link_all_deplibs_GCJ=yes 18272 ;; 18273 18274 sunos4*) 18275 if test "x$host_vendor" = xsequent; then 18276 # Use $CC to link under sequent, because it throws in some extra .o 18277 # files that make .init and .fini sections work. --- 40 unchanged lines hidden (view full) --- 18318 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 18319 hardcode_shlibpath_var_GCJ=no 18320 runpath_var=LD_RUN_PATH 18321 hardcode_runpath_var=yes 18322 ld_shlibs_GCJ=yes 18323 fi 18324 ;; 18325 |
18005 sysv4.2uw2*) 18006 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' 18007 hardcode_direct_GCJ=yes 18008 hardcode_minus_L_GCJ=no | 18326 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 18327 no_undefined_flag_GCJ='${wl}-z,text' 18328 archive_cmds_need_lc_GCJ=no |
18009 hardcode_shlibpath_var_GCJ=no | 18329 hardcode_shlibpath_var_GCJ=no |
18010 hardcode_runpath_var=yes 18011 runpath_var=LD_RUN_PATH 18012 ;; | 18330 runpath_var='LD_RUN_PATH' |
18013 | 18331 |
18014 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) 18015 no_undefined_flag_GCJ='${wl}-z ${wl}text' | |
18016 if test "$GCC" = yes; then | 18332 if test "$GCC" = yes; then |
18017 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 18333 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 18334 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
18018 else | 18335 else |
18019 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 18336 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 18337 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
18020 fi | 18338 fi |
18021 runpath_var='LD_RUN_PATH' 18022 hardcode_shlibpath_var_GCJ=no | |
18023 ;; 18024 | 18339 ;; 18340 |
18025 sysv5*) 18026 no_undefined_flag_GCJ=' -z text' 18027 # $CC -shared without GNU ld will not create a library from C++ 18028 # object files and a static libstdc++, better avoid it by now 18029 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 18030 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 18031 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 18032 hardcode_libdir_flag_spec_GCJ= | 18341 sysv5* | sco3.2v5* | sco5v6*) 18342 # Note: We can NOT use -z defs as we might desire, because we do not 18343 # link with -lc, and that would cause any symbols used from libc to 18344 # always be unresolved, which means just about no library would 18345 # ever link correctly. If we're not using GNU ld we use -z text 18346 # though, which does catch some bad symbols but isn't as heavy-handed 18347 # as -z defs. 18348 no_undefined_flag_GCJ='${wl}-z,text' 18349 allow_undefined_flag_GCJ='${wl}-z,nodefs' 18350 archive_cmds_need_lc_GCJ=no |
18033 hardcode_shlibpath_var_GCJ=no | 18351 hardcode_shlibpath_var_GCJ=no |
18352 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' 18353 hardcode_libdir_separator_GCJ=':' 18354 link_all_deplibs_GCJ=yes 18355 export_dynamic_flag_spec_GCJ='${wl}-Bexport' |
|
18034 runpath_var='LD_RUN_PATH' | 18356 runpath_var='LD_RUN_PATH' |
18357 18358 if test "$GCC" = yes; then 18359 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 18360 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 18361 else 18362 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 18363 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 18364 fi |
|
18035 ;; 18036 18037 uts4*) 18038 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 18039 hardcode_libdir_flag_spec_GCJ='-L$libdir' 18040 hardcode_shlibpath_var_GCJ=no 18041 ;; 18042 18043 *) 18044 ld_shlibs_GCJ=no 18045 ;; 18046 esac 18047 fi 18048 18049{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 18050echo "${ECHO_T}$ld_shlibs_GCJ" >&6; } 18051test "$ld_shlibs_GCJ" = no && can_build_shared=no 18052 | 18365 ;; 18366 18367 uts4*) 18368 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 18369 hardcode_libdir_flag_spec_GCJ='-L$libdir' 18370 hardcode_shlibpath_var_GCJ=no 18371 ;; 18372 18373 *) 18374 ld_shlibs_GCJ=no 18375 ;; 18376 esac 18377 fi 18378 18379{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 18380echo "${ECHO_T}$ld_shlibs_GCJ" >&6; } 18381test "$ld_shlibs_GCJ" = no && can_build_shared=no 18382 |
18053variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 18054if test "$GCC" = yes; then 18055 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 18056fi 18057 | |
18058# 18059# Do we need to explicitly link libc? 18060# 18061case "x$archive_cmds_need_lc_GCJ" in 18062x|xyes) 18063 # Assume -lc should be added 18064 archive_cmds_need_lc_GCJ=yes 18065 --- 4 unchanged lines hidden (view full) --- 18070 ;; 18071 '$CC '*) 18072 # Test whether the compiler implicitly links with -lc since on some 18073 # systems, -lgcc has to come before -lc. If gcc already passes -lc 18074 # to ld, don't add -lc before -lgcc. 18075 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 18076echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 18077 $rm conftest* | 18383# 18384# Do we need to explicitly link libc? 18385# 18386case "x$archive_cmds_need_lc_GCJ" in 18387x|xyes) 18388 # Assume -lc should be added 18389 archive_cmds_need_lc_GCJ=yes 18390 --- 4 unchanged lines hidden (view full) --- 18395 ;; 18396 '$CC '*) 18397 # Test whether the compiler implicitly links with -lc since on some 18398 # systems, -lgcc has to come before -lc. If gcc already passes -lc 18399 # to ld, don't add -lc before -lgcc. 18400 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 18401echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 18402 $rm conftest* |
18078 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 18403 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
18079 18080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 18081 (eval $ac_compile) 2>&5 18082 ac_status=$? 18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18084 (exit $ac_status); } 2>conftest.err; then 18085 soname=conftest 18086 lib=conftest 18087 libobjs=conftest.$ac_objext 18088 deplibs= 18089 wl=$lt_prog_compiler_wl_GCJ | 18404 18405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 18406 (eval $ac_compile) 2>&5 18407 ac_status=$? 18408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18409 (exit $ac_status); } 2>conftest.err; then 18410 soname=conftest 18411 lib=conftest 18412 libobjs=conftest.$ac_objext 18413 deplibs= 18414 wl=$lt_prog_compiler_wl_GCJ |
18415 pic_flag=$lt_prog_compiler_pic_GCJ |
|
18090 compiler_flags=-v 18091 linker_flags=-v 18092 verstring= 18093 output_objdir=. 18094 libname=conftest 18095 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ 18096 allow_undefined_flag_GCJ= 18097 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 --- 29 unchanged lines hidden (view full) --- 18127postuninstall_cmds= 18128finish_cmds= 18129finish_eval= 18130shlibpath_var= 18131shlibpath_overrides_runpath=unknown 18132version_type=none 18133dynamic_linker="$host_os ld.so" 18134sys_lib_dlsearch_path_spec="/lib /usr/lib" | 18416 compiler_flags=-v 18417 linker_flags=-v 18418 verstring= 18419 output_objdir=. 18420 libname=conftest 18421 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ 18422 allow_undefined_flag_GCJ= 18423 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 --- 29 unchanged lines hidden (view full) --- 18453postuninstall_cmds= 18454finish_cmds= 18455finish_eval= 18456shlibpath_var= 18457shlibpath_overrides_runpath=unknown 18458version_type=none 18459dynamic_linker="$host_os ld.so" 18460sys_lib_dlsearch_path_spec="/lib /usr/lib" |
18135if test "$GCC" = yes; then 18136 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 18137 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then 18138 # if the path contains ";" then we assume it to be the separator 18139 # otherwise default to the standard path separator (i.e. ":") - it is 18140 # assumed that no part of a normal pathname contains ";" but that should 18141 # okay in the real world where ";" in dirpaths is itself problematic. 18142 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 18143 else 18144 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 18145 fi 18146else 18147 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 18148fi | 18461 |
18149need_lib_prefix=unknown 18150hardcode_into_libs=no 18151 18152# when you set need_version to no, make sure it does not cause -set_version 18153# flags to be left without arguments 18154need_version=unknown 18155 18156case $host_os in 18157aix3*) 18158 version_type=linux 18159 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 18160 shlibpath_var=LIBPATH 18161 18162 # AIX 3 has no versioning support, so we append a major version to the name. 18163 soname_spec='${libname}${release}${shared_ext}$major' 18164 ;; 18165 | 18462need_lib_prefix=unknown 18463hardcode_into_libs=no 18464 18465# when you set need_version to no, make sure it does not cause -set_version 18466# flags to be left without arguments 18467need_version=unknown 18468 18469case $host_os in 18470aix3*) 18471 version_type=linux 18472 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 18473 shlibpath_var=LIBPATH 18474 18475 # AIX 3 has no versioning support, so we append a major version to the name. 18476 soname_spec='${libname}${release}${shared_ext}$major' 18477 ;; 18478 |
18166aix4* | aix5*) | 18479aix[4-9]*) |
18167 version_type=linux 18168 need_lib_prefix=no 18169 need_version=no 18170 hardcode_into_libs=yes 18171 if test "$host_cpu" = ia64; then 18172 # AIX 5 supports IA64 18173 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 18174 shlibpath_var=LD_LIBRARY_PATH --- 67 unchanged lines hidden (view full) --- 18242 case $GCC,$host_os in 18243 yes,cygwin* | yes,mingw* | yes,pw32*) 18244 library_names_spec='$libname.dll.a' 18245 # DLL is installed to $(libdir)/../bin by postinstall_cmds 18246 postinstall_cmds='base_file=`basename \${file}`~ 18247 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 18248 dldir=$destdir/`dirname \$dlpath`~ 18249 test -d \$dldir || mkdir -p \$dldir~ | 18480 version_type=linux 18481 need_lib_prefix=no 18482 need_version=no 18483 hardcode_into_libs=yes 18484 if test "$host_cpu" = ia64; then 18485 # AIX 5 supports IA64 18486 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 18487 shlibpath_var=LD_LIBRARY_PATH --- 67 unchanged lines hidden (view full) --- 18555 case $GCC,$host_os in 18556 yes,cygwin* | yes,mingw* | yes,pw32*) 18557 library_names_spec='$libname.dll.a' 18558 # DLL is installed to $(libdir)/../bin by postinstall_cmds 18559 postinstall_cmds='base_file=`basename \${file}`~ 18560 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 18561 dldir=$destdir/`dirname \$dlpath`~ 18562 test -d \$dldir || mkdir -p \$dldir~ |
18250 $install_prog $dir/$dlname \$dldir/$dlname' | 18563 $install_prog $dir/$dlname \$dldir/$dlname~ 18564 chmod a+x \$dldir/$dlname' |
18251 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 18252 dlpath=$dir/\$dldll~ 18253 $rm \$dlpath' 18254 shlibpath_overrides_runpath=yes 18255 18256 case $host_os in 18257 cygwin*) 18258 # Cygwin DLLs use 'cyg' prefix rather than 'lib' --- 36 unchanged lines hidden (view full) --- 18295 dynamic_linker="$host_os dyld" 18296 version_type=darwin 18297 need_lib_prefix=no 18298 need_version=no 18299 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 18300 soname_spec='${libname}${release}${major}$shared_ext' 18301 shlibpath_overrides_runpath=yes 18302 shlibpath_var=DYLD_LIBRARY_PATH | 18565 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 18566 dlpath=$dir/\$dldll~ 18567 $rm \$dlpath' 18568 shlibpath_overrides_runpath=yes 18569 18570 case $host_os in 18571 cygwin*) 18572 # Cygwin DLLs use 'cyg' prefix rather than 'lib' --- 36 unchanged lines hidden (view full) --- 18609 dynamic_linker="$host_os dyld" 18610 version_type=darwin 18611 need_lib_prefix=no 18612 need_version=no 18613 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 18614 soname_spec='${libname}${release}${major}$shared_ext' 18615 shlibpath_overrides_runpath=yes 18616 shlibpath_var=DYLD_LIBRARY_PATH |
18303 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' 18304 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 18305 if test "$GCC" = yes; then 18306 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 18307 else 18308 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 18309 fi | 18617 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 18618 |
18310 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 18311 ;; 18312 18313dgux*) 18314 version_type=linux 18315 need_lib_prefix=no 18316 need_version=no 18317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 18318 soname_spec='${libname}${release}${shared_ext}$major' 18319 shlibpath_var=LD_LIBRARY_PATH 18320 ;; 18321 18322freebsd1*) 18323 dynamic_linker=no 18324 ;; 18325 | 18619 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 18620 ;; 18621 18622dgux*) 18623 version_type=linux 18624 need_lib_prefix=no 18625 need_version=no 18626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 18627 soname_spec='${libname}${release}${shared_ext}$major' 18628 shlibpath_var=LD_LIBRARY_PATH 18629 ;; 18630 18631freebsd1*) 18632 dynamic_linker=no 18633 ;; 18634 |
18326kfreebsd*-gnu) 18327 version_type=linux 18328 need_lib_prefix=no 18329 need_version=no 18330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 18331 soname_spec='${libname}${release}${shared_ext}$major' 18332 shlibpath_var=LD_LIBRARY_PATH 18333 shlibpath_overrides_runpath=no 18334 hardcode_into_libs=yes 18335 dynamic_linker='GNU ld.so' 18336 ;; 18337 | |
18338freebsd* | dragonfly*) 18339 # DragonFly does not have aout. When/if they implement a new 18340 # versioning mechanism, adjust this. | 18635freebsd* | dragonfly*) 18636 # DragonFly does not have aout. When/if they implement a new 18637 # versioning mechanism, adjust this. |
18341 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 18638 if test -x /usr/bin/objformat; then 18639 objformat=`/usr/bin/objformat` 18640 else 18641 case $host_os in 18642 freebsd[123]*) objformat=aout ;; 18643 *) objformat=elf ;; 18644 esac 18645 fi |
18342 version_type=freebsd-$objformat 18343 case $version_type in 18344 freebsd-elf*) 18345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 18346 need_version=no 18347 need_lib_prefix=no 18348 ;; 18349 freebsd-*) --- 5 unchanged lines hidden (view full) --- 18355 case $host_os in 18356 freebsd2*) 18357 shlibpath_overrides_runpath=yes 18358 ;; 18359 freebsd3.[01]* | freebsdelf3.[01]*) 18360 shlibpath_overrides_runpath=yes 18361 hardcode_into_libs=yes 18362 ;; | 18646 version_type=freebsd-$objformat 18647 case $version_type in 18648 freebsd-elf*) 18649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 18650 need_version=no 18651 need_lib_prefix=no 18652 ;; 18653 freebsd-*) --- 5 unchanged lines hidden (view full) --- 18659 case $host_os in 18660 freebsd2*) 18661 shlibpath_overrides_runpath=yes 18662 ;; 18663 freebsd3.[01]* | freebsdelf3.[01]*) 18664 shlibpath_overrides_runpath=yes 18665 hardcode_into_libs=yes 18666 ;; |
18363 *) # from 3.2 on | 18667 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 18668 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
18364 shlibpath_overrides_runpath=no 18365 hardcode_into_libs=yes 18366 ;; | 18669 shlibpath_overrides_runpath=no 18670 hardcode_into_libs=yes 18671 ;; |
18672 *) # from 4.6 on, and DragonFly 18673 shlibpath_overrides_runpath=yes 18674 hardcode_into_libs=yes 18675 ;; |
|
18367 esac 18368 ;; 18369 18370gnu*) 18371 version_type=linux 18372 need_lib_prefix=no 18373 need_version=no 18374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 18375 soname_spec='${libname}${release}${shared_ext}$major' 18376 shlibpath_var=LD_LIBRARY_PATH 18377 hardcode_into_libs=yes 18378 ;; 18379 18380hpux9* | hpux10* | hpux11*) 18381 # Give a soname corresponding to the major version so that dld.sl refuses to 18382 # link against other versions. 18383 version_type=sunos 18384 need_lib_prefix=no 18385 need_version=no | 18676 esac 18677 ;; 18678 18679gnu*) 18680 version_type=linux 18681 need_lib_prefix=no 18682 need_version=no 18683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 18684 soname_spec='${libname}${release}${shared_ext}$major' 18685 shlibpath_var=LD_LIBRARY_PATH 18686 hardcode_into_libs=yes 18687 ;; 18688 18689hpux9* | hpux10* | hpux11*) 18690 # Give a soname corresponding to the major version so that dld.sl refuses to 18691 # link against other versions. 18692 version_type=sunos 18693 need_lib_prefix=no 18694 need_version=no |
18386 case "$host_cpu" in | 18695 case $host_cpu in |
18387 ia64*) 18388 shrext_cmds='.so' 18389 hardcode_into_libs=yes 18390 dynamic_linker="$host_os dld.so" 18391 shlibpath_var=LD_LIBRARY_PATH 18392 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 18393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18394 soname_spec='${libname}${release}${shared_ext}$major' --- 23 unchanged lines hidden (view full) --- 18418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18419 soname_spec='${libname}${release}${shared_ext}$major' 18420 ;; 18421 esac 18422 # HP-UX runs *really* slowly unless shared libraries are mode 555. 18423 postinstall_cmds='chmod 555 $lib' 18424 ;; 18425 | 18696 ia64*) 18697 shrext_cmds='.so' 18698 hardcode_into_libs=yes 18699 dynamic_linker="$host_os dld.so" 18700 shlibpath_var=LD_LIBRARY_PATH 18701 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 18702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18703 soname_spec='${libname}${release}${shared_ext}$major' --- 23 unchanged lines hidden (view full) --- 18727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18728 soname_spec='${libname}${release}${shared_ext}$major' 18729 ;; 18730 esac 18731 # HP-UX runs *really* slowly unless shared libraries are mode 555. 18732 postinstall_cmds='chmod 555 $lib' 18733 ;; 18734 |
18735interix[3-9]*) 18736 version_type=linux 18737 need_lib_prefix=no 18738 need_version=no 18739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 18740 soname_spec='${libname}${release}${shared_ext}$major' 18741 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 18742 shlibpath_var=LD_LIBRARY_PATH 18743 shlibpath_overrides_runpath=no 18744 hardcode_into_libs=yes 18745 ;; 18746 |
|
18426irix5* | irix6* | nonstopux*) 18427 case $host_os in 18428 nonstopux*) version_type=nonstopux ;; 18429 *) 18430 if test "$lt_cv_prog_gnu_ld" = yes; then 18431 version_type=linux 18432 else 18433 version_type=irix --- 27 unchanged lines hidden (view full) --- 18461 ;; 18462 18463# No shared lib support for Linux oldld, aout, or coff. 18464linux*oldld* | linux*aout* | linux*coff*) 18465 dynamic_linker=no 18466 ;; 18467 18468# This must be Linux ELF. | 18747irix5* | irix6* | nonstopux*) 18748 case $host_os in 18749 nonstopux*) version_type=nonstopux ;; 18750 *) 18751 if test "$lt_cv_prog_gnu_ld" = yes; then 18752 version_type=linux 18753 else 18754 version_type=irix --- 27 unchanged lines hidden (view full) --- 18782 ;; 18783 18784# No shared lib support for Linux oldld, aout, or coff. 18785linux*oldld* | linux*aout* | linux*coff*) 18786 dynamic_linker=no 18787 ;; 18788 18789# This must be Linux ELF. |
18469linux*) | 18790linux* | k*bsd*-gnu) |
18470 version_type=linux 18471 need_lib_prefix=no 18472 need_version=no 18473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18474 soname_spec='${libname}${release}${shared_ext}$major' 18475 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 18476 shlibpath_var=LD_LIBRARY_PATH 18477 shlibpath_overrides_runpath=no 18478 # This implies no fast_install, which is unacceptable. 18479 # Some rework will be needed to allow for fast_install 18480 # before this can be enabled. 18481 hardcode_into_libs=yes 18482 18483 # Append ld.so.conf contents to the search path 18484 if test -f /etc/ld.so.conf; then | 18791 version_type=linux 18792 need_lib_prefix=no 18793 need_version=no 18794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18795 soname_spec='${libname}${release}${shared_ext}$major' 18796 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 18797 shlibpath_var=LD_LIBRARY_PATH 18798 shlibpath_overrides_runpath=no 18799 # This implies no fast_install, which is unacceptable. 18800 # Some rework will be needed to allow for fast_install 18801 # before this can be enabled. 18802 hardcode_into_libs=yes 18803 18804 # Append ld.so.conf contents to the search path 18805 if test -f /etc/ld.so.conf; then |
18485 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' ' '` | 18806 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
18486 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 18487 fi 18488 18489 # We used to test for /lib/ld.so.1 and disable shared libraries on 18490 # powerpc, because MkLinux only supported shared libraries with the 18491 # GNU dynamic linker. Since this was broken with cross compilers, 18492 # most powerpc-linux boxes support dynamic linking these days and 18493 # people can always --disable-shared, the test was removed, and we 18494 # assume the GNU/Linux dynamic linker is in use. 18495 dynamic_linker='GNU/Linux ld.so' 18496 ;; 18497 | 18807 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 18808 fi 18809 18810 # We used to test for /lib/ld.so.1 and disable shared libraries on 18811 # powerpc, because MkLinux only supported shared libraries with the 18812 # GNU dynamic linker. Since this was broken with cross compilers, 18813 # most powerpc-linux boxes support dynamic linking these days and 18814 # people can always --disable-shared, the test was removed, and we 18815 # assume the GNU/Linux dynamic linker is in use. 18816 dynamic_linker='GNU/Linux ld.so' 18817 ;; 18818 |
18498knetbsd*-gnu) 18499 version_type=linux 18500 need_lib_prefix=no 18501 need_version=no 18502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 18503 soname_spec='${libname}${release}${shared_ext}$major' 18504 shlibpath_var=LD_LIBRARY_PATH 18505 shlibpath_overrides_runpath=no 18506 hardcode_into_libs=yes 18507 dynamic_linker='GNU ld.so' 18508 ;; 18509 | |
18510netbsd*) 18511 version_type=sunos 18512 need_lib_prefix=no 18513 need_version=no 18514 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 18515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 18516 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 18517 dynamic_linker='NetBSD (a.out) ld.so' --- 21 unchanged lines hidden (view full) --- 18539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18540 soname_spec='${libname}${release}${shared_ext}$major' 18541 shlibpath_var=LD_LIBRARY_PATH 18542 shlibpath_overrides_runpath=yes 18543 ;; 18544 18545openbsd*) 18546 version_type=sunos | 18819netbsd*) 18820 version_type=sunos 18821 need_lib_prefix=no 18822 need_version=no 18823 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 18824 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 18825 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 18826 dynamic_linker='NetBSD (a.out) ld.so' --- 21 unchanged lines hidden (view full) --- 18848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18849 soname_spec='${libname}${release}${shared_ext}$major' 18850 shlibpath_var=LD_LIBRARY_PATH 18851 shlibpath_overrides_runpath=yes 18852 ;; 18853 18854openbsd*) 18855 version_type=sunos |
18856 sys_lib_dlsearch_path_spec="/usr/lib" |
|
18547 need_lib_prefix=no 18548 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 18549 case $host_os in 18550 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 18551 *) need_version=no ;; 18552 esac 18553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 18554 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' --- 27 unchanged lines hidden (view full) --- 18582 need_version=no 18583 soname_spec='${libname}${release}${shared_ext}$major' 18584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18585 shlibpath_var=LD_LIBRARY_PATH 18586 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 18587 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 18588 ;; 18589 | 18857 need_lib_prefix=no 18858 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 18859 case $host_os in 18860 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 18861 *) need_version=no ;; 18862 esac 18863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 18864 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' --- 27 unchanged lines hidden (view full) --- 18892 need_version=no 18893 soname_spec='${libname}${release}${shared_ext}$major' 18894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18895 shlibpath_var=LD_LIBRARY_PATH 18896 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 18897 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 18898 ;; 18899 |
18590sco3.2v5*) 18591 version_type=osf 18592 soname_spec='${libname}${release}${shared_ext}$major' 18593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18594 shlibpath_var=LD_LIBRARY_PATH | 18900rdos*) 18901 dynamic_linker=no |
18595 ;; 18596 18597solaris*) 18598 version_type=linux 18599 need_lib_prefix=no 18600 need_version=no 18601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18602 soname_spec='${libname}${release}${shared_ext}$major' --- 11 unchanged lines hidden (view full) --- 18614 shlibpath_var=LD_LIBRARY_PATH 18615 shlibpath_overrides_runpath=yes 18616 if test "$with_gnu_ld" = yes; then 18617 need_lib_prefix=no 18618 fi 18619 need_version=yes 18620 ;; 18621 | 18902 ;; 18903 18904solaris*) 18905 version_type=linux 18906 need_lib_prefix=no 18907 need_version=no 18908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18909 soname_spec='${libname}${release}${shared_ext}$major' --- 11 unchanged lines hidden (view full) --- 18921 shlibpath_var=LD_LIBRARY_PATH 18922 shlibpath_overrides_runpath=yes 18923 if test "$with_gnu_ld" = yes; then 18924 need_lib_prefix=no 18925 fi 18926 need_version=yes 18927 ;; 18928 |
18622sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 18929sysv4 | sysv4.3*) |
18623 version_type=linux 18624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18625 soname_spec='${libname}${release}${shared_ext}$major' 18626 shlibpath_var=LD_LIBRARY_PATH 18627 case $host_vendor in 18628 sni) 18629 shlibpath_overrides_runpath=no 18630 need_lib_prefix=no --- 16 unchanged lines hidden (view full) --- 18647 if test -d /usr/nec ;then 18648 version_type=linux 18649 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 18650 soname_spec='$libname${shared_ext}.$major' 18651 shlibpath_var=LD_LIBRARY_PATH 18652 fi 18653 ;; 18654 | 18930 version_type=linux 18931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18932 soname_spec='${libname}${release}${shared_ext}$major' 18933 shlibpath_var=LD_LIBRARY_PATH 18934 case $host_vendor in 18935 sni) 18936 shlibpath_overrides_runpath=no 18937 need_lib_prefix=no --- 16 unchanged lines hidden (view full) --- 18954 if test -d /usr/nec ;then 18955 version_type=linux 18956 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 18957 soname_spec='$libname${shared_ext}.$major' 18958 shlibpath_var=LD_LIBRARY_PATH 18959 fi 18960 ;; 18961 |
18962sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 18963 version_type=freebsd-elf 18964 need_lib_prefix=no 18965 need_version=no 18966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 18967 soname_spec='${libname}${release}${shared_ext}$major' 18968 shlibpath_var=LD_LIBRARY_PATH 18969 hardcode_into_libs=yes 18970 if test "$with_gnu_ld" = yes; then 18971 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 18972 shlibpath_overrides_runpath=no 18973 else 18974 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 18975 shlibpath_overrides_runpath=yes 18976 case $host_os in 18977 sco3.2v5*) 18978 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 18979 ;; 18980 esac 18981 fi 18982 sys_lib_dlsearch_path_spec='/usr/lib' 18983 ;; 18984 |
|
18655uts4*) 18656 version_type=linux 18657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18658 soname_spec='${libname}${release}${shared_ext}$major' 18659 shlibpath_var=LD_LIBRARY_PATH 18660 ;; 18661 18662*) 18663 dynamic_linker=no 18664 ;; 18665esac 18666{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 18667echo "${ECHO_T}$dynamic_linker" >&6; } 18668test "$dynamic_linker" = no && can_build_shared=no 18669 | 18985uts4*) 18986 version_type=linux 18987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18988 soname_spec='${libname}${release}${shared_ext}$major' 18989 shlibpath_var=LD_LIBRARY_PATH 18990 ;; 18991 18992*) 18993 dynamic_linker=no 18994 ;; 18995esac 18996{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 18997echo "${ECHO_T}$dynamic_linker" >&6; } 18998test "$dynamic_linker" = no && can_build_shared=no 18999 |
19000if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 19001 echo $ECHO_N "(cached) $ECHO_C" >&6 19002else 19003 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" 19004fi 19005 19006sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 19007if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 19008 echo $ECHO_N "(cached) $ECHO_C" >&6 19009else 19010 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" 19011fi 19012 19013sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 19014 19015variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 19016if test "$GCC" = yes; then 19017 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 19018fi 19019 |
|
18670{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 18671echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 18672hardcode_action_GCJ= 18673if test -n "$hardcode_libdir_flag_spec_GCJ" || \ 18674 test -n "$runpath_var_GCJ" || \ 18675 test "X$hardcode_automatic_GCJ" = "Xyes" ; then 18676 18677 # We can hardcode non-existant directories. --- 21 unchanged lines hidden (view full) --- 18699 # Fast installation is not supported 18700 enable_fast_install=no 18701elif test "$shlibpath_overrides_runpath" = yes || 18702 test "$enable_shared" = no; then 18703 # Fast installation is not necessary 18704 enable_fast_install=needless 18705fi 18706 | 19020{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 19021echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 19022hardcode_action_GCJ= 19023if test -n "$hardcode_libdir_flag_spec_GCJ" || \ 19024 test -n "$runpath_var_GCJ" || \ 19025 test "X$hardcode_automatic_GCJ" = "Xyes" ; then 19026 19027 # We can hardcode non-existant directories. --- 21 unchanged lines hidden (view full) --- 19049 # Fast installation is not supported 19050 enable_fast_install=no 19051elif test "$shlibpath_overrides_runpath" = yes || 19052 test "$enable_shared" = no; then 19053 # Fast installation is not necessary 19054 enable_fast_install=needless 19055fi 19056 |
18707striplib= 18708old_striplib= 18709{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 18710echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } 18711if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 18712 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 18713 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 18714 { echo "$as_me:$LINENO: result: yes" >&5 18715echo "${ECHO_T}yes" >&6; } 18716else 18717# FIXME - insert some real tests, host_os isn't really good enough 18718 case $host_os in 18719 darwin*) 18720 if test -n "$STRIP" ; then 18721 striplib="$STRIP -x" 18722 { echo "$as_me:$LINENO: result: yes" >&5 18723echo "${ECHO_T}yes" >&6; } 18724 else 18725 { echo "$as_me:$LINENO: result: no" >&5 18726echo "${ECHO_T}no" >&6; } 18727fi 18728 ;; 18729 *) 18730 { echo "$as_me:$LINENO: result: no" >&5 18731echo "${ECHO_T}no" >&6; } 18732 ;; 18733 esac 18734fi | |
18735 | 19057 |
18736if test "x$enable_dlopen" != xyes; then 18737 enable_dlopen=unknown 18738 enable_dlopen_self=unknown 18739 enable_dlopen_self_static=unknown 18740else 18741 lt_cv_dlopen=no 18742 lt_cv_dlopen_libs= 18743 18744 case $host_os in 18745 beos*) 18746 lt_cv_dlopen="load_add_on" 18747 lt_cv_dlopen_libs= 18748 lt_cv_dlopen_self=yes 18749 ;; 18750 18751 mingw* | pw32*) 18752 lt_cv_dlopen="LoadLibrary" 18753 lt_cv_dlopen_libs= 18754 ;; 18755 18756 cygwin*) 18757 lt_cv_dlopen="dlopen" 18758 lt_cv_dlopen_libs= 18759 ;; 18760 18761 darwin*) 18762 # if libdl is installed we need to link against it 18763 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 18764echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 18765if test "${ac_cv_lib_dl_dlopen+set}" = set; then 18766 echo $ECHO_N "(cached) $ECHO_C" >&6 18767else 18768 ac_check_lib_save_LIBS=$LIBS 18769LIBS="-ldl $LIBS" 18770cat >conftest.$ac_ext <<_ACEOF 18771/* confdefs.h. */ 18772_ACEOF 18773cat confdefs.h >>conftest.$ac_ext 18774cat >>conftest.$ac_ext <<_ACEOF 18775/* end confdefs.h. */ 18776 18777/* Override any GCC internal prototype to avoid an error. 18778 Use char because int might match the return type of a GCC 18779 builtin and then its argument prototype would still apply. */ 18780#ifdef __cplusplus 18781extern "C" 18782#endif 18783char dlopen (); 18784int 18785main () 18786{ 18787return dlopen (); 18788 ; 18789 return 0; 18790} 18791_ACEOF 18792rm -f conftest.$ac_objext conftest$ac_exeext 18793if { (ac_try="$ac_link" 18794case "(($ac_try" in 18795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18796 *) ac_try_echo=$ac_try;; 18797esac 18798eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18799 (eval "$ac_link") 2>conftest.er1 18800 ac_status=$? 18801 grep -v '^ *+' conftest.er1 >conftest.err 18802 rm -f conftest.er1 18803 cat conftest.err >&5 18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18805 (exit $ac_status); } && { 18806 test -z "$ac_c_werror_flag" || 18807 test ! -s conftest.err 18808 } && test -s conftest$ac_exeext && 18809 $as_test_x conftest$ac_exeext; then 18810 ac_cv_lib_dl_dlopen=yes 18811else 18812 echo "$as_me: failed program was:" >&5 18813sed 's/^/| /' conftest.$ac_ext >&5 18814 18815 ac_cv_lib_dl_dlopen=no 18816fi 18817 18818rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18819 conftest$ac_exeext conftest.$ac_ext 18820LIBS=$ac_check_lib_save_LIBS 18821fi 18822{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 18823echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } 18824if test $ac_cv_lib_dl_dlopen = yes; then 18825 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 18826else 18827 18828 lt_cv_dlopen="dyld" 18829 lt_cv_dlopen_libs= 18830 lt_cv_dlopen_self=yes 18831 18832fi 18833 18834 ;; 18835 18836 *) 18837 { echo "$as_me:$LINENO: checking for shl_load" >&5 18838echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } 18839if test "${ac_cv_func_shl_load+set}" = set; then 18840 echo $ECHO_N "(cached) $ECHO_C" >&6 18841else 18842 cat >conftest.$ac_ext <<_ACEOF 18843/* confdefs.h. */ 18844_ACEOF 18845cat confdefs.h >>conftest.$ac_ext 18846cat >>conftest.$ac_ext <<_ACEOF 18847/* end confdefs.h. */ 18848/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 18849 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18850#define shl_load innocuous_shl_load 18851 18852/* System header to define __stub macros and hopefully few prototypes, 18853 which can conflict with char shl_load (); below. 18854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18855 <limits.h> exists even on freestanding compilers. */ 18856 18857#ifdef __STDC__ 18858# include <limits.h> 18859#else 18860# include <assert.h> 18861#endif 18862 18863#undef shl_load 18864 18865/* Override any GCC internal prototype to avoid an error. 18866 Use char because int might match the return type of a GCC 18867 builtin and then its argument prototype would still apply. */ 18868#ifdef __cplusplus 18869extern "C" 18870#endif 18871char shl_load (); 18872/* The GNU C library defines this for functions which it implements 18873 to always fail with ENOSYS. Some functions are actually named 18874 something starting with __ and the normal name is an alias. */ 18875#if defined __stub_shl_load || defined __stub___shl_load 18876choke me 18877#endif 18878 18879int 18880main () 18881{ 18882return shl_load (); 18883 ; 18884 return 0; 18885} 18886_ACEOF 18887rm -f conftest.$ac_objext conftest$ac_exeext 18888if { (ac_try="$ac_link" 18889case "(($ac_try" in 18890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18891 *) ac_try_echo=$ac_try;; 18892esac 18893eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18894 (eval "$ac_link") 2>conftest.er1 18895 ac_status=$? 18896 grep -v '^ *+' conftest.er1 >conftest.err 18897 rm -f conftest.er1 18898 cat conftest.err >&5 18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18900 (exit $ac_status); } && { 18901 test -z "$ac_c_werror_flag" || 18902 test ! -s conftest.err 18903 } && test -s conftest$ac_exeext && 18904 $as_test_x conftest$ac_exeext; then 18905 ac_cv_func_shl_load=yes 18906else 18907 echo "$as_me: failed program was:" >&5 18908sed 's/^/| /' conftest.$ac_ext >&5 18909 18910 ac_cv_func_shl_load=no 18911fi 18912 18913rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18914 conftest$ac_exeext conftest.$ac_ext 18915fi 18916{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 18917echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } 18918if test $ac_cv_func_shl_load = yes; then 18919 lt_cv_dlopen="shl_load" 18920else 18921 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 18922echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } 18923if test "${ac_cv_lib_dld_shl_load+set}" = set; then 18924 echo $ECHO_N "(cached) $ECHO_C" >&6 18925else 18926 ac_check_lib_save_LIBS=$LIBS 18927LIBS="-ldld $LIBS" 18928cat >conftest.$ac_ext <<_ACEOF 18929/* confdefs.h. */ 18930_ACEOF 18931cat confdefs.h >>conftest.$ac_ext 18932cat >>conftest.$ac_ext <<_ACEOF 18933/* end confdefs.h. */ 18934 18935/* Override any GCC internal prototype to avoid an error. 18936 Use char because int might match the return type of a GCC 18937 builtin and then its argument prototype would still apply. */ 18938#ifdef __cplusplus 18939extern "C" 18940#endif 18941char shl_load (); 18942int 18943main () 18944{ 18945return shl_load (); 18946 ; 18947 return 0; 18948} 18949_ACEOF 18950rm -f conftest.$ac_objext conftest$ac_exeext 18951if { (ac_try="$ac_link" 18952case "(($ac_try" in 18953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18954 *) ac_try_echo=$ac_try;; 18955esac 18956eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18957 (eval "$ac_link") 2>conftest.er1 18958 ac_status=$? 18959 grep -v '^ *+' conftest.er1 >conftest.err 18960 rm -f conftest.er1 18961 cat conftest.err >&5 18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18963 (exit $ac_status); } && { 18964 test -z "$ac_c_werror_flag" || 18965 test ! -s conftest.err 18966 } && test -s conftest$ac_exeext && 18967 $as_test_x conftest$ac_exeext; then 18968 ac_cv_lib_dld_shl_load=yes 18969else 18970 echo "$as_me: failed program was:" >&5 18971sed 's/^/| /' conftest.$ac_ext >&5 18972 18973 ac_cv_lib_dld_shl_load=no 18974fi 18975 18976rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18977 conftest$ac_exeext conftest.$ac_ext 18978LIBS=$ac_check_lib_save_LIBS 18979fi 18980{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 18981echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } 18982if test $ac_cv_lib_dld_shl_load = yes; then 18983 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" 18984else 18985 { echo "$as_me:$LINENO: checking for dlopen" >&5 18986echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } 18987if test "${ac_cv_func_dlopen+set}" = set; then 18988 echo $ECHO_N "(cached) $ECHO_C" >&6 18989else 18990 cat >conftest.$ac_ext <<_ACEOF 18991/* confdefs.h. */ 18992_ACEOF 18993cat confdefs.h >>conftest.$ac_ext 18994cat >>conftest.$ac_ext <<_ACEOF 18995/* end confdefs.h. */ 18996/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 18997 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18998#define dlopen innocuous_dlopen 18999 19000/* System header to define __stub macros and hopefully few prototypes, 19001 which can conflict with char dlopen (); below. 19002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19003 <limits.h> exists even on freestanding compilers. */ 19004 19005#ifdef __STDC__ 19006# include <limits.h> 19007#else 19008# include <assert.h> 19009#endif 19010 19011#undef dlopen 19012 19013/* Override any GCC internal prototype to avoid an error. 19014 Use char because int might match the return type of a GCC 19015 builtin and then its argument prototype would still apply. */ 19016#ifdef __cplusplus 19017extern "C" 19018#endif 19019char dlopen (); 19020/* The GNU C library defines this for functions which it implements 19021 to always fail with ENOSYS. Some functions are actually named 19022 something starting with __ and the normal name is an alias. */ 19023#if defined __stub_dlopen || defined __stub___dlopen 19024choke me 19025#endif 19026 19027int 19028main () 19029{ 19030return dlopen (); 19031 ; 19032 return 0; 19033} 19034_ACEOF 19035rm -f conftest.$ac_objext conftest$ac_exeext 19036if { (ac_try="$ac_link" 19037case "(($ac_try" in 19038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19039 *) ac_try_echo=$ac_try;; 19040esac 19041eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19042 (eval "$ac_link") 2>conftest.er1 19043 ac_status=$? 19044 grep -v '^ *+' conftest.er1 >conftest.err 19045 rm -f conftest.er1 19046 cat conftest.err >&5 19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19048 (exit $ac_status); } && { 19049 test -z "$ac_c_werror_flag" || 19050 test ! -s conftest.err 19051 } && test -s conftest$ac_exeext && 19052 $as_test_x conftest$ac_exeext; then 19053 ac_cv_func_dlopen=yes 19054else 19055 echo "$as_me: failed program was:" >&5 19056sed 's/^/| /' conftest.$ac_ext >&5 19057 19058 ac_cv_func_dlopen=no 19059fi 19060 19061rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19062 conftest$ac_exeext conftest.$ac_ext 19063fi 19064{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 19065echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } 19066if test $ac_cv_func_dlopen = yes; then 19067 lt_cv_dlopen="dlopen" 19068else 19069 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 19070echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 19071if test "${ac_cv_lib_dl_dlopen+set}" = set; then 19072 echo $ECHO_N "(cached) $ECHO_C" >&6 19073else 19074 ac_check_lib_save_LIBS=$LIBS 19075LIBS="-ldl $LIBS" 19076cat >conftest.$ac_ext <<_ACEOF 19077/* confdefs.h. */ 19078_ACEOF 19079cat confdefs.h >>conftest.$ac_ext 19080cat >>conftest.$ac_ext <<_ACEOF 19081/* end confdefs.h. */ 19082 19083/* Override any GCC internal prototype to avoid an error. 19084 Use char because int might match the return type of a GCC 19085 builtin and then its argument prototype would still apply. */ 19086#ifdef __cplusplus 19087extern "C" 19088#endif 19089char dlopen (); 19090int 19091main () 19092{ 19093return dlopen (); 19094 ; 19095 return 0; 19096} 19097_ACEOF 19098rm -f conftest.$ac_objext conftest$ac_exeext 19099if { (ac_try="$ac_link" 19100case "(($ac_try" in 19101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19102 *) ac_try_echo=$ac_try;; 19103esac 19104eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19105 (eval "$ac_link") 2>conftest.er1 19106 ac_status=$? 19107 grep -v '^ *+' conftest.er1 >conftest.err 19108 rm -f conftest.er1 19109 cat conftest.err >&5 19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19111 (exit $ac_status); } && { 19112 test -z "$ac_c_werror_flag" || 19113 test ! -s conftest.err 19114 } && test -s conftest$ac_exeext && 19115 $as_test_x conftest$ac_exeext; then 19116 ac_cv_lib_dl_dlopen=yes 19117else 19118 echo "$as_me: failed program was:" >&5 19119sed 's/^/| /' conftest.$ac_ext >&5 19120 19121 ac_cv_lib_dl_dlopen=no 19122fi 19123 19124rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19125 conftest$ac_exeext conftest.$ac_ext 19126LIBS=$ac_check_lib_save_LIBS 19127fi 19128{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 19129echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } 19130if test $ac_cv_lib_dl_dlopen = yes; then 19131 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 19132else 19133 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 19134echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } 19135if test "${ac_cv_lib_svld_dlopen+set}" = set; then 19136 echo $ECHO_N "(cached) $ECHO_C" >&6 19137else 19138 ac_check_lib_save_LIBS=$LIBS 19139LIBS="-lsvld $LIBS" 19140cat >conftest.$ac_ext <<_ACEOF 19141/* confdefs.h. */ 19142_ACEOF 19143cat confdefs.h >>conftest.$ac_ext 19144cat >>conftest.$ac_ext <<_ACEOF 19145/* end confdefs.h. */ 19146 19147/* Override any GCC internal prototype to avoid an error. 19148 Use char because int might match the return type of a GCC 19149 builtin and then its argument prototype would still apply. */ 19150#ifdef __cplusplus 19151extern "C" 19152#endif 19153char dlopen (); 19154int 19155main () 19156{ 19157return dlopen (); 19158 ; 19159 return 0; 19160} 19161_ACEOF 19162rm -f conftest.$ac_objext conftest$ac_exeext 19163if { (ac_try="$ac_link" 19164case "(($ac_try" in 19165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19166 *) ac_try_echo=$ac_try;; 19167esac 19168eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19169 (eval "$ac_link") 2>conftest.er1 19170 ac_status=$? 19171 grep -v '^ *+' conftest.er1 >conftest.err 19172 rm -f conftest.er1 19173 cat conftest.err >&5 19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19175 (exit $ac_status); } && { 19176 test -z "$ac_c_werror_flag" || 19177 test ! -s conftest.err 19178 } && test -s conftest$ac_exeext && 19179 $as_test_x conftest$ac_exeext; then 19180 ac_cv_lib_svld_dlopen=yes 19181else 19182 echo "$as_me: failed program was:" >&5 19183sed 's/^/| /' conftest.$ac_ext >&5 19184 19185 ac_cv_lib_svld_dlopen=no 19186fi 19187 19188rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19189 conftest$ac_exeext conftest.$ac_ext 19190LIBS=$ac_check_lib_save_LIBS 19191fi 19192{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 19193echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } 19194if test $ac_cv_lib_svld_dlopen = yes; then 19195 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 19196else 19197 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 19198echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } 19199if test "${ac_cv_lib_dld_dld_link+set}" = set; then 19200 echo $ECHO_N "(cached) $ECHO_C" >&6 19201else 19202 ac_check_lib_save_LIBS=$LIBS 19203LIBS="-ldld $LIBS" 19204cat >conftest.$ac_ext <<_ACEOF 19205/* confdefs.h. */ 19206_ACEOF 19207cat confdefs.h >>conftest.$ac_ext 19208cat >>conftest.$ac_ext <<_ACEOF 19209/* end confdefs.h. */ 19210 19211/* Override any GCC internal prototype to avoid an error. 19212 Use char because int might match the return type of a GCC 19213 builtin and then its argument prototype would still apply. */ 19214#ifdef __cplusplus 19215extern "C" 19216#endif 19217char dld_link (); 19218int 19219main () 19220{ 19221return dld_link (); 19222 ; 19223 return 0; 19224} 19225_ACEOF 19226rm -f conftest.$ac_objext conftest$ac_exeext 19227if { (ac_try="$ac_link" 19228case "(($ac_try" in 19229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19230 *) ac_try_echo=$ac_try;; 19231esac 19232eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19233 (eval "$ac_link") 2>conftest.er1 19234 ac_status=$? 19235 grep -v '^ *+' conftest.er1 >conftest.err 19236 rm -f conftest.er1 19237 cat conftest.err >&5 19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19239 (exit $ac_status); } && { 19240 test -z "$ac_c_werror_flag" || 19241 test ! -s conftest.err 19242 } && test -s conftest$ac_exeext && 19243 $as_test_x conftest$ac_exeext; then 19244 ac_cv_lib_dld_dld_link=yes 19245else 19246 echo "$as_me: failed program was:" >&5 19247sed 's/^/| /' conftest.$ac_ext >&5 19248 19249 ac_cv_lib_dld_dld_link=no 19250fi 19251 19252rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19253 conftest$ac_exeext conftest.$ac_ext 19254LIBS=$ac_check_lib_save_LIBS 19255fi 19256{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 19257echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } 19258if test $ac_cv_lib_dld_dld_link = yes; then 19259 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" 19260fi 19261 19262 19263fi 19264 19265 19266fi 19267 19268 19269fi 19270 19271 19272fi 19273 19274 19275fi 19276 19277 ;; 19278 esac 19279 19280 if test "x$lt_cv_dlopen" != xno; then 19281 enable_dlopen=yes 19282 else 19283 enable_dlopen=no 19284 fi 19285 19286 case $lt_cv_dlopen in 19287 dlopen) 19288 save_CPPFLAGS="$CPPFLAGS" 19289 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 19290 19291 save_LDFLAGS="$LDFLAGS" 19292 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 19293 19294 save_LIBS="$LIBS" 19295 LIBS="$lt_cv_dlopen_libs $LIBS" 19296 19297 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 19298echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } 19299if test "${lt_cv_dlopen_self+set}" = set; then 19300 echo $ECHO_N "(cached) $ECHO_C" >&6 19301else 19302 if test "$cross_compiling" = yes; then : 19303 lt_cv_dlopen_self=cross 19304else 19305 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 19306 lt_status=$lt_dlunknown 19307 cat > conftest.$ac_ext <<EOF 19308#line 19308 "configure" 19309#include "confdefs.h" 19310 19311#if HAVE_DLFCN_H 19312#include <dlfcn.h> 19313#endif 19314 19315#include <stdio.h> 19316 19317#ifdef RTLD_GLOBAL 19318# define LT_DLGLOBAL RTLD_GLOBAL 19319#else 19320# ifdef DL_GLOBAL 19321# define LT_DLGLOBAL DL_GLOBAL 19322# else 19323# define LT_DLGLOBAL 0 19324# endif 19325#endif 19326 19327/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 19328 find out it does not work in some platform. */ 19329#ifndef LT_DLLAZY_OR_NOW 19330# ifdef RTLD_LAZY 19331# define LT_DLLAZY_OR_NOW RTLD_LAZY 19332# else 19333# ifdef DL_LAZY 19334# define LT_DLLAZY_OR_NOW DL_LAZY 19335# else 19336# ifdef RTLD_NOW 19337# define LT_DLLAZY_OR_NOW RTLD_NOW 19338# else 19339# ifdef DL_NOW 19340# define LT_DLLAZY_OR_NOW DL_NOW 19341# else 19342# define LT_DLLAZY_OR_NOW 0 19343# endif 19344# endif 19345# endif 19346# endif 19347#endif 19348 19349#ifdef __cplusplus 19350extern "C" void exit (int); 19351#endif 19352 19353void fnord() { int i=42;} 19354int main () 19355{ 19356 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 19357 int status = $lt_dlunknown; 19358 19359 if (self) 19360 { 19361 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 19362 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 19363 /* dlclose (self); */ 19364 } 19365 19366 exit (status); 19367} 19368EOF 19369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19370 (eval $ac_link) 2>&5 19371 ac_status=$? 19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19373 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 19374 (./conftest; exit; ) 2>/dev/null 19375 lt_status=$? 19376 case x$lt_status in 19377 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 19378 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 19379 x$lt_unknown|x*) lt_cv_dlopen_self=no ;; 19380 esac 19381 else : 19382 # compilation failed 19383 lt_cv_dlopen_self=no 19384 fi 19385fi 19386rm -fr conftest* 19387 19388 19389fi 19390{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 19391echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } 19392 19393 if test "x$lt_cv_dlopen_self" = xyes; then 19394 LDFLAGS="$LDFLAGS $link_static_flag" 19395 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 19396echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } 19397if test "${lt_cv_dlopen_self_static+set}" = set; then 19398 echo $ECHO_N "(cached) $ECHO_C" >&6 19399else 19400 if test "$cross_compiling" = yes; then : 19401 lt_cv_dlopen_self_static=cross 19402else 19403 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 19404 lt_status=$lt_dlunknown 19405 cat > conftest.$ac_ext <<EOF 19406#line 19406 "configure" 19407#include "confdefs.h" 19408 19409#if HAVE_DLFCN_H 19410#include <dlfcn.h> 19411#endif 19412 19413#include <stdio.h> 19414 19415#ifdef RTLD_GLOBAL 19416# define LT_DLGLOBAL RTLD_GLOBAL 19417#else 19418# ifdef DL_GLOBAL 19419# define LT_DLGLOBAL DL_GLOBAL 19420# else 19421# define LT_DLGLOBAL 0 19422# endif 19423#endif 19424 19425/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 19426 find out it does not work in some platform. */ 19427#ifndef LT_DLLAZY_OR_NOW 19428# ifdef RTLD_LAZY 19429# define LT_DLLAZY_OR_NOW RTLD_LAZY 19430# else 19431# ifdef DL_LAZY 19432# define LT_DLLAZY_OR_NOW DL_LAZY 19433# else 19434# ifdef RTLD_NOW 19435# define LT_DLLAZY_OR_NOW RTLD_NOW 19436# else 19437# ifdef DL_NOW 19438# define LT_DLLAZY_OR_NOW DL_NOW 19439# else 19440# define LT_DLLAZY_OR_NOW 0 19441# endif 19442# endif 19443# endif 19444# endif 19445#endif 19446 19447#ifdef __cplusplus 19448extern "C" void exit (int); 19449#endif 19450 19451void fnord() { int i=42;} 19452int main () 19453{ 19454 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 19455 int status = $lt_dlunknown; 19456 19457 if (self) 19458 { 19459 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 19460 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 19461 /* dlclose (self); */ 19462 } 19463 19464 exit (status); 19465} 19466EOF 19467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19468 (eval $ac_link) 2>&5 19469 ac_status=$? 19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19471 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 19472 (./conftest; exit; ) 2>/dev/null 19473 lt_status=$? 19474 case x$lt_status in 19475 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 19476 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 19477 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; 19478 esac 19479 else : 19480 # compilation failed 19481 lt_cv_dlopen_self_static=no 19482 fi 19483fi 19484rm -fr conftest* 19485 19486 19487fi 19488{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 19489echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } 19490 fi 19491 19492 CPPFLAGS="$save_CPPFLAGS" 19493 LDFLAGS="$save_LDFLAGS" 19494 LIBS="$save_LIBS" 19495 ;; 19496 esac 19497 19498 case $lt_cv_dlopen_self in 19499 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 19500 *) enable_dlopen_self=unknown ;; 19501 esac 19502 19503 case $lt_cv_dlopen_self_static in 19504 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 19505 *) enable_dlopen_self_static=unknown ;; 19506 esac 19507fi 19508 19509 | |
19510# The else clause should only fire when bootstrapping the 19511# libtool distribution, otherwise you forgot to ship ltmain.sh 19512# with your package, and you will get complaints that there are 19513# no rules to generate ltmain.sh. 19514if test -f "$ltmain"; then 19515 # See if we are running on zsh, and set the options which allow our commands through 19516 # without removal of \ escapes. 19517 if test -n "${ZSH_VERSION+set}" ; then 19518 setopt NO_GLOB_SUBST 19519 fi 19520 # Now quote all the things that may contain metacharacters while being 19521 # careful not to overquote the AC_SUBSTed values. We take copies of the 19522 # variables and quote the copies for generation of the libtool script. | 19058# The else clause should only fire when bootstrapping the 19059# libtool distribution, otherwise you forgot to ship ltmain.sh 19060# with your package, and you will get complaints that there are 19061# no rules to generate ltmain.sh. 19062if test -f "$ltmain"; then 19063 # See if we are running on zsh, and set the options which allow our commands through 19064 # without removal of \ escapes. 19065 if test -n "${ZSH_VERSION+set}" ; then 19066 setopt NO_GLOB_SUBST 19067 fi 19068 # Now quote all the things that may contain metacharacters while being 19069 # careful not to overquote the AC_SUBSTed values. We take copies of the 19070 # variables and quote the copies for generation of the libtool script. |
19523 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ | 19071 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
19524 SED SHELL STRIP \ 19525 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 19526 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 19527 deplibs_check_method reload_flag reload_cmds need_locks \ 19528 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 19529 lt_cv_sys_global_symbol_to_c_name_address \ 19530 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 19531 old_postinstall_cmds old_postuninstall_cmds \ --- 10 unchanged lines hidden (view full) --- 19542 enable_shared_with_static_runtimes_GCJ \ 19543 old_archive_cmds_GCJ \ 19544 old_archive_from_new_cmds_GCJ \ 19545 predep_objects_GCJ \ 19546 postdep_objects_GCJ \ 19547 predeps_GCJ \ 19548 postdeps_GCJ \ 19549 compiler_lib_search_path_GCJ \ | 19072 SED SHELL STRIP \ 19073 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 19074 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 19075 deplibs_check_method reload_flag reload_cmds need_locks \ 19076 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 19077 lt_cv_sys_global_symbol_to_c_name_address \ 19078 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 19079 old_postinstall_cmds old_postuninstall_cmds \ --- 10 unchanged lines hidden (view full) --- 19090 enable_shared_with_static_runtimes_GCJ \ 19091 old_archive_cmds_GCJ \ 19092 old_archive_from_new_cmds_GCJ \ 19093 predep_objects_GCJ \ 19094 postdep_objects_GCJ \ 19095 predeps_GCJ \ 19096 postdeps_GCJ \ 19097 compiler_lib_search_path_GCJ \ |
19098 compiler_lib_search_dirs_GCJ \ |
|
19550 archive_cmds_GCJ \ 19551 archive_expsym_cmds_GCJ \ 19552 postinstall_cmds_GCJ \ 19553 postuninstall_cmds_GCJ \ 19554 old_archive_from_expsyms_cmds_GCJ \ 19555 allow_undefined_flag_GCJ \ 19556 no_undefined_flag_GCJ \ 19557 export_symbols_cmds_GCJ \ 19558 hardcode_libdir_flag_spec_GCJ \ 19559 hardcode_libdir_flag_spec_ld_GCJ \ 19560 hardcode_libdir_separator_GCJ \ 19561 hardcode_automatic_GCJ \ 19562 module_cmds_GCJ \ 19563 module_expsym_cmds_GCJ \ 19564 lt_cv_prog_compiler_c_o_GCJ \ | 19099 archive_cmds_GCJ \ 19100 archive_expsym_cmds_GCJ \ 19101 postinstall_cmds_GCJ \ 19102 postuninstall_cmds_GCJ \ 19103 old_archive_from_expsyms_cmds_GCJ \ 19104 allow_undefined_flag_GCJ \ 19105 no_undefined_flag_GCJ \ 19106 export_symbols_cmds_GCJ \ 19107 hardcode_libdir_flag_spec_GCJ \ 19108 hardcode_libdir_flag_spec_ld_GCJ \ 19109 hardcode_libdir_separator_GCJ \ 19110 hardcode_automatic_GCJ \ 19111 module_cmds_GCJ \ 19112 module_expsym_cmds_GCJ \ 19113 lt_cv_prog_compiler_c_o_GCJ \ |
19114 fix_srcfile_path_GCJ \ |
|
19565 exclude_expsyms_GCJ \ 19566 include_expsyms_GCJ; do 19567 19568 case $var in 19569 old_archive_cmds_GCJ | \ 19570 old_archive_from_new_cmds_GCJ | \ 19571 archive_cmds_GCJ | \ 19572 archive_expsym_cmds_GCJ | \ --- 60 unchanged lines hidden (view full) --- 19633 19634# The archiver. 19635AR=$lt_AR 19636AR_FLAGS=$lt_AR_FLAGS 19637 19638# A C compiler. 19639LTCC=$lt_LTCC 19640 | 19115 exclude_expsyms_GCJ \ 19116 include_expsyms_GCJ; do 19117 19118 case $var in 19119 old_archive_cmds_GCJ | \ 19120 old_archive_from_new_cmds_GCJ | \ 19121 archive_cmds_GCJ | \ 19122 archive_expsym_cmds_GCJ | \ --- 60 unchanged lines hidden (view full) --- 19183 19184# The archiver. 19185AR=$lt_AR 19186AR_FLAGS=$lt_AR_FLAGS 19187 19188# A C compiler. 19189LTCC=$lt_LTCC 19190 |
19191# LTCC compiler flags. 19192LTCFLAGS=$lt_LTCFLAGS 19193 |
|
19641# A language-specific compiler. 19642CC=$lt_compiler_GCJ 19643 19644# Is the compiler the GNU C compiler? 19645with_gcc=$GCC_GCJ 19646 19647# An ERE matcher. 19648EGREP=$lt_EGREP --- 137 unchanged lines hidden (view full) --- 19786# Dependencies to place before the objects being linked to create a 19787# shared library. 19788predeps=$lt_predeps_GCJ 19789 19790# Dependencies to place after the objects being linked to create a 19791# shared library. 19792postdeps=$lt_postdeps_GCJ 19793 | 19194# A language-specific compiler. 19195CC=$lt_compiler_GCJ 19196 19197# Is the compiler the GNU C compiler? 19198with_gcc=$GCC_GCJ 19199 19200# An ERE matcher. 19201EGREP=$lt_EGREP --- 137 unchanged lines hidden (view full) --- 19339# Dependencies to place before the objects being linked to create a 19340# shared library. 19341predeps=$lt_predeps_GCJ 19342 19343# Dependencies to place after the objects being linked to create a 19344# shared library. 19345postdeps=$lt_postdeps_GCJ 19346 |
19347# The directories searched by this compiler when creating a shared 19348# library 19349compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ 19350 |
|
19794# The library search path used internally by the compiler when linking 19795# a shared library. 19796compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ 19797 19798# Method to check whether dependent libraries are shared objects. 19799deplibs_check_method=$lt_deplibs_check_method 19800 19801# Command to use when deplibs_check_method == file_magic. --- 72 unchanged lines hidden (view full) --- 19874 19875# Compile-time system search path for libraries 19876sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 19877 19878# Run-time system search path for libraries 19879sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 19880 19881# Fix the shell variable \$srcfile for the compiler. | 19351# The library search path used internally by the compiler when linking 19352# a shared library. 19353compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ 19354 19355# Method to check whether dependent libraries are shared objects. 19356deplibs_check_method=$lt_deplibs_check_method 19357 19358# Command to use when deplibs_check_method == file_magic. --- 72 unchanged lines hidden (view full) --- 19431 19432# Compile-time system search path for libraries 19433sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 19434 19435# Run-time system search path for libraries 19436sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 19437 19438# Fix the shell variable \$srcfile for the compiler. |
19882fix_srcfile_path="$fix_srcfile_path_GCJ" | 19439fix_srcfile_path=$lt_fix_srcfile_path |
19883 19884# Set to yes if exported symbols are required. 19885always_export_symbols=$always_export_symbols_GCJ 19886 19887# The commands to list exported symbols. 19888export_symbols_cmds=$lt_export_symbols_cmds_GCJ 19889 19890# The commands to extract the exported symbol list from a shared archive. --- 40 unchanged lines hidden (view full) --- 19931# Source file extension for RC test sources. 19932ac_ext=rc 19933 19934# Object file extension for compiled RC test sources. 19935objext=o 19936objext_RC=$objext 19937 19938# Code to be used in simple compile tests | 19440 19441# Set to yes if exported symbols are required. 19442always_export_symbols=$always_export_symbols_GCJ 19443 19444# The commands to list exported symbols. 19445export_symbols_cmds=$lt_export_symbols_cmds_GCJ 19446 19447# The commands to extract the exported symbol list from a shared archive. --- 40 unchanged lines hidden (view full) --- 19488# Source file extension for RC test sources. 19489ac_ext=rc 19490 19491# Object file extension for compiled RC test sources. 19492objext=o 19493objext_RC=$objext 19494 19495# Code to be used in simple compile tests |
19939lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' | 19496lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' |
19940 19941# Code to be used in simple link tests 19942lt_simple_link_test_code="$lt_simple_compile_test_code" 19943 19944# ltmain only uses $CC for tagged configurations so make sure $CC is set. 19945 19946# If no C compiler was specified, use CC. 19947LTCC=${LTCC-"$CC"} 19948 | 19497 19498# Code to be used in simple link tests 19499lt_simple_link_test_code="$lt_simple_compile_test_code" 19500 19501# ltmain only uses $CC for tagged configurations so make sure $CC is set. 19502 19503# If no C compiler was specified, use CC. 19504LTCC=${LTCC-"$CC"} 19505 |
19506# If no C compiler flags were specified, use CFLAGS. 19507LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 19508 |
|
19949# Allow CC to be a program name with arguments. 19950compiler=$CC 19951 19952 19953# save warnings/boilerplate of simple test code 19954ac_outfile=conftest.$ac_objext | 19509# Allow CC to be a program name with arguments. 19510compiler=$CC 19511 19512 19513# save warnings/boilerplate of simple test code 19514ac_outfile=conftest.$ac_objext |
19955printf "$lt_simple_compile_test_code" >conftest.$ac_ext 19956eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err | 19515echo "$lt_simple_compile_test_code" >conftest.$ac_ext 19516eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
19957_lt_compiler_boilerplate=`cat conftest.err` 19958$rm conftest* 19959 19960ac_outfile=conftest.$ac_objext | 19517_lt_compiler_boilerplate=`cat conftest.err` 19518$rm conftest* 19519 19520ac_outfile=conftest.$ac_objext |
19961printf "$lt_simple_link_test_code" >conftest.$ac_ext 19962eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err | 19521echo "$lt_simple_link_test_code" >conftest.$ac_ext 19522eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
19963_lt_linker_boilerplate=`cat conftest.err` | 19523_lt_linker_boilerplate=`cat conftest.err` |
19964$rm conftest* | 19524$rm -r conftest* |
19965 19966 19967# Allow CC to be a program name with arguments. 19968lt_save_CC="$CC" 19969CC=${RC-"windres"} 19970compiler=$CC 19971compiler_RC=$CC 19972for cc_temp in $compiler""; do --- 16 unchanged lines hidden (view full) --- 19989 # See if we are running on zsh, and set the options which allow our commands through 19990 # without removal of \ escapes. 19991 if test -n "${ZSH_VERSION+set}" ; then 19992 setopt NO_GLOB_SUBST 19993 fi 19994 # Now quote all the things that may contain metacharacters while being 19995 # careful not to overquote the AC_SUBSTed values. We take copies of the 19996 # variables and quote the copies for generation of the libtool script. | 19525 19526 19527# Allow CC to be a program name with arguments. 19528lt_save_CC="$CC" 19529CC=${RC-"windres"} 19530compiler=$CC 19531compiler_RC=$CC 19532for cc_temp in $compiler""; do --- 16 unchanged lines hidden (view full) --- 19549 # See if we are running on zsh, and set the options which allow our commands through 19550 # without removal of \ escapes. 19551 if test -n "${ZSH_VERSION+set}" ; then 19552 setopt NO_GLOB_SUBST 19553 fi 19554 # Now quote all the things that may contain metacharacters while being 19555 # careful not to overquote the AC_SUBSTed values. We take copies of the 19556 # variables and quote the copies for generation of the libtool script. |
19997 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ | 19557 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
19998 SED SHELL STRIP \ 19999 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 20000 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 20001 deplibs_check_method reload_flag reload_cmds need_locks \ 20002 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 20003 lt_cv_sys_global_symbol_to_c_name_address \ 20004 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 20005 old_postinstall_cmds old_postuninstall_cmds \ --- 10 unchanged lines hidden (view full) --- 20016 enable_shared_with_static_runtimes_RC \ 20017 old_archive_cmds_RC \ 20018 old_archive_from_new_cmds_RC \ 20019 predep_objects_RC \ 20020 postdep_objects_RC \ 20021 predeps_RC \ 20022 postdeps_RC \ 20023 compiler_lib_search_path_RC \ | 19558 SED SHELL STRIP \ 19559 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 19560 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 19561 deplibs_check_method reload_flag reload_cmds need_locks \ 19562 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 19563 lt_cv_sys_global_symbol_to_c_name_address \ 19564 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 19565 old_postinstall_cmds old_postuninstall_cmds \ --- 10 unchanged lines hidden (view full) --- 19576 enable_shared_with_static_runtimes_RC \ 19577 old_archive_cmds_RC \ 19578 old_archive_from_new_cmds_RC \ 19579 predep_objects_RC \ 19580 postdep_objects_RC \ 19581 predeps_RC \ 19582 postdeps_RC \ 19583 compiler_lib_search_path_RC \ |
19584 compiler_lib_search_dirs_RC \ |
|
20024 archive_cmds_RC \ 20025 archive_expsym_cmds_RC \ 20026 postinstall_cmds_RC \ 20027 postuninstall_cmds_RC \ 20028 old_archive_from_expsyms_cmds_RC \ 20029 allow_undefined_flag_RC \ 20030 no_undefined_flag_RC \ 20031 export_symbols_cmds_RC \ 20032 hardcode_libdir_flag_spec_RC \ 20033 hardcode_libdir_flag_spec_ld_RC \ 20034 hardcode_libdir_separator_RC \ 20035 hardcode_automatic_RC \ 20036 module_cmds_RC \ 20037 module_expsym_cmds_RC \ 20038 lt_cv_prog_compiler_c_o_RC \ | 19585 archive_cmds_RC \ 19586 archive_expsym_cmds_RC \ 19587 postinstall_cmds_RC \ 19588 postuninstall_cmds_RC \ 19589 old_archive_from_expsyms_cmds_RC \ 19590 allow_undefined_flag_RC \ 19591 no_undefined_flag_RC \ 19592 export_symbols_cmds_RC \ 19593 hardcode_libdir_flag_spec_RC \ 19594 hardcode_libdir_flag_spec_ld_RC \ 19595 hardcode_libdir_separator_RC \ 19596 hardcode_automatic_RC \ 19597 module_cmds_RC \ 19598 module_expsym_cmds_RC \ 19599 lt_cv_prog_compiler_c_o_RC \ |
19600 fix_srcfile_path_RC \ |
|
20039 exclude_expsyms_RC \ 20040 include_expsyms_RC; do 20041 20042 case $var in 20043 old_archive_cmds_RC | \ 20044 old_archive_from_new_cmds_RC | \ 20045 archive_cmds_RC | \ 20046 archive_expsym_cmds_RC | \ --- 60 unchanged lines hidden (view full) --- 20107 20108# The archiver. 20109AR=$lt_AR 20110AR_FLAGS=$lt_AR_FLAGS 20111 20112# A C compiler. 20113LTCC=$lt_LTCC 20114 | 19601 exclude_expsyms_RC \ 19602 include_expsyms_RC; do 19603 19604 case $var in 19605 old_archive_cmds_RC | \ 19606 old_archive_from_new_cmds_RC | \ 19607 archive_cmds_RC | \ 19608 archive_expsym_cmds_RC | \ --- 60 unchanged lines hidden (view full) --- 19669 19670# The archiver. 19671AR=$lt_AR 19672AR_FLAGS=$lt_AR_FLAGS 19673 19674# A C compiler. 19675LTCC=$lt_LTCC 19676 |
19677# LTCC compiler flags. 19678LTCFLAGS=$lt_LTCFLAGS 19679 |
|
20115# A language-specific compiler. 20116CC=$lt_compiler_RC 20117 20118# Is the compiler the GNU C compiler? 20119with_gcc=$GCC_RC 20120 20121# An ERE matcher. 20122EGREP=$lt_EGREP --- 137 unchanged lines hidden (view full) --- 20260# Dependencies to place before the objects being linked to create a 20261# shared library. 20262predeps=$lt_predeps_RC 20263 20264# Dependencies to place after the objects being linked to create a 20265# shared library. 20266postdeps=$lt_postdeps_RC 20267 | 19680# A language-specific compiler. 19681CC=$lt_compiler_RC 19682 19683# Is the compiler the GNU C compiler? 19684with_gcc=$GCC_RC 19685 19686# An ERE matcher. 19687EGREP=$lt_EGREP --- 137 unchanged lines hidden (view full) --- 19825# Dependencies to place before the objects being linked to create a 19826# shared library. 19827predeps=$lt_predeps_RC 19828 19829# Dependencies to place after the objects being linked to create a 19830# shared library. 19831postdeps=$lt_postdeps_RC 19832 |
19833# The directories searched by this compiler when creating a shared 19834# library 19835compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC 19836 |
|
20268# The library search path used internally by the compiler when linking 20269# a shared library. 20270compiler_lib_search_path=$lt_compiler_lib_search_path_RC 20271 20272# Method to check whether dependent libraries are shared objects. 20273deplibs_check_method=$lt_deplibs_check_method 20274 20275# Command to use when deplibs_check_method == file_magic. --- 72 unchanged lines hidden (view full) --- 20348 20349# Compile-time system search path for libraries 20350sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 20351 20352# Run-time system search path for libraries 20353sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 20354 20355# Fix the shell variable \$srcfile for the compiler. | 19837# The library search path used internally by the compiler when linking 19838# a shared library. 19839compiler_lib_search_path=$lt_compiler_lib_search_path_RC 19840 19841# Method to check whether dependent libraries are shared objects. 19842deplibs_check_method=$lt_deplibs_check_method 19843 19844# Command to use when deplibs_check_method == file_magic. --- 72 unchanged lines hidden (view full) --- 19917 19918# Compile-time system search path for libraries 19919sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 19920 19921# Run-time system search path for libraries 19922sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 19923 19924# Fix the shell variable \$srcfile for the compiler. |
20356fix_srcfile_path="$fix_srcfile_path_RC" | 19925fix_srcfile_path=$lt_fix_srcfile_path |
20357 20358# Set to yes if exported symbols are required. 20359always_export_symbols=$always_export_symbols_RC 20360 20361# The commands to list exported symbols. 20362export_symbols_cmds=$lt_export_symbols_cmds_RC 20363 20364# The commands to extract the exported symbol list from a shared archive. --- 2056 unchanged lines hidden (view full) --- 22421echo "${ECHO_T}$ac_cv_struct_tm_zone" >&6; } 22422if test "$ac_cv_struct_tm_zone" = yes; then 22423 22424cat >>confdefs.h <<\_ACEOF 22425#define HAVE_TM_ZONE 1 22426_ACEOF 22427 22428fi | 19926 19927# Set to yes if exported symbols are required. 19928always_export_symbols=$always_export_symbols_RC 19929 19930# The commands to list exported symbols. 19931export_symbols_cmds=$lt_export_symbols_cmds_RC 19932 19933# The commands to extract the exported symbol list from a shared archive. --- 2056 unchanged lines hidden (view full) --- 21990echo "${ECHO_T}$ac_cv_struct_tm_zone" >&6; } 21991if test "$ac_cv_struct_tm_zone" = yes; then 21992 21993cat >>confdefs.h <<\_ACEOF 21994#define HAVE_TM_ZONE 1 21995_ACEOF 21996 21997fi |
21998 |
|
22429{ echo "$as_me:$LINENO: checking for tzname" >&5 22430echo $ECHO_N "checking for tzname... $ECHO_C" >&6; } 22431if test "${ac_cv_var_tzname+set}" = set; then 22432 echo $ECHO_N "(cached) $ECHO_C" >&6 22433else 22434 cat >conftest.$ac_ext <<_ACEOF 22435/* confdefs.h. */ 22436_ACEOF --- 103 unchanged lines hidden (view full) --- 22540echo "${ECHO_T}$ac_cv_struct_tm_isdst" >&6; } 22541if test "$ac_cv_struct_tm_isdst" = yes; then 22542 22543cat >>confdefs.h <<\_ACEOF 22544#define HAVE_TM_ISDST 1 22545_ACEOF 22546 22547fi | 21999{ echo "$as_me:$LINENO: checking for tzname" >&5 22000echo $ECHO_N "checking for tzname... $ECHO_C" >&6; } 22001if test "${ac_cv_var_tzname+set}" = set; then 22002 echo $ECHO_N "(cached) $ECHO_C" >&6 22003else 22004 cat >conftest.$ac_ext <<_ACEOF 22005/* confdefs.h. */ 22006_ACEOF --- 103 unchanged lines hidden (view full) --- 22110echo "${ECHO_T}$ac_cv_struct_tm_isdst" >&6; } 22111if test "$ac_cv_struct_tm_isdst" = yes; then 22112 22113cat >>confdefs.h <<\_ACEOF 22114#define HAVE_TM_ISDST 1 22115_ACEOF 22116 22117fi |
22118 |
|
22548{ echo "$as_me:$LINENO: checking for daylight" >&5 22549echo $ECHO_N "checking for daylight... $ECHO_C" >&6; } 22550if test "${ac_cv_var_daylight+set}" = set; then 22551 echo $ECHO_N "(cached) $ECHO_C" >&6 22552else 22553 cat >conftest.$ac_ext <<_ACEOF 22554/* confdefs.h. */ 22555_ACEOF --- 580 unchanged lines hidden (view full) --- 23136 else 23137 23138cat >>confdefs.h <<\_ACEOF 23139#define mbstate_t int 23140_ACEOF 23141 23142 fi 23143 | 22119{ echo "$as_me:$LINENO: checking for daylight" >&5 22120echo $ECHO_N "checking for daylight... $ECHO_C" >&6; } 22121if test "${ac_cv_var_daylight+set}" = set; then 22122 echo $ECHO_N "(cached) $ECHO_C" >&6 22123else 22124 cat >conftest.$ac_ext <<_ACEOF 22125/* confdefs.h. */ 22126_ACEOF --- 580 unchanged lines hidden (view full) --- 22707 else 22708 22709cat >>confdefs.h <<\_ACEOF 22710#define mbstate_t int 22711_ACEOF 22712 22713 fi 22714 |
22715{ echo "$as_me:$LINENO: checking for struct option in getopt" >&5 22716echo $ECHO_N "checking for struct option in getopt... $ECHO_C" >&6; } 22717if test "${ac_cv_struct_option_getopt_h+set}" = set; then 22718 echo $ECHO_N "(cached) $ECHO_C" >&6 22719else 22720 cat >conftest.$ac_ext <<_ACEOF 22721/* confdefs.h. */ 22722_ACEOF 22723cat confdefs.h >>conftest.$ac_ext 22724cat >>conftest.$ac_ext <<_ACEOF 22725/* end confdefs.h. */ 22726#include <getopt.h> 22727int 22728main () 22729{ 22730struct option op; op.name; 22731 ; 22732 return 0; 22733} 22734_ACEOF 22735rm -f conftest.$ac_objext 22736if { (ac_try="$ac_compile" 22737case "(($ac_try" in 22738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22739 *) ac_try_echo=$ac_try;; 22740esac 22741eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22742 (eval "$ac_compile") 2>conftest.er1 22743 ac_status=$? 22744 grep -v '^ *+' conftest.er1 >conftest.err 22745 rm -f conftest.er1 22746 cat conftest.err >&5 22747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22748 (exit $ac_status); } && { 22749 test -z "$ac_c_werror_flag" || 22750 test ! -s conftest.err 22751 } && test -s conftest.$ac_objext; then 22752 ac_cv_struct_option_getopt_h=yes 22753else 22754 echo "$as_me: failed program was:" >&5 22755sed 's/^/| /' conftest.$ac_ext >&5 22756 22757 ac_cv_struct_option_getopt_h=no 22758fi 22759 22760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22761fi 22762{ echo "$as_me:$LINENO: result: $ac_cv_struct_option_getopt_h" >&5 22763echo "${ECHO_T}$ac_cv_struct_option_getopt_h" >&6; } 22764if test "$ac_cv_struct_option_getopt_h" = yes; then 22765 22766cat >>confdefs.h <<\_ACEOF 22767#define HAVE_STRUCT_OPTION 1 22768_ACEOF 22769 22770fi 22771 22772 |
|
23144{ echo "$as_me:$LINENO: checking for uint8_t" >&5 23145echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; } 23146if test "${ac_cv_type_uint8_t+set}" = set; then 23147 echo $ECHO_N "(cached) $ECHO_C" >&6 23148else 23149 cat >conftest.$ac_ext <<_ACEOF 23150/* confdefs.h. */ 23151_ACEOF --- 763 unchanged lines hidden (view full) --- 23915 23916 23917 23918 23919{ echo "$as_me:$LINENO: checking for gcc compiler warnings" >&5 23920echo $ECHO_N "checking for gcc compiler warnings... $ECHO_C" >&6; } 23921# Check whether --enable-warnings was given. 23922if test "${enable_warnings+set}" = set; then | 22773{ echo "$as_me:$LINENO: checking for uint8_t" >&5 22774echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; } 22775if test "${ac_cv_type_uint8_t+set}" = set; then 22776 echo $ECHO_N "(cached) $ECHO_C" >&6 22777else 22778 cat >conftest.$ac_ext <<_ACEOF 22779/* confdefs.h. */ 22780_ACEOF --- 763 unchanged lines hidden (view full) --- 23544 23545 23546 23547 23548{ echo "$as_me:$LINENO: checking for gcc compiler warnings" >&5 23549echo $ECHO_N "checking for gcc compiler warnings... $ECHO_C" >&6; } 23550# Check whether --enable-warnings was given. 23551if test "${enable_warnings+set}" = set; then |
23923 enableval=$enable_warnings; if test "${enableval}" = no -o $GCC = no; then | 23552 enableval=$enable_warnings; if test "${enableval}" = no -o "$GCC" = no; then |
23924 { echo "$as_me:$LINENO: result: no" >&5 23925echo "${ECHO_T}no" >&6; } 23926 WARNINGS= 23927else 23928 { echo "$as_me:$LINENO: result: yes" >&5 23929echo "${ECHO_T}yes" >&6; } 23930 WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \ 23931 -Wmissing-declarations -Wredundant-decls -Wnested-externs \ 23932 -Wsign-compare -Wreturn-type -Wswitch -Wshadow \ 23933 -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter" 23934fi 23935else 23936 | 23553 { echo "$as_me:$LINENO: result: no" >&5 23554echo "${ECHO_T}no" >&6; } 23555 WARNINGS= 23556else 23557 { echo "$as_me:$LINENO: result: yes" >&5 23558echo "${ECHO_T}yes" >&6; } 23559 WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \ 23560 -Wmissing-declarations -Wredundant-decls -Wnested-externs \ 23561 -Wsign-compare -Wreturn-type -Wswitch -Wshadow \ 23562 -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter" 23563fi 23564else 23565 |
23937if test $GCC = no; then | 23566if test "$GCC" = no; then |
23938 WARNINGS= 23939 { echo "$as_me:$LINENO: result: no" >&5 23940echo "${ECHO_T}no" >&6; } 23941else 23942 { echo "$as_me:$LINENO: result: yes" >&5 23943echo "${ECHO_T}yes" >&6; } 23944 WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \ 23945 -Wmissing-declarations -Wredundant-decls -Wnested-externs \ --- 723 unchanged lines hidden (view full) --- 24669 24670 24671exec 6>&1 24672 24673# Save the log message, to keep $[0] and so on meaningful, and to 24674# report actual input values of CONFIG_FILES etc. instead of their 24675# values after options handling. 24676ac_log=" | 23567 WARNINGS= 23568 { echo "$as_me:$LINENO: result: no" >&5 23569echo "${ECHO_T}no" >&6; } 23570else 23571 { echo "$as_me:$LINENO: result: yes" >&5 23572echo "${ECHO_T}yes" >&6; } 23573 WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \ 23574 -Wmissing-declarations -Wredundant-decls -Wnested-externs \ --- 723 unchanged lines hidden (view full) --- 24298 24299 24300exec 6>&1 24301 24302# Save the log message, to keep $[0] and so on meaningful, and to 24303# report actual input values of CONFIG_FILES etc. instead of their 24304# values after options handling. 24305ac_log=" |
24677This file was extended by file $as_me 5.00, which was | 24306This file was extended by file $as_me 5.03, which was |
24678generated by GNU Autoconf 2.61. Invocation command line was 24679 24680 CONFIG_FILES = $CONFIG_FILES 24681 CONFIG_HEADERS = $CONFIG_HEADERS 24682 CONFIG_LINKS = $CONFIG_LINKS 24683 CONFIG_COMMANDS = $CONFIG_COMMANDS 24684 $ $0 $@ 24685 --- 36 unchanged lines hidden (view full) --- 24722Configuration commands: 24723$config_commands 24724 24725Report bugs to <bug-autoconf@gnu.org>." 24726 24727_ACEOF 24728cat >>$CONFIG_STATUS <<_ACEOF 24729ac_cs_version="\\ | 24307generated by GNU Autoconf 2.61. Invocation command line was 24308 24309 CONFIG_FILES = $CONFIG_FILES 24310 CONFIG_HEADERS = $CONFIG_HEADERS 24311 CONFIG_LINKS = $CONFIG_LINKS 24312 CONFIG_COMMANDS = $CONFIG_COMMANDS 24313 $ $0 $@ 24314 --- 36 unchanged lines hidden (view full) --- 24351Configuration commands: 24352$config_commands 24353 24354Report bugs to <bug-autoconf@gnu.org>." 24355 24356_ACEOF 24357cat >>$CONFIG_STATUS <<_ACEOF 24358ac_cs_version="\\ |
24730file config.status 5.00 | 24359file config.status 5.03 |
24731configured by $0, generated by GNU Autoconf 2.61, 24732 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 24733 24734Copyright (C) 2006 Free Software Foundation, Inc. 24735This config.status script is free software; the Free Software Foundation 24736gives unlimited permission to copy, distribute and modify it." 24737 24738ac_pwd='$ac_pwd' --- 226 unchanged lines hidden (view full) --- 24965INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 24966mkdir_p!$mkdir_p$ac_delim 24967AWK!$AWK$ac_delim 24968SET_MAKE!$SET_MAKE$ac_delim 24969am__leading_dot!$am__leading_dot$ac_delim 24970AMTAR!$AMTAR$ac_delim 24971am__tar!$am__tar$ac_delim 24972am__untar!$am__untar$ac_delim | 24360configured by $0, generated by GNU Autoconf 2.61, 24361 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 24362 24363Copyright (C) 2006 Free Software Foundation, Inc. 24364This config.status script is free software; the Free Software Foundation 24365gives unlimited permission to copy, distribute and modify it." 24366 24367ac_pwd='$ac_pwd' --- 226 unchanged lines hidden (view full) --- 24594INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 24595mkdir_p!$mkdir_p$ac_delim 24596AWK!$AWK$ac_delim 24597SET_MAKE!$SET_MAKE$ac_delim 24598am__leading_dot!$am__leading_dot$ac_delim 24599AMTAR!$AMTAR$ac_delim 24600am__tar!$am__tar$ac_delim 24601am__untar!$am__untar$ac_delim |
24602pkgdatadir!$pkgdatadir$ac_delim |
|
24973fsect!$fsect$ac_delim 24974FSECT5_TRUE!$FSECT5_TRUE$ac_delim 24975FSECT5_FALSE!$FSECT5_FALSE$ac_delim 24976WARNINGS!$WARNINGS$ac_delim 24977CC!$CC$ac_delim 24978CFLAGS!$CFLAGS$ac_delim 24979LDFLAGS!$LDFLAGS$ac_delim 24980CPPFLAGS!$CPPFLAGS$ac_delim --- 13 unchanged lines hidden (view full) --- 24994build!$build$ac_delim 24995build_cpu!$build_cpu$ac_delim 24996build_vendor!$build_vendor$ac_delim 24997build_os!$build_os$ac_delim 24998host!$host$ac_delim 24999host_cpu!$host_cpu$ac_delim 25000host_vendor!$host_vendor$ac_delim 25001host_os!$host_os$ac_delim | 24603fsect!$fsect$ac_delim 24604FSECT5_TRUE!$FSECT5_TRUE$ac_delim 24605FSECT5_FALSE!$FSECT5_FALSE$ac_delim 24606WARNINGS!$WARNINGS$ac_delim 24607CC!$CC$ac_delim 24608CFLAGS!$CFLAGS$ac_delim 24609LDFLAGS!$LDFLAGS$ac_delim 24610CPPFLAGS!$CPPFLAGS$ac_delim --- 13 unchanged lines hidden (view full) --- 24624build!$build$ac_delim 24625build_cpu!$build_cpu$ac_delim 24626build_vendor!$build_vendor$ac_delim 24627build_os!$build_os$ac_delim 24628host!$host$ac_delim 24629host_cpu!$host_cpu$ac_delim 24630host_vendor!$host_vendor$ac_delim 24631host_os!$host_os$ac_delim |
24632SED!$SED$ac_delim |
|
25002GREP!$GREP$ac_delim 25003EGREP!$EGREP$ac_delim 25004ECHO!$ECHO$ac_delim 25005AR!$AR$ac_delim 25006RANLIB!$RANLIB$ac_delim | 24633GREP!$GREP$ac_delim 24634EGREP!$EGREP$ac_delim 24635ECHO!$ECHO$ac_delim 24636AR!$AR$ac_delim 24637RANLIB!$RANLIB$ac_delim |
25007CPP!$CPP$ac_delim 25008CXX!$CXX$ac_delim 25009CXXFLAGS!$CXXFLAGS$ac_delim 25010ac_ct_CXX!$ac_ct_CXX$ac_delim | 24638DSYMUTIL!$DSYMUTIL$ac_delim 24639NMEDIT!$NMEDIT$ac_delim |
25011_ACEOF 25012 25013 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 25014 break 25015 elif $ac_last_try; then 25016 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 25017echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 25018 { (exit 1); exit 1; }; } --- 25 unchanged lines hidden (view full) --- 25044cat >>$CONFIG_STATUS <<_ACEOF 25045CEOF$ac_eof 25046_ACEOF 25047 25048 25049ac_delim='%!_!# ' 25050for ac_last_try in false false false false false :; do 25051 cat >conf$$subs.sed <<_ACEOF | 24640_ACEOF 24641 24642 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 24643 break 24644 elif $ac_last_try; then 24645 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 24646echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 24647 { (exit 1); exit 1; }; } --- 25 unchanged lines hidden (view full) --- 24673cat >>$CONFIG_STATUS <<_ACEOF 24674CEOF$ac_eof 24675_ACEOF 24676 24677 24678ac_delim='%!_!# ' 24679for ac_last_try in false false false false false :; do 24680 cat >conf$$subs.sed <<_ACEOF |
24681CPP!$CPP$ac_delim 24682CXX!$CXX$ac_delim 24683CXXFLAGS!$CXXFLAGS$ac_delim 24684ac_ct_CXX!$ac_ct_CXX$ac_delim |
|
25052CXXDEPMODE!$CXXDEPMODE$ac_delim 25053am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim 25054am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim 25055CXXCPP!$CXXCPP$ac_delim 25056F77!$F77$ac_delim 25057FFLAGS!$FFLAGS$ac_delim 25058ac_ct_F77!$ac_ct_F77$ac_delim 25059LIBTOOL!$LIBTOOL$ac_delim 25060LIBOBJS!$LIBOBJS$ac_delim 25061IS_CROSS_COMPILE_TRUE!$IS_CROSS_COMPILE_TRUE$ac_delim 25062IS_CROSS_COMPILE_FALSE!$IS_CROSS_COMPILE_FALSE$ac_delim 25063LTLIBOBJS!$LTLIBOBJS$ac_delim 25064_ACEOF 25065 | 24685CXXDEPMODE!$CXXDEPMODE$ac_delim 24686am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim 24687am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim 24688CXXCPP!$CXXCPP$ac_delim 24689F77!$F77$ac_delim 24690FFLAGS!$FFLAGS$ac_delim 24691ac_ct_F77!$ac_ct_F77$ac_delim 24692LIBTOOL!$LIBTOOL$ac_delim 24693LIBOBJS!$LIBOBJS$ac_delim 24694IS_CROSS_COMPILE_TRUE!$IS_CROSS_COMPILE_TRUE$ac_delim 24695IS_CROSS_COMPILE_FALSE!$IS_CROSS_COMPILE_FALSE$ac_delim 24696LTLIBOBJS!$LTLIBOBJS$ac_delim 24697_ACEOF 24698 |
25066 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then | 24699 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 16; then |
25067 break 25068 elif $ac_last_try; then 25069 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 25070echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 25071 { (exit 1); exit 1; }; } 25072 else 25073 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 25074 fi --- 589 unchanged lines hidden --- | 24700 break 24701 elif $ac_last_try; then 24702 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 24703echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 24704 { (exit 1); exit 1; }; } 24705 else 24706 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 24707 fi --- 589 unchanged lines hidden --- |