Changeset 2165 for branches/rel3/psModules/configure
- Timestamp:
- Oct 15, 2004, 11:44:22 AM (22 years ago)
- File:
-
- 1 edited
-
branches/rel3/psModules/configure (modified) (256 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/rel3/psModules/configure
r2157 r2165 391 391 392 392 393 tagnames= ${tagnames+${tagnames},}CXX394 395 tagnames= ${tagnames+${tagnames},}F77393 tagnames=`echo "$tagnames,CXX" | sed 's/^,//'` 394 395 tagnames=`echo "$tagnames,F77" | sed 's/^,//'` 396 396 397 397 # Name of the host. … … 463 463 #endif" 464 464 465 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL GSL_CONFIG LIBOBJS LTLIBOBJS'465 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL GSL_CONFIG LIBOBJS LTLIBOBJS' 466 466 ac_subst_files='' 467 467 … … 1023 1023 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1024 1024 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1025 --disable-dependency-tracking speeds up one-time build1026 --enable-dependency-tracking do not reject slow dependency extractors1025 --disable-dependency-tracking Speeds up one-time builds 1026 --enable-dependency-tracking Do not reject slow dependency extractors 1027 1027 --enable-shared[=PKGS] 1028 1028 build shared libraries [default=yes] … … 1468 1468 1469 1469 1470 # Add the stamp file to the list of files AC keeps track of, 1471 # along with our hook. 1470 1472 ac_config_headers="$ac_config_headers src/config.h" 1471 1473 1472 am__api_version="1.8" 1474 1475 1476 am__api_version="1.6" 1473 1477 ac_aux_dir= 1474 1478 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do … … 1631 1635 rm conftest.sed 1632 1636 1637 1633 1638 # expand $ac_aux_dir to an absolute path 1634 1639 am_aux_dir=`cd $ac_aux_dir && pwd` … … 1642 1647 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1643 1648 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1644 fi1645 1646 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then1647 # Keeping the `.' argument allows $(mkdir_p) to be used without1648 # argument. Indeed, we sometimes output rules like1649 # $(mkdir_p) $(somedir)1650 # where $(somedir) is conditionally defined.1651 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more1652 # expensive solution, as it forces Make to start a sub-shell.)1653 mkdir_p='mkdir -p -- .'1654 else1655 # On NextStep and OpenStep, the `mkdir' command does not1656 # recognize any option. It will interpret all options as1657 # directories to create, and then abort because `.' already1658 # exists.1659 for d in ./-p ./--version;1660 do1661 test -d $d && rmdir $d1662 done1663 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.1664 if test -f "$ac_aux_dir/mkinstalldirs"; then1665 mkdir_p='$(mkinstalldirs)'1666 else1667 mkdir_p='$(install_sh) -d'1668 fi1669 1649 fi 1670 1650 … … 1738 1718 fi 1739 1719 1740 rm -rf .tst 2>/dev/null 1741 mkdir .tst 2>/dev/null 1742 if test -d .tst; then 1743 am__leading_dot=. 1744 else 1745 am__leading_dot=_ 1746 fi 1747 rmdir .tst 2>/dev/null 1748 1749 # test to see if srcdir already configured 1720 # test to see if srcdir already configured 1750 1721 if test "`cd $srcdir && pwd`" != "`pwd`" && 1751 1722 test -f $srcdir/config.status; then … … 1754 1725 { (exit 1); exit 1; }; } 1755 1726 fi 1756 1757 # test whether we have cygpath1758 if test -z "$CYGPATH_W"; then1759 if (cygpath --version) >/dev/null 2>/dev/null; then1760 CYGPATH_W='cygpath -w'1761 else1762 CYGPATH_W=echo1763 fi1764 fi1765 1766 1727 1767 1728 # Define the identity of the package. … … 2767 2728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2768 2729 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2769 DEPDIR="${am__leading_dot}deps" 2730 rm -f .deps 2>/dev/null 2731 mkdir .deps 2>/dev/null 2732 if test -d .deps; then 2733 DEPDIR=.deps 2734 else 2735 # MS-DOS does not allow filenames that begin with a dot. 2736 DEPDIR=_deps 2737 fi 2738 rmdir .deps 2>/dev/null 2739 2770 2740 2771 2741 ac_config_commands="$ac_config_commands depfiles" … … 2774 2744 am_make=${MAKE-make} 2775 2745 cat > confinc << 'END' 2776 am__doit:2746 doit: 2777 2747 @echo done 2778 .PHONY: am__doit2779 2748 END 2780 2749 # If we don't find an include directive, just comment out the code. … … 2791 2760 # be invoked under some other name (usually "gmake"), in which 2792 2761 # case it prints its new name instead of `make'. 2793 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then2762 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then 2794 2763 am__include=include 2795 2764 am__quote= … … 2851 2820 cp "$am_depcomp" conftest.dir 2852 2821 cd conftest.dir 2853 # We will build objects and dependencies in a subdirectory because2854 # it helps to detect inapplicable dependency modes. For instance2855 # both Tru64's cc and ICC support -MD to output dependencies as a2856 # side effect of compilation, but ICC will put the dependencies in2857 # the current directory while Tru64 will put them in the object2858 # directory.2859 mkdir sub2860 2822 2861 2823 am_cv_CC_dependencies_compiler_type=none … … 2864 2826 fi 2865 2827 for depmode in $am_compiler_list; do 2866 # Setup a source with many dependencies, because some compilers2867 # like to wrap large dependency lists on column 80 (with \), and2868 # we should not choose a depcomp mode which is confused by this.2869 #2870 2828 # We need to recreate these files for each test, as the compiler may 2871 2829 # overwrite some of them when testing with obscure command lines. 2872 2830 # This happens at least with the AIX C compiler. 2873 : > sub/conftest.c 2874 for i in 1 2 3 4 5 6; do 2875 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2876 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2877 # Solaris 8's {/usr,}/bin/sh. 2878 touch sub/conftst$i.h 2879 done 2880 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 2831 echo '#include "conftest.h"' > conftest.c 2832 echo 'int i;' > conftest.h 2833 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf 2881 2834 2882 2835 case $depmode in … … 2896 2849 # handle `-M -o', and we need to detect this. 2897 2850 if depmode=$depmode \ 2898 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 2899 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 2900 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 2901 >/dev/null 2>conftest.err && 2902 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 2903 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 2851 source=conftest.c object=conftest.o \ 2852 depfile=conftest.Po tmpdepfile=conftest.TPo \ 2853 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && 2854 grep conftest.h conftest.Po > /dev/null 2>&1 && 2904 2855 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2905 # icc doesn't choke on unknown options, it will just issue warnings 2906 # (even with -Werror). So we grep stderr for any message 2907 # that says an option was ignored. 2908 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 2909 am_cv_CC_dependencies_compiler_type=$depmode 2910 break 2911 fi 2856 am_cv_CC_dependencies_compiler_type=$depmode 2857 break 2912 2858 fi 2913 2859 done … … 2923 2869 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 2924 2870 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 2925 2926 2927 2928 if2929 test "x$enable_dependency_tracking" != xno \2930 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then2931 am__fastdepCC_TRUE=2932 am__fastdepCC_FALSE='#'2933 else2934 am__fastdepCC_TRUE='#'2935 am__fastdepCC_FALSE=2936 fi2937 2871 2938 2872 … … 3241 3175 [\\/]* | ?:[\\/]*) 3242 3176 re_direlt='/[^/][^/]*/\.\./' 3243 # Canonicalize the path nameof ld3177 # Canonicalize the path of ld 3244 3178 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` 3245 3179 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do … … 3310 3244 else 3311 3245 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 3312 case ` $LD-v 2>&1 </dev/null` in3246 case `"$LD" -v 2>&1 </dev/null` in 3313 3247 *GNU* | *'with BFD'*) 3314 3248 lt_cv_prog_gnu_ld=yes … … 3338 3272 *) reload_flag=" $reload_flag" ;; 3339 3273 esac 3340 reload_cmds='$ LD$reload_flag-o $output$reload_objs'3274 reload_cmds='$CC -nostdlib -Xlinker$reload_flag $archargs -o $output$reload_objs' 3341 3275 3342 3276 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 … … 3431 3365 ;; 3432 3366 3433 cygwin* )3434 # func_win32_libid is a shell function defined in ltmain.sh3367 cygwin* | mingw* | pw32*) 3368 # win32_libid is a shell function defined in ltmain.sh 3435 3369 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 3436 lt_cv_file_magic_cmd=' func_win32_libid'3370 lt_cv_file_magic_cmd='win32_libid' 3437 3371 ;; 3438 3372 3439 mingw* | pw32*)3440 # Base MSYS/MinGW do not provide the 'file' command needed by3441 # func_win32_libid shell function, so use a weaker test based on 'objdump'.3442 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'3443 lt_cv_file_magic_cmd='$OBJDUMP -f'3444 ;;3445 3446 3373 darwin* | rhapsody*) 3374 # this will be overwritten by pass_all, but leave it in just in case 3375 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' 3376 lt_cv_file_magic_cmd='/usr/bin/file -L' 3377 case "$host_os" in 3378 rhapsody* | darwin1.[012]) 3379 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` 3380 ;; 3381 *) # Darwin 1.3 on 3382 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' 3383 ;; 3384 esac 3447 3385 lt_cv_deplibs_check_method=pass_all 3448 3386 ;; 3449 3387 3450 freebsd* | kfreebsd*-gnu)3388 freebsd*) 3451 3389 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 3452 3390 case $host_cpu in … … 3487 3425 3488 3426 irix5* | irix6* | nonstopux*) 3489 case $LD in 3490 *-32|*"-32 ") libmagic=32-bit;; 3491 *-n32|*"-n32 ") libmagic=N32;; 3492 *-64|*"-64 ") libmagic=64-bit;; 3493 *) libmagic=never-match;; 3427 case $host_os in 3428 irix5* | nonstopux*) 3429 # this will be overridden with pass_all, but let us keep it just in case 3430 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" 3431 ;; 3432 *) 3433 case $LD in 3434 *-32|*"-32 ") libmagic=32-bit;; 3435 *-n32|*"-n32 ") libmagic=N32;; 3436 *-64|*"-64 ") libmagic=64-bit;; 3437 *) libmagic=never-match;; 3438 esac 3439 # this will be overridden with pass_all, but let us keep it just in case 3440 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" 3441 ;; 3494 3442 esac 3443 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` 3495 3444 lt_cv_deplibs_check_method=pass_all 3496 3445 ;; … … 3499 3448 linux*) 3500 3449 case $host_cpu in 3501 alpha* |hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)3450 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) 3502 3451 lt_cv_deplibs_check_method=pass_all ;; 3503 3452 *) 3504 3453 # glibc up to 2.1.1 does not perform some relocations on ARM 3505 # this will be overridden with pass_all, but let us keep it just in case3506 3454 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 3507 3455 esac 3508 3456 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 3509 lt_cv_deplibs_check_method=pass_all3510 3457 ;; 3511 3458 … … 3524 3471 ;; 3525 3472 3526 nto-qnx *)3473 nto-qnx) 3527 3474 lt_cv_deplibs_check_method=unknown 3528 3475 ;; … … 3539 3486 3540 3487 osf3* | osf4* | osf5*) 3488 # this will be overridden with pass_all, but let us keep it just in case 3489 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' 3490 lt_cv_file_magic_test_file=/shlib/libc.so 3541 3491 lt_cv_deplibs_check_method=pass_all 3542 3492 ;; … … 3548 3498 solaris*) 3549 3499 lt_cv_deplibs_check_method=pass_all 3500 lt_cv_file_magic_test_file=/lib/libc.so 3550 3501 ;; 3551 3502 … … 3627 3578 *-*-irix6*) 3628 3579 # Find out which ABI we are using. 3629 echo '#line 3 629"configure"' > conftest.$ac_ext3580 echo '#line 3580 "configure"' > conftest.$ac_ext 3630 3581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3631 3582 (eval $ac_compile) 2>&5 … … 3676 3627 LD="${LD-ld} -m elf_i386" 3677 3628 ;; 3678 ppc64-*linux* |powerpc64-*linux*)3629 ppc64-*linux*) 3679 3630 LD="${LD-ld} -m elf32ppclinux" 3680 3631 ;; … … 4717 4668 cp "$am_depcomp" conftest.dir 4718 4669 cd conftest.dir 4719 # We will build objects and dependencies in a subdirectory because4720 # it helps to detect inapplicable dependency modes. For instance4721 # both Tru64's cc and ICC support -MD to output dependencies as a4722 # side effect of compilation, but ICC will put the dependencies in4723 # the current directory while Tru64 will put them in the object4724 # directory.4725 mkdir sub4726 4670 4727 4671 am_cv_CXX_dependencies_compiler_type=none … … 4730 4674 fi 4731 4675 for depmode in $am_compiler_list; do 4732 # Setup a source with many dependencies, because some compilers4733 # like to wrap large dependency lists on column 80 (with \), and4734 # we should not choose a depcomp mode which is confused by this.4735 #4736 4676 # We need to recreate these files for each test, as the compiler may 4737 4677 # overwrite some of them when testing with obscure command lines. 4738 4678 # This happens at least with the AIX C compiler. 4739 : > sub/conftest.c 4740 for i in 1 2 3 4 5 6; do 4741 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4742 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4743 # Solaris 8's {/usr,}/bin/sh. 4744 touch sub/conftst$i.h 4745 done 4746 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4679 echo '#include "conftest.h"' > conftest.c 4680 echo 'int i;' > conftest.h 4681 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf 4747 4682 4748 4683 case $depmode in … … 4762 4697 # handle `-M -o', and we need to detect this. 4763 4698 if depmode=$depmode \ 4764 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 4765 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4766 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 4767 >/dev/null 2>conftest.err && 4768 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4769 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 4699 source=conftest.c object=conftest.o \ 4700 depfile=conftest.Po tmpdepfile=conftest.TPo \ 4701 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && 4702 grep conftest.h conftest.Po > /dev/null 2>&1 && 4770 4703 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4771 # icc doesn't choke on unknown options, it will just issue warnings 4772 # (even with -Werror). So we grep stderr for any message 4773 # that says an option was ignored. 4774 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 4775 am_cv_CXX_dependencies_compiler_type=$depmode 4776 break 4777 fi 4704 am_cv_CXX_dependencies_compiler_type=$depmode 4705 break 4778 4706 fi 4779 4707 done … … 4789 4717 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 4790 4718 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 4791 4792 4793 4794 if4795 test "x$enable_dependency_tracking" != xno \4796 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then4797 am__fastdepCXX_TRUE=4798 am__fastdepCXX_FALSE='#'4799 else4800 am__fastdepCXX_TRUE='#'4801 am__fastdepCXX_FALSE=4802 fi4803 4719 4804 4720 … … 5126 5042 5127 5043 # Provide some information about the compiler. 5128 echo "$as_me:5 128:" \5044 echo "$as_me:5044:" \ 5129 5045 "checking for Fortran 77 compiler version" >&5 5130 5046 ac_compiler=`set X $ac_compile; echo $2` … … 5259 5175 else 5260 5176 i=0 5261 test string="ABCD"5177 testring="ABCD" 5262 5178 5263 5179 case $build_os in … … 5288 5204 ;; 5289 5205 5290 amigaos*)5291 # On AmigaOS with pdksh, this test takes hours, literally.5292 # So we just punt and use a minimum line length of 8192.5293 lt_cv_sys_max_cmd_len=8192;5294 ;;5295 5296 5206 *) 5297 5207 # If test is not a shell built-in, we'll probably end up computing a 5298 5208 # maximum length that is only half of the actual maximum length, but 5299 5209 # we can't tell. 5300 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$test string" 2>/dev/null` \5301 = "XX$test string") >/dev/null 2>&1 &&5302 new_result=`expr "X$test string" : ".*" 2>&1` &&5210 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ 5211 = "XX$testring") >/dev/null 2>&1 && 5212 new_result=`expr "X$testring" : ".*" 2>&1` && 5303 5213 lt_cv_sys_max_cmd_len=$new_result && 5304 5214 test $i != 17 # 1/2 MB should be enough 5305 5215 do 5306 5216 i=`expr $i + 1` 5307 test string=$teststring$teststring5217 testring=$testring$testring 5308 5218 done 5309 test string=5219 testring= 5310 5220 # Add a significant safety factor because C++ compilers can tack on massive 5311 5221 # amounts of additional arguments before passing them to the linker. … … 5375 5285 ;; 5376 5286 solaris* | sysv5*) 5377 symcode='[BD RT]'5287 symcode='[BDT]' 5378 5288 ;; 5379 5289 sysv4) … … 5393 5303 case `$NM -V 2>&1` in 5394 5304 *GNU* | *'with BFD'*) 5395 symcode='[ABCDGI RSTW]' ;;5305 symcode='[ABCDGISTW]' ;; 5396 5306 esac 5397 5307 … … 5572 5482 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 5573 5483 5484 # Sed substitution to undo escaping of the cmd sep variable 5485 unescape_variable_subst='s/\\\(${_S_}\)/\1/g' 5486 5574 5487 # Sed substitution to avoid accidental globbing in evaled expressions 5575 5488 no_glob_subst='s/\*/\\\*/g' … … 5858 5771 case $host_os in 5859 5772 openbsd*) 5860 old_postinstall_cmds="\$RANLIB -t \$oldlib ~$old_postinstall_cmds"5773 old_postinstall_cmds="\$RANLIB -t \$oldlib\${_S_}$old_postinstall_cmds" 5861 5774 ;; 5862 5775 *) 5863 old_postinstall_cmds="\$RANLIB \$oldlib ~$old_postinstall_cmds"5776 old_postinstall_cmds="\$RANLIB \$oldlib\${_S_}$old_postinstall_cmds" 5864 5777 ;; 5865 5778 esac 5866 old_archive_cmds="$old_archive_cmds ~\$RANLIB \$oldlib"5779 old_archive_cmds="$old_archive_cmds\${_S_}\$RANLIB \$oldlib" 5867 5780 fi 5868 5781 … … 6119 6032 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 6120 6033 6121 6122 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 6034 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 6123 6035 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 6124 6036 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then … … 6138 6050 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6139 6051 -e 's:$: $lt_compiler_flag:'` 6140 (eval echo "\"\$as_me:6 140: $lt_compile\"" >&5)6052 (eval echo "\"\$as_me:6052: $lt_compile\"" >&5) 6141 6053 (eval "$lt_compile" 2>conftest.err) 6142 6054 ac_status=$? 6143 6055 cat conftest.err >&5 6144 echo "$as_me:6 144: \$? = $ac_status" >&56056 echo "$as_me:6056: \$? = $ac_status" >&5 6145 6057 if (exit $ac_status) && test -s "$ac_outfile"; then 6146 6058 # The compiler can only warn and ignore the option if not recognized … … 6285 6197 linux*) 6286 6198 case $CC in 6287 icc * | ecc*)6199 icc|ecc) 6288 6200 lt_prog_compiler_wl='-Wl,' 6289 6201 lt_prog_compiler_pic='-KPIC' 6290 6202 lt_prog_compiler_static='-static' 6291 6203 ;; 6292 ccc *)6204 ccc) 6293 6205 lt_prog_compiler_wl='-Wl,' 6294 6206 # All Alpha code is PIC. … … 6352 6264 # 6353 6265 if test -n "$lt_prog_compiler_pic"; then 6354 6355 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 6266 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 6356 6267 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 6357 6268 if test "${lt_prog_compiler_pic_works+set}" = set; then … … 6371 6282 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6372 6283 -e 's:$: $lt_compiler_flag:'` 6373 (eval echo "\"\$as_me:6 373: $lt_compile\"" >&5)6284 (eval echo "\"\$as_me:6284: $lt_compile\"" >&5) 6374 6285 (eval "$lt_compile" 2>conftest.err) 6375 6286 ac_status=$? 6376 6287 cat conftest.err >&5 6377 echo "$as_me:6 377: \$? = $ac_status" >&56288 echo "$as_me:6288: \$? = $ac_status" >&5 6378 6289 if (exit $ac_status) && test -s "$ac_outfile"; then 6379 6290 # The compiler can only warn and ignore the option if not recognized … … 6422 6333 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 6423 6334 6335 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers 6336 # that will create temporary files in the current directory regardless of 6337 # the output directory. Thus, making CWD read-only will cause this test 6338 # to fail, enabling locking or at least warning the user not to do parallel 6339 # builds. 6340 chmod -w . 6341 6424 6342 lt_compiler_flag="-o out/conftest2.$ac_objext" 6425 6343 # Insert the option either (1) after the last *FLAGS variable, or … … 6431 6349 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6432 6350 -e 's:$: $lt_compiler_flag:'` 6433 (eval echo "\"\$as_me:6 433: $lt_compile\"" >&5)6351 (eval echo "\"\$as_me:6351: $lt_compile\"" >&5) 6434 6352 (eval "$lt_compile" 2>out/conftest.err) 6435 6353 ac_status=$? 6436 6354 cat out/conftest.err >&5 6437 echo "$as_me:6 437: \$? = $ac_status" >&56355 echo "$as_me:6355: \$? = $ac_status" >&5 6438 6356 if (exit $ac_status) && test -s out/conftest2.$ac_objext 6439 6357 then … … 6445 6363 fi 6446 6364 chmod u+w . 6447 $rm conftest* 6448 # SGI C++ compiler will create directory out/ii_files/ for 6449 # template instantiation 6450 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 6451 $rm out/* && rmdir out 6365 $rm conftest* out/* 6366 rmdir out 6452 6367 cd .. 6453 6368 rmdir conftest … … 6559 6474 6560 6475 amigaos*) 6561 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)'6476 archive_cmds='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)' 6562 6477 hardcode_libdir_flag_spec='-L$libdir' 6563 6478 hardcode_minus_L=yes … … 6601 6516 echo EXPORTS > $output_objdir/$soname.def; 6602 6517 cat $export_symbols >> $output_objdir/$soname.def; 6603 fi ~6518 fi${_S_} 6604 6519 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' 6605 6520 else … … 6645 6560 hardcode_shlibpath_var=no 6646 6561 ;; 6647 6648 linux*)6649 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then6650 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'6651 archive_cmds="$tmp_archive_cmds"6652 supports_anon_versioning=no6653 case `$LD -v 2>/dev/null` in6654 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.116655 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...6656 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...6657 *\ 2.11.*) ;; # other 2.11 versions6658 *) supports_anon_versioning=yes ;;6659 esac6660 if test $supports_anon_versioning = yes; then6661 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~6662 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~6663 $echo "local: *; };" >> $output_objdir/$libname.ver~6664 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'6665 else6666 archive_expsym_cmds="$tmp_archive_cmds"6667 fi6668 else6669 ld_shlibs=no6670 fi6671 ;;6672 6562 6673 6563 *) … … 6698 6588 allow_undefined_flag=unsupported 6699 6589 always_export_symbols=yes 6700 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'6590 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE${_S_}$AR $AR_FLAGS $lib $output_objdir/$soname' 6701 6591 # Note: this linker hardcodes the directories in LIBPATH if there 6702 6592 # are no directories specified by -L. … … 6902 6792 archive_cmds_need_lc=yes 6903 6793 # This is similar to how AIX traditionally builds it's shared libraries. 6904 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'6794 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}\${_S_}$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 6905 6795 fi 6906 6796 fi … … 6908 6798 6909 6799 amigaos*) 6910 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)'6800 archive_cmds='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)' 6911 6801 hardcode_libdir_flag_spec='-L$libdir' 6912 6802 hardcode_minus_L=yes … … 6929 6819 libext=lib 6930 6820 # Tell ltmain to make .dll files, not .so files. 6931 shrext _cmds=".dll"6821 shrext=".dll" 6932 6822 # FIXME: Setting linknames here is a bad hack. 6933 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll ~linknames='6823 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames=' 6934 6824 # The linker will automatically build a .lib file if we build a DLL. 6935 6825 old_archive_From_new_cmds='true' … … 6941 6831 6942 6832 darwin* | rhapsody*) 6943 if test "$GXX" = yes; then6833 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 6944 6834 archive_cmds_need_lc=no 6945 6835 case "$host_os" in … … 6947 6837 allow_undefined_flag='-undefined suppress' 6948 6838 ;; 6949 *) # Darwin 1.3 on 6950 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 6951 allow_undefined_flag='-flat_namespace -undefined suppress' 6952 else 6953 case ${MACOSX_DEPLOYMENT_TARGET} in 6954 10.[012]) 6955 allow_undefined_flag='-flat_namespace -undefined suppress' 6956 ;; 6957 10.*) 6958 allow_undefined_flag='-undefined dynamic_lookup' 6959 ;; 6960 esac 6961 fi 6839 darwin1.* | darwin[2-6].*) # Darwin 1.3 on, but less than 7.0 6840 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' 6841 ;; 6842 *) # Darwin 7.0 on 6843 case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in 6844 10.[012]) 6845 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' 6846 ;; 6847 *) # 10.3 on 6848 if test -z ${LD_TWOLEVEL_NAMESPACE}; then 6849 allow_undefined_flag='-flat_namespace -undefined suppress' 6850 else 6851 allow_undefined_flag='-undefined dynamic_lookup' 6852 fi 6853 ;; 6854 esac 6962 6855 ;; 6963 6856 esac 6857 # FIXME: Relying on posixy $() will cause problems for 6858 # cross-compilation, but unfortunately the echo tests do not 6859 # yet detect zsh echo's removal of \ escapes. Also zsh mangles 6860 # `"' quotes if we put them in here... so don't! 6964 6861 lt_int_apple_cc_single_mod=no 6965 6862 output_verbose_link_cmd='echo' … … 6968 6865 fi 6969 6866 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 6970 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'6867 archive_cmds='$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 6971 6868 else 6972 archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs ~$CC -dynamiclib$allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'6869 archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 6973 6870 fi 6974 module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle$libobjs $deplibs$compiler_flags'6871 module_cmds='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 6975 6872 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 6976 6873 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 6977 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym ~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'6874 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 6978 6875 else 6979 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym ~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'6876 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 6980 6877 fi 6981 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}'6878 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 6982 6879 hardcode_direct=no 6983 6880 hardcode_automatic=yes … … 6985 6882 whole_archive_flag_spec='-all_load $convenience' 6986 6883 link_all_deplibs=yes 6987 else6988 ld_shlibs=no6989 6884 fi 6990 6885 ;; … … 7020 6915 7021 6916 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 7022 freebsd* | kfreebsd*-gnu)6917 freebsd*) 7023 6918 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 7024 6919 hardcode_libdir_flag_spec='-R$libdir' … … 7029 6924 hpux9*) 7030 6925 if test "$GCC" = yes; then 7031 archive_cmds='$rm $output_objdir/$soname ~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'6926 archive_cmds='$rm $output_objdir/$soname${_S_}$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 7032 6927 else 7033 archive_cmds='$rm $output_objdir/$soname ~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'6928 archive_cmds='$rm $output_objdir/$soname${_S_}$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 7034 6929 fi 7035 6930 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' … … 7151 7046 hardcode_minus_L=yes 7152 7047 allow_undefined_flag=unsupported 7153 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'7048 archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def${_S_}$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def${_S_}$echo DATA >> $output_objdir/$libname.def${_S_}$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def${_S_}$echo EXPORTS >> $output_objdir/$libname.def${_S_}emxexp $libobjs >> $output_objdir/$libname.def${_S_}$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 7154 7049 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 7155 7050 ;; … … 7175 7070 allow_undefined_flag=' -expect_unresolved \*' 7176 7071 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 7177 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp ~7178 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib ~$rm $lib.exp'7072 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp${_S_} 7073 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib${_S_}$rm $lib.exp' 7179 7074 7180 7075 # Both c and cxx compiler support -rpath directly … … 7196 7091 if test "$GCC" = yes; then 7197 7092 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 7198 archive_expsym_cmds='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~7199 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags ~$rm $lib.exp'7093 archive_expsym_cmds='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 7094 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags${_S_}$rm $lib.exp' 7200 7095 else 7201 7096 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 7202 archive_expsym_cmds='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~7203 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags ~$rm $lib.exp'7097 archive_expsym_cmds='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 7098 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp' 7204 7099 fi 7205 7100 hardcode_libdir_flag_spec='-R$libdir' … … 7290 7185 # object files and a static libstdc++, better avoid it by now 7291 7186 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 7292 archive_expsym_cmds='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~7293 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags ~$rm $lib.exp'7187 archive_expsym_cmds='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 7188 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp' 7294 7189 hardcode_libdir_flag_spec= 7295 7190 hardcode_shlibpath_var=no … … 7328 7223 if test "$enable_shared" = yes && test "$GCC" = yes; then 7329 7224 case $archive_cmds in 7330 * '~'*)7225 *"$_S_"*) 7331 7226 # FIXME: we may have to deal with multi-command sequences. 7332 7227 ;; … … 7380 7275 esac 7381 7276 7277 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 7278 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 7279 hardcode_action= 7280 if test -n "$hardcode_libdir_flag_spec" || \ 7281 test -n "$runpath_var " || \ 7282 test "X$hardcode_automatic"="Xyes" ; then 7283 7284 # We can hardcode non-existant directories. 7285 if test "$hardcode_direct" != no && 7286 # If the only mechanism to avoid hardcoding is shlibpath_var, we 7287 # have to relink, otherwise we might link with an installed library 7288 # when we should be linking with a yet-to-be-installed one 7289 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && 7290 test "$hardcode_minus_L" != no; then 7291 # Linking always hardcodes the temporary library directory. 7292 hardcode_action=relink 7293 else 7294 # We can link without hardcoding, and we can hardcode nonexisting dirs. 7295 hardcode_action=immediate 7296 fi 7297 else 7298 # We cannot hardcode anything, or else we can only hardcode existing 7299 # directories. 7300 hardcode_action=unsupported 7301 fi 7302 echo "$as_me:$LINENO: result: $hardcode_action" >&5 7303 echo "${ECHO_T}$hardcode_action" >&6 7304 7305 if test "$hardcode_action" = relink; then 7306 # Fast installation is not supported 7307 enable_fast_install=no 7308 elif test "$shlibpath_overrides_runpath" = yes || 7309 test "$enable_shared" = no; then 7310 # Fast installation is not necessary 7311 enable_fast_install=needless 7312 fi 7313 7314 striplib= 7315 old_striplib= 7316 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 7317 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 7318 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 7319 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 7320 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 7321 echo "$as_me:$LINENO: result: yes" >&5 7322 echo "${ECHO_T}yes" >&6 7323 else 7324 # FIXME - insert some real tests, host_os isn't really good enough 7325 case $host_os in 7326 NOT-darwin*) 7327 if test -n "$STRIP" ; then 7328 striplib="$STRIP -x" 7329 echo "$as_me:$LINENO: result: yes" >&5 7330 echo "${ECHO_T}yes" >&6 7331 else 7332 echo "$as_me:$LINENO: result: no" >&5 7333 echo "${ECHO_T}no" >&6 7334 fi 7335 ;; 7336 *) 7337 echo "$as_me:$LINENO: result: no" >&5 7338 echo "${ECHO_T}no" >&6 7339 ;; 7340 esac 7341 fi 7342 7382 7343 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 7383 7344 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 … … 7385 7346 libname_spec='lib$name' 7386 7347 soname_spec= 7387 shrext _cmds=".so"7348 shrext=".so" 7388 7349 postinstall_cmds= 7389 7350 postuninstall_cmds= … … 7473 7434 library_names_spec='$libname.ixlibrary $libname.a' 7474 7435 # Create ${libname}_ixlibrary.a entries in /sys/libs. 7475 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show " cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a|| exit 1; done'7436 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' 7476 7437 ;; 7477 7438 … … 7498 7459 cygwin* | mingw* | pw32*) 7499 7460 version_type=windows 7500 shrext _cmds=".dll"7461 shrext=".dll" 7501 7462 need_version=no 7502 7463 need_lib_prefix=no … … 7506 7467 library_names_spec='$libname.dll.a' 7507 7468 # DLL is installed to $(libdir)/../bin by postinstall_cmds 7508 postinstall_cmds='base_file=`basename \${file}` ~7509 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''` ~7510 dldir=$destdir/`dirname \$dlpath` ~7511 test -d \$dldir || mkdir -p \$dldir ~7469 postinstall_cmds='base_file=`basename \${file}`${_S_} 7470 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`${_S_} 7471 dldir=$destdir/`dirname \$dlpath`${_S_} 7472 test -d \$dldir || mkdir -p \$dldir${_S_} 7512 7473 $install_prog $dir/$dlname \$dldir/$dlname' 7513 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''` ~7514 dlpath=$dir/\$dldll ~7474 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`${_S_} 7475 dlpath=$dir/\$dldll${_S_} 7515 7476 $rm \$dlpath' 7516 7477 shlibpath_overrides_runpath=yes … … 7520 7481 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 7521 7482 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 7522 sys_lib_search_path_spec="/ usr/lib /lib/w32api/lib /usr/local/lib"7483 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" 7523 7484 ;; 7524 7485 mingw*) … … 7559 7520 need_lib_prefix=no 7560 7521 need_version=no 7561 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 7522 # FIXME: Relying on posixy $() will cause problems for 7523 # cross-compilation, but unfortunately the echo tests do not 7524 # yet detect zsh echo's removal of \ escapes. 7525 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext' 7562 7526 soname_spec='${libname}${release}${major}$shared_ext' 7563 7527 shlibpath_overrides_runpath=yes 7564 7528 shlibpath_var=DYLD_LIBRARY_PATH 7565 shrext _cmds='$(test .$module = .yes && echo .so || echo .dylib)'7529 shrext='$(test .$module = .yes && echo .so || echo .dylib)' 7566 7530 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 7567 if test "$GCC" = yes; then 7568 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"` 7569 else 7570 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 7531 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 7532 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"` 7571 7533 fi 7572 7534 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 7584 7546 freebsd1*) 7585 7547 dynamic_linker=no 7586 ;;7587 7588 kfreebsd*-gnu)7589 version_type=linux7590 need_lib_prefix=no7591 need_version=no7592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'7593 soname_spec='${libname}${release}${shared_ext}$major'7594 shlibpath_var=LD_LIBRARY_PATH7595 shlibpath_overrides_runpath=no7596 hardcode_into_libs=yes7597 dynamic_linker='GNU ld.so'7598 7548 ;; 7599 7549 … … 7646 7596 case "$host_cpu" in 7647 7597 ia64*) 7648 shrext _cmds='.so'7598 shrext='.so' 7649 7599 hardcode_into_libs=yes 7650 7600 dynamic_linker="$host_os dld.so" … … 7661 7611 ;; 7662 7612 hppa*64*) 7663 shrext _cmds='.sl'7613 shrext='.sl' 7664 7614 hardcode_into_libs=yes 7665 7615 dynamic_linker="$host_os dld.sl" … … 7672 7622 ;; 7673 7623 *) 7674 shrext _cmds='.sl'7624 shrext='.sl' 7675 7625 dynamic_linker="$host_os dld.sl" 7676 7626 shlibpath_var=SHLIB_PATH … … 7741 7691 hardcode_into_libs=yes 7742 7692 7743 # find out which ABI we are using7744 libsuff=7745 case "$host_cpu" in7746 x86_64*|s390x*|powerpc64*)7747 echo '#line 7747 "configure"' > conftest.$ac_ext7748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57749 (eval $ac_compile) 2>&57750 ac_status=$?7751 echo "$as_me:$LINENO: \$? = $ac_status" >&57752 (exit $ac_status); }; then7753 case `/usr/bin/file conftest.$ac_objext` in7754 *64-bit*)7755 libsuff=647756 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"7757 ;;7758 esac7759 fi7760 rm -rf conftest*7761 ;;7762 esac7763 7764 # Append ld.so.conf contents to the search path7765 if test -f /etc/ld.so.conf; then7766 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`7767 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"7768 fi7769 7770 7693 # We used to test for /lib/ld.so.1 and disable shared libraries on 7771 7694 # powerpc, because MkLinux only supported shared libraries with the … … 7775 7698 # assume the GNU/Linux dynamic linker is in use. 7776 7699 dynamic_linker='GNU/Linux ld.so' 7777 ;;7778 7779 knetbsd*-gnu)7780 version_type=linux7781 need_lib_prefix=no7782 need_version=no7783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'7784 soname_spec='${libname}${release}${shared_ext}$major'7785 shlibpath_var=LD_LIBRARY_PATH7786 shlibpath_overrides_runpath=no7787 hardcode_into_libs=yes7788 dynamic_linker='GNU ld.so'7789 7700 ;; 7790 7701 … … 7798 7709 dynamic_linker='NetBSD (a.out) ld.so' 7799 7710 else 7800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ shared_ext}'7711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' 7801 7712 soname_spec='${libname}${release}${shared_ext}$major' 7802 7713 dynamic_linker='NetBSD ld.elf_so' … … 7814 7725 ;; 7815 7726 7816 nto-qnx *)7727 nto-qnx) 7817 7728 version_type=linux 7818 7729 need_lib_prefix=no … … 7827 7738 version_type=sunos 7828 7739 need_lib_prefix=no 7829 need_version= yes7740 need_version=no 7830 7741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 7831 7742 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 7847 7758 os2*) 7848 7759 libname_spec='$name' 7849 shrext _cmds=".dll"7760 shrext=".dll" 7850 7761 need_lib_prefix=no 7851 7762 library_names_spec='$libname${shared_ext} $libname.a' … … 7944 7855 echo "${ECHO_T}$dynamic_linker" >&6 7945 7856 test "$dynamic_linker" = no && can_build_shared=no 7946 7947 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&57948 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&67949 hardcode_action=7950 if test -n "$hardcode_libdir_flag_spec" || \7951 test -n "$runpath_var " || \7952 test "X$hardcode_automatic"="Xyes" ; then7953 7954 # We can hardcode non-existant directories.7955 if test "$hardcode_direct" != no &&7956 # If the only mechanism to avoid hardcoding is shlibpath_var, we7957 # have to relink, otherwise we might link with an installed library7958 # when we should be linking with a yet-to-be-installed one7959 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&7960 test "$hardcode_minus_L" != no; then7961 # Linking always hardcodes the temporary library directory.7962 hardcode_action=relink7963 else7964 # We can link without hardcoding, and we can hardcode nonexisting dirs.7965 hardcode_action=immediate7966 fi7967 else7968 # We cannot hardcode anything, or else we can only hardcode existing7969 # directories.7970 hardcode_action=unsupported7971 fi7972 echo "$as_me:$LINENO: result: $hardcode_action" >&57973 echo "${ECHO_T}$hardcode_action" >&67974 7975 if test "$hardcode_action" = relink; then7976 # Fast installation is not supported7977 enable_fast_install=no7978 elif test "$shlibpath_overrides_runpath" = yes ||7979 test "$enable_shared" = no; then7980 # Fast installation is not necessary7981 enable_fast_install=needless7982 fi7983 7984 striplib=7985 old_striplib=7986 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&57987 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&67988 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then7989 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"7990 test -z "$striplib" && striplib="$STRIP --strip-unneeded"7991 echo "$as_me:$LINENO: result: yes" >&57992 echo "${ECHO_T}yes" >&67993 else7994 # FIXME - insert some real tests, host_os isn't really good enough7995 case $host_os in7996 darwin*)7997 if test -n "$STRIP" ; then7998 striplib="$STRIP -x"7999 echo "$as_me:$LINENO: result: yes" >&58000 echo "${ECHO_T}yes" >&68001 else8002 echo "$as_me:$LINENO: result: no" >&58003 echo "${ECHO_T}no" >&68004 fi8005 ;;8006 *)8007 echo "$as_me:$LINENO: result: no" >&58008 echo "${ECHO_T}no" >&68009 ;;8010 esac8011 fi8012 7857 8013 7858 if test "x$enable_dlopen" != xyes; then … … 8530 8375 lt_status=$lt_dlunknown 8531 8376 cat > conftest.$ac_ext <<EOF 8532 #line 8 532"configure"8377 #line 8377 "configure" 8533 8378 #include "confdefs.h" 8534 8379 … … 8628 8473 lt_status=$lt_dlunknown 8629 8474 cat > conftest.$ac_ext <<EOF 8630 #line 8 630"configure"8475 #line 8475 "configure" 8631 8476 #include "confdefs.h" 8632 8477 … … 8748 8593 test "$enable_shared" = yes && enable_static=no 8749 8594 if test -n "$RANLIB"; then 8750 archive_cmds="$archive_cmds ~\$RANLIB \$lib"8595 archive_cmds="$archive_cmds\${_S_}\$RANLIB \$lib" 8751 8596 postinstall_cmds='$RANLIB $lib' 8752 8597 fi 8753 8598 ;; 8754 8599 8755 aix4* | aix5*)8600 aix4*) 8756 8601 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 8757 8602 test "$enable_shared" = yes && enable_static=no … … 8759 8604 ;; 8760 8605 darwin* | rhapsody*) 8761 if test "$GCC" = yes; then8606 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 8762 8607 archive_cmds_need_lc=no 8763 8608 case "$host_os" in … … 8765 8610 allow_undefined_flag='-undefined suppress' 8766 8611 ;; 8767 *) # Darwin 1.3 on 8768 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 8769 allow_undefined_flag='-flat_namespace -undefined suppress' 8770 else 8771 case ${MACOSX_DEPLOYMENT_TARGET} in 8772 10.[012]) 8773 allow_undefined_flag='-flat_namespace -undefined suppress' 8774 ;; 8775 10.*) 8776 allow_undefined_flag='-undefined dynamic_lookup' 8777 ;; 8778 esac 8779 fi 8612 darwin1.* | darwin[2-6].*) # Darwin 1.3 on, but less than 7.0 8613 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' 8614 ;; 8615 *) # Darwin 7.0 on 8616 case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in 8617 10.[012]) 8618 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' 8619 ;; 8620 *) # 10.3 on 8621 if test -z ${LD_TWOLEVEL_NAMESPACE}; then 8622 allow_undefined_flag='-flat_namespace -undefined suppress' 8623 else 8624 allow_undefined_flag='-undefined dynamic_lookup' 8625 fi 8626 ;; 8627 esac 8780 8628 ;; 8781 8629 esac 8782 output_verbose_link_cmd='echo' 8783 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' 8784 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 8630 # FIXME: Relying on posixy $() will cause problems for 8631 # cross-compilation, but unfortunately the echo tests do not 8632 # yet detect zsh echo's removal of \ escapes. Also zsh mangles 8633 # `"' quotes if we put them in here... so don't! 8634 output_verbose_link_cmd='echo' 8635 archive_cmds='$CC -dynamiclib $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' 8636 module_cmds='$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 8785 8637 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 8786 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}'8787 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}'8638 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 8639 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 8788 8640 hardcode_direct=no 8789 8641 hardcode_automatic=yes … … 8791 8643 whole_archive_flag_spec='-all_load $convenience' 8792 8644 link_all_deplibs=yes 8793 else 8794 ld_shlibs=no 8795 fi 8645 fi 8796 8646 ;; 8797 8647 esac … … 8819 8669 # careful not to overquote the AC_SUBSTed values. We take copies of the 8820 8670 # variables and quote the copies for generation of the libtool script. 8821 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 8822 SED SHELL STRIP \ 8671 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 8823 8672 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 8824 8673 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 8878 8727 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 8879 8728 # Double-quote double-evaled strings. 8880 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" \`\\\""8729 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\"" 8881 8730 ;; 8882 8731 *) … … 8947 8796 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 8948 8797 8798 # Set the command separator (default: ~) 8799 _S_=\${LIBTOOL_CMD_SEP-\~} 8800 8949 8801 # Shell to use when invoking shell scripts. 8950 8802 SHELL=$lt_SHELL … … 8998 8850 8999 8851 # A symbol stripping program 9000 STRIP=$ lt_STRIP8852 STRIP=$STRIP 9001 8853 9002 8854 # Used to examine libraries when file_magic_cmd begins "file" … … 9029 8881 9030 8882 # Shared library suffix (normally ".so"). 9031 shrext _cmds='$shrext_cmds'8883 shrext='$shrext' 9032 8884 9033 8885 # Executable file suffix (normally ""). … … 9271 9123 # `config.status --recheck' to rerun these tests and create the 9272 9124 # libtool script then. 9273 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 9274 if test -f "$ltmain_in"; then 9275 test -f Makefile && make "$ltmain" 9276 fi 9125 test -f Makefile && make "$ltmain" 9277 9126 fi 9278 9127 … … 9455 9304 [\\/]* | ?:[\\/]*) 9456 9305 re_direlt='/[^/][^/]*/\.\./' 9457 # Canonicalize the path nameof ld9306 # Canonicalize the path of ld 9458 9307 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` 9459 9308 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do … … 9524 9373 else 9525 9374 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 9526 case ` $LD-v 2>&1 </dev/null` in9375 case `"$LD" -v 2>&1 </dev/null` in 9527 9376 *GNU* | *'with BFD'*) 9528 9377 lt_cv_prog_gnu_ld=yes … … 9569 9418 # overridden to take advantage of the native linker features on 9570 9419 # the platform it is being used on. 9571 archive_cmds_CXX='$CC -shared -nostdlib$predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'9420 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 9572 9421 fi 9573 9422 … … 9781 9630 archive_cmds_need_lc_CXX=yes 9782 9631 # This is similar to how AIX traditionally builds it's shared libraries. 9783 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'9632 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}\${_S_}$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 9784 9633 fi 9785 9634 fi … … 9811 9660 echo EXPORTS > $output_objdir/$soname.def; 9812 9661 cat $export_symbols >> $output_objdir/$soname.def; 9813 fi ~9662 fi${_S_} 9814 9663 $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' 9815 9664 else … … 9819 9668 9820 9669 darwin* | rhapsody*) 9821 if test "$GXX" = yes; then9670 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 9822 9671 archive_cmds_need_lc_CXX=no 9823 9672 case "$host_os" in … … 9825 9674 allow_undefined_flag_CXX='-undefined suppress' 9826 9675 ;; 9827 *) # Darwin 1.3 on 9828 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 9829 allow_undefined_flag_CXX='-flat_namespace -undefined suppress' 9676 darwin1.* | darwin[2-6].*) # Darwin 1.3 on, but less than 7.0 9677 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress' 9678 ;; 9679 *) # Darwin 7.0 on 9680 case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in 9681 10.[012]) 9682 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress' 9683 ;; 9684 *) # 10.3 on 9685 if test -z ${LD_TWOLEVEL_NAMESPACE}; then 9686 allow_undefined_flag_CXX='-flat_namespace -undefined suppress' 9687 else 9688 allow_undefined_flag_CXX='-undefined dynamic_lookup' 9689 fi 9690 ;; 9691 esac 9692 ;; 9693 esac 9694 lt_int_apple_cc_single_mod=no 9695 output_verbose_link_cmd='echo' 9696 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then 9697 lt_int_apple_cc_single_mod=yes 9698 fi 9699 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 9700 archive_cmds_CXX='$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 9701 else 9702 archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 9703 fi 9704 module_cmds_CXX='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 9705 9706 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 9707 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 9708 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 9830 9709 else 9831 case ${MACOSX_DEPLOYMENT_TARGET} in 9832 10.[012]) 9833 allow_undefined_flag_CXX='-flat_namespace -undefined suppress' 9834 ;; 9835 10.*) 9836 allow_undefined_flag_CXX='-undefined dynamic_lookup' 9837 ;; 9838 esac 9710 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 9839 9711 fi 9840 ;; 9841 esac 9842 lt_int_apple_cc_single_mod=no 9843 output_verbose_link_cmd='echo' 9844 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then 9845 lt_int_apple_cc_single_mod=yes 9846 fi 9847 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 9848 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 9849 else 9850 archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 9851 fi 9852 module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 9853 9854 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 9855 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 9856 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}' 9857 else 9858 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 9859 fi 9860 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}' 9712 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 9861 9713 hardcode_direct_CXX=no 9862 9714 hardcode_automatic_CXX=yes … … 9864 9716 whole_archive_flag_spec_CXX='-all_load $convenience' 9865 9717 link_all_deplibs_CXX=yes 9866 else 9867 ld_shlibs_CXX=no 9868 fi 9718 fi 9869 9719 ;; 9870 9720 … … 9893 9743 archive_cmds_need_lc_CXX=no 9894 9744 ;; 9895 freebsd* | kfreebsd*-gnu)9745 freebsd*) 9896 9746 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 9897 9747 # conventions … … 9915 9765 ;; 9916 9766 aCC) 9917 archive_cmds_CXX='$rm $output_objdir/$soname ~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'9767 archive_cmds_CXX='$rm $output_objdir/$soname${_S_}$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9918 9768 # Commands to make compiler produce verbose output that lists 9919 9769 # what "hidden" libraries, object files and flags are used when … … 9924 9774 # from the output so that they don't get included in the library 9925 9775 # dependencies. 9926 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'9776 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 9927 9777 ;; 9928 9778 *) 9929 9779 if test "$GXX" = yes; then 9930 archive_cmds_CXX='$rm $output_objdir/$soname ~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'9780 archive_cmds_CXX='$rm $output_objdir/$soname${_S_}$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9931 9781 else 9932 9782 # FIXME: insert proper C++ library support … … 10217 10067 allow_undefined_flag_CXX=' -expect_unresolved \*' 10218 10068 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' 10219 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done ~10220 echo "-hidden">> $lib.exp ~10221 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib ~10069 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done${_S_} 10070 echo "-hidden">> $lib.exp${_S_} 10071 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib${_S_} 10222 10072 $rm $lib.exp' 10223 10073 … … 10296 10146 no_undefined_flag_CXX=' -zdefs' 10297 10147 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 10298 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~10299 $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'10148 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 10149 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}$rm $lib.exp' 10300 10150 10301 10151 hardcode_libdir_flag_spec_CXX='-R$libdir' … … 10342 10192 if $CC --version | grep -v '^2\.7' > /dev/null; then 10343 10193 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 10344 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~10345 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ~$rm $lib.exp'10194 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 10195 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}$rm $lib.exp' 10346 10196 10347 10197 # Commands to make compiler produce verbose output that lists … … 10353 10203 # platform. 10354 10204 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 10355 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~10356 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ~$rm $lib.exp'10205 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 10206 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}$rm $lib.exp' 10357 10207 10358 10208 # Commands to make compiler produce verbose output that lists … … 10600 10450 esac 10601 10451 ;; 10602 freebsd* | kfreebsd*-gnu)10452 freebsd*) 10603 10453 # FreeBSD uses GNU C++ 10604 10454 ;; … … 10768 10618 # 10769 10619 if test -n "$lt_prog_compiler_pic_CXX"; then 10770 10771 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 10620 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 10772 10621 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 10773 10622 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then … … 10787 10636 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10788 10637 -e 's:$: $lt_compiler_flag:'` 10789 (eval echo "\"\$as_me:10 789: $lt_compile\"" >&5)10638 (eval echo "\"\$as_me:10638: $lt_compile\"" >&5) 10790 10639 (eval "$lt_compile" 2>conftest.err) 10791 10640 ac_status=$? 10792 10641 cat conftest.err >&5 10793 echo "$as_me:10 793: \$? = $ac_status" >&510642 echo "$as_me:10642: \$? = $ac_status" >&5 10794 10643 if (exit $ac_status) && test -s "$ac_outfile"; then 10795 10644 # The compiler can only warn and ignore the option if not recognized … … 10838 10687 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 10839 10688 10689 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers 10690 # that will create temporary files in the current directory regardless of 10691 # the output directory. Thus, making CWD read-only will cause this test 10692 # to fail, enabling locking or at least warning the user not to do parallel 10693 # builds. 10694 chmod -w . 10695 10840 10696 lt_compiler_flag="-o out/conftest2.$ac_objext" 10841 10697 # Insert the option either (1) after the last *FLAGS variable, or … … 10847 10703 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10848 10704 -e 's:$: $lt_compiler_flag:'` 10849 (eval echo "\"\$as_me:10 849: $lt_compile\"" >&5)10705 (eval echo "\"\$as_me:10705: $lt_compile\"" >&5) 10850 10706 (eval "$lt_compile" 2>out/conftest.err) 10851 10707 ac_status=$? 10852 10708 cat out/conftest.err >&5 10853 echo "$as_me:10 853: \$? = $ac_status" >&510709 echo "$as_me:10709: \$? = $ac_status" >&5 10854 10710 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10855 10711 then … … 10861 10717 fi 10862 10718 chmod u+w . 10863 $rm conftest* 10864 # SGI C++ compiler will create directory out/ii_files/ for 10865 # template instantiation 10866 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 10867 $rm out/* && rmdir out 10719 $rm conftest* out/* 10720 rmdir out 10868 10721 cd .. 10869 10722 rmdir conftest … … 10941 10794 if test "$enable_shared" = yes && test "$GCC" = yes; then 10942 10795 case $archive_cmds_CXX in 10943 * '~'*)10796 *"$_S_"*) 10944 10797 # FIXME: we may have to deal with multi-command sequences. 10945 10798 ;; … … 10993 10846 esac 10994 10847 10848 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 10849 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 10850 hardcode_action_CXX= 10851 if test -n "$hardcode_libdir_flag_spec_CXX" || \ 10852 test -n "$runpath_var CXX" || \ 10853 test "X$hardcode_automatic_CXX"="Xyes" ; then 10854 10855 # We can hardcode non-existant directories. 10856 if test "$hardcode_direct_CXX" != no && 10857 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10858 # have to relink, otherwise we might link with an installed library 10859 # when we should be linking with a yet-to-be-installed one 10860 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 10861 test "$hardcode_minus_L_CXX" != no; then 10862 # Linking always hardcodes the temporary library directory. 10863 hardcode_action_CXX=relink 10864 else 10865 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10866 hardcode_action_CXX=immediate 10867 fi 10868 else 10869 # We cannot hardcode anything, or else we can only hardcode existing 10870 # directories. 10871 hardcode_action_CXX=unsupported 10872 fi 10873 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 10874 echo "${ECHO_T}$hardcode_action_CXX" >&6 10875 10876 if test "$hardcode_action_CXX" = relink; then 10877 # Fast installation is not supported 10878 enable_fast_install=no 10879 elif test "$shlibpath_overrides_runpath" = yes || 10880 test "$enable_shared" = no; then 10881 # Fast installation is not necessary 10882 enable_fast_install=needless 10883 fi 10884 10885 striplib= 10886 old_striplib= 10887 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 10888 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 10889 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 10890 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 10891 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 10892 echo "$as_me:$LINENO: result: yes" >&5 10893 echo "${ECHO_T}yes" >&6 10894 else 10895 # FIXME - insert some real tests, host_os isn't really good enough 10896 case $host_os in 10897 NOT-darwin*) 10898 if test -n "$STRIP" ; then 10899 striplib="$STRIP -x" 10900 echo "$as_me:$LINENO: result: yes" >&5 10901 echo "${ECHO_T}yes" >&6 10902 else 10903 echo "$as_me:$LINENO: result: no" >&5 10904 echo "${ECHO_T}no" >&6 10905 fi 10906 ;; 10907 *) 10908 echo "$as_me:$LINENO: result: no" >&5 10909 echo "${ECHO_T}no" >&6 10910 ;; 10911 esac 10912 fi 10913 10995 10914 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 10996 10915 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 … … 10998 10917 libname_spec='lib$name' 10999 10918 soname_spec= 11000 shrext _cmds=".so"10919 shrext=".so" 11001 10920 postinstall_cmds= 11002 10921 postuninstall_cmds= … … 11086 11005 library_names_spec='$libname.ixlibrary $libname.a' 11087 11006 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11088 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show " cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a|| exit 1; done'11007 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' 11089 11008 ;; 11090 11009 … … 11111 11030 cygwin* | mingw* | pw32*) 11112 11031 version_type=windows 11113 shrext _cmds=".dll"11032 shrext=".dll" 11114 11033 need_version=no 11115 11034 need_lib_prefix=no … … 11119 11038 library_names_spec='$libname.dll.a' 11120 11039 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11121 postinstall_cmds='base_file=`basename \${file}` ~11122 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''` ~11123 dldir=$destdir/`dirname \$dlpath` ~11124 test -d \$dldir || mkdir -p \$dldir ~11040 postinstall_cmds='base_file=`basename \${file}`${_S_} 11041 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`${_S_} 11042 dldir=$destdir/`dirname \$dlpath`${_S_} 11043 test -d \$dldir || mkdir -p \$dldir${_S_} 11125 11044 $install_prog $dir/$dlname \$dldir/$dlname' 11126 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''` ~11127 dlpath=$dir/\$dldll ~11045 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`${_S_} 11046 dlpath=$dir/\$dldll${_S_} 11128 11047 $rm \$dlpath' 11129 11048 shlibpath_overrides_runpath=yes … … 11133 11052 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11134 11053 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11135 sys_lib_search_path_spec="/ usr/lib /lib/w32api/lib /usr/local/lib"11054 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" 11136 11055 ;; 11137 11056 mingw*) … … 11172 11091 need_lib_prefix=no 11173 11092 need_version=no 11174 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 11093 # FIXME: Relying on posixy $() will cause problems for 11094 # cross-compilation, but unfortunately the echo tests do not 11095 # yet detect zsh echo's removal of \ escapes. 11096 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext' 11175 11097 soname_spec='${libname}${release}${major}$shared_ext' 11176 11098 shlibpath_overrides_runpath=yes 11177 11099 shlibpath_var=DYLD_LIBRARY_PATH 11178 shrext _cmds='$(test .$module = .yes && echo .so || echo .dylib)'11100 shrext='$(test .$module = .yes && echo .so || echo .dylib)' 11179 11101 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 11180 if test "$GCC" = yes; then 11181 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"` 11182 else 11183 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 11102 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 11103 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"` 11184 11104 fi 11185 11105 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 11197 11117 freebsd1*) 11198 11118 dynamic_linker=no 11199 ;;11200 11201 kfreebsd*-gnu)11202 version_type=linux11203 need_lib_prefix=no11204 need_version=no11205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'11206 soname_spec='${libname}${release}${shared_ext}$major'11207 shlibpath_var=LD_LIBRARY_PATH11208 shlibpath_overrides_runpath=no11209 hardcode_into_libs=yes11210 dynamic_linker='GNU ld.so'11211 11119 ;; 11212 11120 … … 11259 11167 case "$host_cpu" in 11260 11168 ia64*) 11261 shrext _cmds='.so'11169 shrext='.so' 11262 11170 hardcode_into_libs=yes 11263 11171 dynamic_linker="$host_os dld.so" … … 11274 11182 ;; 11275 11183 hppa*64*) 11276 shrext _cmds='.sl'11184 shrext='.sl' 11277 11185 hardcode_into_libs=yes 11278 11186 dynamic_linker="$host_os dld.sl" … … 11285 11193 ;; 11286 11194 *) 11287 shrext _cmds='.sl'11195 shrext='.sl' 11288 11196 dynamic_linker="$host_os dld.sl" 11289 11197 shlibpath_var=SHLIB_PATH … … 11354 11262 hardcode_into_libs=yes 11355 11263 11356 # find out which ABI we are using11357 libsuff=11358 case "$host_cpu" in11359 x86_64*|s390x*|powerpc64*)11360 echo '#line 11360 "configure"' > conftest.$ac_ext11361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&511362 (eval $ac_compile) 2>&511363 ac_status=$?11364 echo "$as_me:$LINENO: \$? = $ac_status" >&511365 (exit $ac_status); }; then11366 case `/usr/bin/file conftest.$ac_objext` in11367 *64-bit*)11368 libsuff=6411369 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"11370 ;;11371 esac11372 fi11373 rm -rf conftest*11374 ;;11375 esac11376 11377 # Append ld.so.conf contents to the search path11378 if test -f /etc/ld.so.conf; then11379 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`11380 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"11381 fi11382 11383 11264 # We used to test for /lib/ld.so.1 and disable shared libraries on 11384 11265 # powerpc, because MkLinux only supported shared libraries with the … … 11388 11269 # assume the GNU/Linux dynamic linker is in use. 11389 11270 dynamic_linker='GNU/Linux ld.so' 11390 ;;11391 11392 knetbsd*-gnu)11393 version_type=linux11394 need_lib_prefix=no11395 need_version=no11396 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'11397 soname_spec='${libname}${release}${shared_ext}$major'11398 shlibpath_var=LD_LIBRARY_PATH11399 shlibpath_overrides_runpath=no11400 hardcode_into_libs=yes11401 dynamic_linker='GNU ld.so'11402 11271 ;; 11403 11272 … … 11411 11280 dynamic_linker='NetBSD (a.out) ld.so' 11412 11281 else 11413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ shared_ext}'11282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' 11414 11283 soname_spec='${libname}${release}${shared_ext}$major' 11415 11284 dynamic_linker='NetBSD ld.elf_so' … … 11427 11296 ;; 11428 11297 11429 nto-qnx *)11298 nto-qnx) 11430 11299 version_type=linux 11431 11300 need_lib_prefix=no … … 11440 11309 version_type=sunos 11441 11310 need_lib_prefix=no 11442 need_version= yes11311 need_version=no 11443 11312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11444 11313 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 11460 11329 os2*) 11461 11330 libname_spec='$name' 11462 shrext _cmds=".dll"11331 shrext=".dll" 11463 11332 need_lib_prefix=no 11464 11333 library_names_spec='$libname${shared_ext} $libname.a' … … 11557 11426 echo "${ECHO_T}$dynamic_linker" >&6 11558 11427 test "$dynamic_linker" = no && can_build_shared=no 11559 11560 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&511561 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&611562 hardcode_action_CXX=11563 if test -n "$hardcode_libdir_flag_spec_CXX" || \11564 test -n "$runpath_var CXX" || \11565 test "X$hardcode_automatic_CXX"="Xyes" ; then11566 11567 # We can hardcode non-existant directories.11568 if test "$hardcode_direct_CXX" != no &&11569 # If the only mechanism to avoid hardcoding is shlibpath_var, we11570 # have to relink, otherwise we might link with an installed library11571 # when we should be linking with a yet-to-be-installed one11572 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&11573 test "$hardcode_minus_L_CXX" != no; then11574 # Linking always hardcodes the temporary library directory.11575 hardcode_action_CXX=relink11576 else11577 # We can link without hardcoding, and we can hardcode nonexisting dirs.11578 hardcode_action_CXX=immediate11579 fi11580 else11581 # We cannot hardcode anything, or else we can only hardcode existing11582 # directories.11583 hardcode_action_CXX=unsupported11584 fi11585 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&511586 echo "${ECHO_T}$hardcode_action_CXX" >&611587 11588 if test "$hardcode_action_CXX" = relink; then11589 # Fast installation is not supported11590 enable_fast_install=no11591 elif test "$shlibpath_overrides_runpath" = yes ||11592 test "$enable_shared" = no; then11593 # Fast installation is not necessary11594 enable_fast_install=needless11595 fi11596 11597 striplib=11598 old_striplib=11599 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&511600 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&611601 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then11602 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"11603 test -z "$striplib" && striplib="$STRIP --strip-unneeded"11604 echo "$as_me:$LINENO: result: yes" >&511605 echo "${ECHO_T}yes" >&611606 else11607 # FIXME - insert some real tests, host_os isn't really good enough11608 case $host_os in11609 darwin*)11610 if test -n "$STRIP" ; then11611 striplib="$STRIP -x"11612 echo "$as_me:$LINENO: result: yes" >&511613 echo "${ECHO_T}yes" >&611614 else11615 echo "$as_me:$LINENO: result: no" >&511616 echo "${ECHO_T}no" >&611617 fi11618 ;;11619 *)11620 echo "$as_me:$LINENO: result: no" >&511621 echo "${ECHO_T}no" >&611622 ;;11623 esac11624 fi11625 11428 11626 11429 if test "x$enable_dlopen" != xyes; then … … 12143 11946 lt_status=$lt_dlunknown 12144 11947 cat > conftest.$ac_ext <<EOF 12145 #line 1 2145"configure"11948 #line 11948 "configure" 12146 11949 #include "confdefs.h" 12147 11950 … … 12241 12044 lt_status=$lt_dlunknown 12242 12045 cat > conftest.$ac_ext <<EOF 12243 #line 12 243"configure"12046 #line 12046 "configure" 12244 12047 #include "confdefs.h" 12245 12048 … … 12358 12161 # careful not to overquote the AC_SUBSTed values. We take copies of the 12359 12162 # variables and quote the copies for generation of the libtool script. 12360 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 12361 SED SHELL STRIP \ 12163 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 12362 12164 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 12363 12165 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 12417 12219 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 12418 12220 # Double-quote double-evaled strings. 12419 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" \`\\\""12221 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\"" 12420 12222 ;; 12421 12223 *) … … 12438 12240 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 12439 12241 12242 # Set the command separator (default: ~) 12243 _S_=\${LIBTOOL_CMD_SEP-\~} 12244 12440 12245 # Shell to use when invoking shell scripts. 12441 12246 SHELL=$lt_SHELL … … 12489 12294 12490 12295 # A symbol stripping program 12491 STRIP=$ lt_STRIP12296 STRIP=$STRIP 12492 12297 12493 12298 # Used to examine libraries when file_magic_cmd begins "file" … … 12520 12325 12521 12326 # Shared library suffix (normally ".so"). 12522 shrext _cmds='$shrext_cmds'12327 shrext='$shrext' 12523 12328 12524 12329 # Executable file suffix (normally ""). … … 12737 12542 # `config.status --recheck' to rerun these tests and create the 12738 12543 # libtool script then. 12739 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 12740 if test -f "$ltmain_in"; then 12741 test -f Makefile && make "$ltmain" 12742 fi 12544 test -f Makefile && make "$ltmain" 12743 12545 fi 12744 12546 … … 12838 12640 test "$enable_shared" = yes && enable_static=no 12839 12641 if test -n "$RANLIB"; then 12840 archive_cmds="$archive_cmds ~\$RANLIB \$lib"12642 archive_cmds="$archive_cmds\${_S_}\$RANLIB \$lib" 12841 12643 postinstall_cmds='$RANLIB $lib' 12842 12644 fi 12843 12645 ;; 12844 aix4* | aix5*)12646 aix4*) 12845 12647 test "$enable_shared" = yes && enable_static=no 12846 12648 ;; … … 12982 12784 linux*) 12983 12785 case $CC in 12984 icc * | ecc*)12786 icc|ecc) 12985 12787 lt_prog_compiler_wl_F77='-Wl,' 12986 12788 lt_prog_compiler_pic_F77='-KPIC' 12987 12789 lt_prog_compiler_static_F77='-static' 12988 12790 ;; 12989 ccc *)12791 ccc) 12990 12792 lt_prog_compiler_wl_F77='-Wl,' 12991 12793 # All Alpha code is PIC. … … 13049 12851 # 13050 12852 if test -n "$lt_prog_compiler_pic_F77"; then 13051 13052 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 12853 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 13053 12854 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 13054 12855 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then … … 13068 12869 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13069 12870 -e 's:$: $lt_compiler_flag:'` 13070 (eval echo "\"\$as_me:1 3070: $lt_compile\"" >&5)12871 (eval echo "\"\$as_me:12871: $lt_compile\"" >&5) 13071 12872 (eval "$lt_compile" 2>conftest.err) 13072 12873 ac_status=$? 13073 12874 cat conftest.err >&5 13074 echo "$as_me:1 3074: \$? = $ac_status" >&512875 echo "$as_me:12875: \$? = $ac_status" >&5 13075 12876 if (exit $ac_status) && test -s "$ac_outfile"; then 13076 12877 # The compiler can only warn and ignore the option if not recognized … … 13119 12920 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 13120 12921 12922 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers 12923 # that will create temporary files in the current directory regardless of 12924 # the output directory. Thus, making CWD read-only will cause this test 12925 # to fail, enabling locking or at least warning the user not to do parallel 12926 # builds. 12927 chmod -w . 12928 13121 12929 lt_compiler_flag="-o out/conftest2.$ac_objext" 13122 12930 # Insert the option either (1) after the last *FLAGS variable, or … … 13128 12936 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13129 12937 -e 's:$: $lt_compiler_flag:'` 13130 (eval echo "\"\$as_me:1 3130: $lt_compile\"" >&5)12938 (eval echo "\"\$as_me:12938: $lt_compile\"" >&5) 13131 12939 (eval "$lt_compile" 2>out/conftest.err) 13132 12940 ac_status=$? 13133 12941 cat out/conftest.err >&5 13134 echo "$as_me:1 3134: \$? = $ac_status" >&512942 echo "$as_me:12942: \$? = $ac_status" >&5 13135 12943 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13136 12944 then … … 13142 12950 fi 13143 12951 chmod u+w . 13144 $rm conftest* 13145 # SGI C++ compiler will create directory out/ii_files/ for 13146 # template instantiation 13147 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 13148 $rm out/* && rmdir out 12952 $rm conftest* out/* 12953 rmdir out 13149 12954 cd .. 13150 12955 rmdir conftest … … 13256 13061 13257 13062 amigaos*) 13258 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)'13063 archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)' 13259 13064 hardcode_libdir_flag_spec_F77='-L$libdir' 13260 13065 hardcode_minus_L_F77=yes … … 13298 13103 echo EXPORTS > $output_objdir/$soname.def; 13299 13104 cat $export_symbols >> $output_objdir/$soname.def; 13300 fi ~13105 fi${_S_} 13301 13106 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' 13302 13107 else … … 13342 13147 hardcode_shlibpath_var_F77=no 13343 13148 ;; 13344 13345 linux*)13346 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then13347 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'13348 archive_cmds_F77="$tmp_archive_cmds"13349 supports_anon_versioning=no13350 case `$LD -v 2>/dev/null` in13351 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.1113352 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...13353 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...13354 *\ 2.11.*) ;; # other 2.11 versions13355 *) supports_anon_versioning=yes ;;13356 esac13357 if test $supports_anon_versioning = yes; then13358 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~13359 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~13360 $echo "local: *; };" >> $output_objdir/$libname.ver~13361 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'13362 else13363 archive_expsym_cmds_F77="$tmp_archive_cmds"13364 fi13365 else13366 ld_shlibs_F77=no13367 fi13368 ;;13369 13149 13370 13150 *) … … 13395 13175 allow_undefined_flag_F77=unsupported 13396 13176 always_export_symbols_F77=yes 13397 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'13177 archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE${_S_}$AR $AR_FLAGS $lib $output_objdir/$soname' 13398 13178 # Note: this linker hardcodes the directories in LIBPATH if there 13399 13179 # are no directories specified by -L. … … 13577 13357 archive_cmds_need_lc_F77=yes 13578 13358 # This is similar to how AIX traditionally builds it's shared libraries. 13579 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'13359 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}\${_S_}$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 13580 13360 fi 13581 13361 fi … … 13583 13363 13584 13364 amigaos*) 13585 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)'13365 archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)' 13586 13366 hardcode_libdir_flag_spec_F77='-L$libdir' 13587 13367 hardcode_minus_L_F77=yes … … 13604 13384 libext=lib 13605 13385 # Tell ltmain to make .dll files, not .so files. 13606 shrext _cmds=".dll"13386 shrext=".dll" 13607 13387 # FIXME: Setting linknames here is a bad hack. 13608 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll ~linknames='13388 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames=' 13609 13389 # The linker will automatically build a .lib file if we build a DLL. 13610 13390 old_archive_From_new_cmds_F77='true' … … 13616 13396 13617 13397 darwin* | rhapsody*) 13618 if test "$GXX" = yes; then13398 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 13619 13399 archive_cmds_need_lc_F77=no 13620 13400 case "$host_os" in … … 13622 13402 allow_undefined_flag_F77='-undefined suppress' 13623 13403 ;; 13624 *) # Darwin 1.3 on 13625 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 13626 allow_undefined_flag_F77='-flat_namespace -undefined suppress' 13627 else 13628 case ${MACOSX_DEPLOYMENT_TARGET} in 13629 10.[012]) 13630 allow_undefined_flag_F77='-flat_namespace -undefined suppress' 13631 ;; 13632 10.*) 13633 allow_undefined_flag_F77='-undefined dynamic_lookup' 13634 ;; 13635 esac 13636 fi 13404 darwin1.* | darwin[2-6].*) # Darwin 1.3 on, but less than 7.0 13405 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress' 13406 ;; 13407 *) # Darwin 7.0 on 13408 case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in 13409 10.[012]) 13410 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress' 13411 ;; 13412 *) # 10.3 on 13413 if test -z ${LD_TWOLEVEL_NAMESPACE}; then 13414 allow_undefined_flag_F77='-flat_namespace -undefined suppress' 13415 else 13416 allow_undefined_flag_F77='-undefined dynamic_lookup' 13417 fi 13418 ;; 13419 esac 13637 13420 ;; 13638 13421 esac 13422 # FIXME: Relying on posixy $() will cause problems for 13423 # cross-compilation, but unfortunately the echo tests do not 13424 # yet detect zsh echo's removal of \ escapes. Also zsh mangles 13425 # `"' quotes if we put them in here... so don't! 13639 13426 lt_int_apple_cc_single_mod=no 13640 13427 output_verbose_link_cmd='echo' … … 13643 13430 fi 13644 13431 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 13645 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'13432 archive_cmds_F77='$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 13646 13433 else 13647 archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs ~$CC -dynamiclib$allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'13434 archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 13648 13435 fi 13649 module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle$libobjs $deplibs$compiler_flags'13436 module_cmds_F77='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 13650 13437 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 13651 13438 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 13652 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym ~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'13439 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 13653 13440 else 13654 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym ~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'13441 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 13655 13442 fi 13656 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}'13443 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 13657 13444 hardcode_direct_F77=no 13658 13445 hardcode_automatic_F77=yes … … 13660 13447 whole_archive_flag_spec_F77='-all_load $convenience' 13661 13448 link_all_deplibs_F77=yes 13662 else13663 ld_shlibs_F77=no13664 13449 fi 13665 13450 ;; … … 13695 13480 13696 13481 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 13697 freebsd* | kfreebsd*-gnu)13482 freebsd*) 13698 13483 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 13699 13484 hardcode_libdir_flag_spec_F77='-R$libdir' … … 13704 13489 hpux9*) 13705 13490 if test "$GCC" = yes; then 13706 archive_cmds_F77='$rm $output_objdir/$soname ~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'13491 archive_cmds_F77='$rm $output_objdir/$soname${_S_}$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 13707 13492 else 13708 archive_cmds_F77='$rm $output_objdir/$soname ~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'13493 archive_cmds_F77='$rm $output_objdir/$soname${_S_}$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 13709 13494 fi 13710 13495 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' … … 13826 13611 hardcode_minus_L_F77=yes 13827 13612 allow_undefined_flag_F77=unsupported 13828 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'13613 archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def${_S_}$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def${_S_}$echo DATA >> $output_objdir/$libname.def${_S_}$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def${_S_}$echo EXPORTS >> $output_objdir/$libname.def${_S_}emxexp $libobjs >> $output_objdir/$libname.def${_S_}$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 13829 13614 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 13830 13615 ;; … … 13850 13635 allow_undefined_flag_F77=' -expect_unresolved \*' 13851 13636 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 13852 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp ~13853 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib ~$rm $lib.exp'13637 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp${_S_} 13638 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib${_S_}$rm $lib.exp' 13854 13639 13855 13640 # Both c and cxx compiler support -rpath directly … … 13871 13656 if test "$GCC" = yes; then 13872 13657 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 13873 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~13874 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags ~$rm $lib.exp'13658 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 13659 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags${_S_}$rm $lib.exp' 13875 13660 else 13876 13661 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 13877 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~13878 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags ~$rm $lib.exp'13662 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 13663 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp' 13879 13664 fi 13880 13665 hardcode_libdir_flag_spec_F77='-R$libdir' … … 13965 13750 # object files and a static libstdc++, better avoid it by now 13966 13751 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 13967 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~13968 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags ~$rm $lib.exp'13752 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 13753 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp' 13969 13754 hardcode_libdir_flag_spec_F77= 13970 13755 hardcode_shlibpath_var_F77=no … … 14003 13788 if test "$enable_shared" = yes && test "$GCC" = yes; then 14004 13789 case $archive_cmds_F77 in 14005 * '~'*)13790 *"$_S_"*) 14006 13791 # FIXME: we may have to deal with multi-command sequences. 14007 13792 ;; … … 14055 13840 esac 14056 13841 13842 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 13843 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 13844 hardcode_action_F77= 13845 if test -n "$hardcode_libdir_flag_spec_F77" || \ 13846 test -n "$runpath_var F77" || \ 13847 test "X$hardcode_automatic_F77"="Xyes" ; then 13848 13849 # We can hardcode non-existant directories. 13850 if test "$hardcode_direct_F77" != no && 13851 # If the only mechanism to avoid hardcoding is shlibpath_var, we 13852 # have to relink, otherwise we might link with an installed library 13853 # when we should be linking with a yet-to-be-installed one 13854 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && 13855 test "$hardcode_minus_L_F77" != no; then 13856 # Linking always hardcodes the temporary library directory. 13857 hardcode_action_F77=relink 13858 else 13859 # We can link without hardcoding, and we can hardcode nonexisting dirs. 13860 hardcode_action_F77=immediate 13861 fi 13862 else 13863 # We cannot hardcode anything, or else we can only hardcode existing 13864 # directories. 13865 hardcode_action_F77=unsupported 13866 fi 13867 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 13868 echo "${ECHO_T}$hardcode_action_F77" >&6 13869 13870 if test "$hardcode_action_F77" = relink; then 13871 # Fast installation is not supported 13872 enable_fast_install=no 13873 elif test "$shlibpath_overrides_runpath" = yes || 13874 test "$enable_shared" = no; then 13875 # Fast installation is not necessary 13876 enable_fast_install=needless 13877 fi 13878 13879 striplib= 13880 old_striplib= 13881 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 13882 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 13883 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 13884 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13885 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13886 echo "$as_me:$LINENO: result: yes" >&5 13887 echo "${ECHO_T}yes" >&6 13888 else 13889 # FIXME - insert some real tests, host_os isn't really good enough 13890 case $host_os in 13891 NOT-darwin*) 13892 if test -n "$STRIP" ; then 13893 striplib="$STRIP -x" 13894 echo "$as_me:$LINENO: result: yes" >&5 13895 echo "${ECHO_T}yes" >&6 13896 else 13897 echo "$as_me:$LINENO: result: no" >&5 13898 echo "${ECHO_T}no" >&6 13899 fi 13900 ;; 13901 *) 13902 echo "$as_me:$LINENO: result: no" >&5 13903 echo "${ECHO_T}no" >&6 13904 ;; 13905 esac 13906 fi 13907 14057 13908 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 14058 13909 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 … … 14060 13911 libname_spec='lib$name' 14061 13912 soname_spec= 14062 shrext _cmds=".so"13913 shrext=".so" 14063 13914 postinstall_cmds= 14064 13915 postuninstall_cmds= … … 14148 13999 library_names_spec='$libname.ixlibrary $libname.a' 14149 14000 # Create ${libname}_ixlibrary.a entries in /sys/libs. 14150 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show " cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a|| exit 1; done'14001 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' 14151 14002 ;; 14152 14003 … … 14173 14024 cygwin* | mingw* | pw32*) 14174 14025 version_type=windows 14175 shrext _cmds=".dll"14026 shrext=".dll" 14176 14027 need_version=no 14177 14028 need_lib_prefix=no … … 14181 14032 library_names_spec='$libname.dll.a' 14182 14033 # DLL is installed to $(libdir)/../bin by postinstall_cmds 14183 postinstall_cmds='base_file=`basename \${file}` ~14184 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''` ~14185 dldir=$destdir/`dirname \$dlpath` ~14186 test -d \$dldir || mkdir -p \$dldir ~14034 postinstall_cmds='base_file=`basename \${file}`${_S_} 14035 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`${_S_} 14036 dldir=$destdir/`dirname \$dlpath`${_S_} 14037 test -d \$dldir || mkdir -p \$dldir${_S_} 14187 14038 $install_prog $dir/$dlname \$dldir/$dlname' 14188 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''` ~14189 dlpath=$dir/\$dldll ~14039 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`${_S_} 14040 dlpath=$dir/\$dldll${_S_} 14190 14041 $rm \$dlpath' 14191 14042 shlibpath_overrides_runpath=yes … … 14195 14046 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 14196 14047 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14197 sys_lib_search_path_spec="/ usr/lib /lib/w32api/lib /usr/local/lib"14048 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" 14198 14049 ;; 14199 14050 mingw*) … … 14234 14085 need_lib_prefix=no 14235 14086 need_version=no 14236 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 14087 # FIXME: Relying on posixy $() will cause problems for 14088 # cross-compilation, but unfortunately the echo tests do not 14089 # yet detect zsh echo's removal of \ escapes. 14090 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext' 14237 14091 soname_spec='${libname}${release}${major}$shared_ext' 14238 14092 shlibpath_overrides_runpath=yes 14239 14093 shlibpath_var=DYLD_LIBRARY_PATH 14240 shrext _cmds='$(test .$module = .yes && echo .so || echo .dylib)'14094 shrext='$(test .$module = .yes && echo .so || echo .dylib)' 14241 14095 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 14242 if test "$GCC" = yes; then 14243 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"` 14244 else 14245 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 14096 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 14097 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"` 14246 14098 fi 14247 14099 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 14259 14111 freebsd1*) 14260 14112 dynamic_linker=no 14261 ;;14262 14263 kfreebsd*-gnu)14264 version_type=linux14265 need_lib_prefix=no14266 need_version=no14267 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'14268 soname_spec='${libname}${release}${shared_ext}$major'14269 shlibpath_var=LD_LIBRARY_PATH14270 shlibpath_overrides_runpath=no14271 hardcode_into_libs=yes14272 dynamic_linker='GNU ld.so'14273 14113 ;; 14274 14114 … … 14321 14161 case "$host_cpu" in 14322 14162 ia64*) 14323 shrext _cmds='.so'14163 shrext='.so' 14324 14164 hardcode_into_libs=yes 14325 14165 dynamic_linker="$host_os dld.so" … … 14336 14176 ;; 14337 14177 hppa*64*) 14338 shrext _cmds='.sl'14178 shrext='.sl' 14339 14179 hardcode_into_libs=yes 14340 14180 dynamic_linker="$host_os dld.sl" … … 14347 14187 ;; 14348 14188 *) 14349 shrext _cmds='.sl'14189 shrext='.sl' 14350 14190 dynamic_linker="$host_os dld.sl" 14351 14191 shlibpath_var=SHLIB_PATH … … 14416 14256 hardcode_into_libs=yes 14417 14257 14418 # find out which ABI we are using14419 libsuff=14420 case "$host_cpu" in14421 x86_64*|s390x*|powerpc64*)14422 echo '#line 14422 "configure"' > conftest.$ac_ext14423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&514424 (eval $ac_compile) 2>&514425 ac_status=$?14426 echo "$as_me:$LINENO: \$? = $ac_status" >&514427 (exit $ac_status); }; then14428 case `/usr/bin/file conftest.$ac_objext` in14429 *64-bit*)14430 libsuff=6414431 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"14432 ;;14433 esac14434 fi14435 rm -rf conftest*14436 ;;14437 esac14438 14439 # Append ld.so.conf contents to the search path14440 if test -f /etc/ld.so.conf; then14441 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`14442 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"14443 fi14444 14445 14258 # We used to test for /lib/ld.so.1 and disable shared libraries on 14446 14259 # powerpc, because MkLinux only supported shared libraries with the … … 14450 14263 # assume the GNU/Linux dynamic linker is in use. 14451 14264 dynamic_linker='GNU/Linux ld.so' 14452 ;;14453 14454 knetbsd*-gnu)14455 version_type=linux14456 need_lib_prefix=no14457 need_version=no14458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'14459 soname_spec='${libname}${release}${shared_ext}$major'14460 shlibpath_var=LD_LIBRARY_PATH14461 shlibpath_overrides_runpath=no14462 hardcode_into_libs=yes14463 dynamic_linker='GNU ld.so'14464 14265 ;; 14465 14266 … … 14473 14274 dynamic_linker='NetBSD (a.out) ld.so' 14474 14275 else 14475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ shared_ext}'14276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' 14476 14277 soname_spec='${libname}${release}${shared_ext}$major' 14477 14278 dynamic_linker='NetBSD ld.elf_so' … … 14489 14290 ;; 14490 14291 14491 nto-qnx *)14292 nto-qnx) 14492 14293 version_type=linux 14493 14294 need_lib_prefix=no … … 14502 14303 version_type=sunos 14503 14304 need_lib_prefix=no 14504 need_version= yes14305 need_version=no 14505 14306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 14506 14307 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 14522 14323 os2*) 14523 14324 libname_spec='$name' 14524 shrext _cmds=".dll"14325 shrext=".dll" 14525 14326 need_lib_prefix=no 14526 14327 library_names_spec='$libname${shared_ext} $libname.a' … … 14619 14420 echo "${ECHO_T}$dynamic_linker" >&6 14620 14421 test "$dynamic_linker" = no && can_build_shared=no 14621 14622 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&514623 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&614624 hardcode_action_F77=14625 if test -n "$hardcode_libdir_flag_spec_F77" || \14626 test -n "$runpath_var F77" || \14627 test "X$hardcode_automatic_F77"="Xyes" ; then14628 14629 # We can hardcode non-existant directories.14630 if test "$hardcode_direct_F77" != no &&14631 # If the only mechanism to avoid hardcoding is shlibpath_var, we14632 # have to relink, otherwise we might link with an installed library14633 # when we should be linking with a yet-to-be-installed one14634 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&14635 test "$hardcode_minus_L_F77" != no; then14636 # Linking always hardcodes the temporary library directory.14637 hardcode_action_F77=relink14638 else14639 # We can link without hardcoding, and we can hardcode nonexisting dirs.14640 hardcode_action_F77=immediate14641 fi14642 else14643 # We cannot hardcode anything, or else we can only hardcode existing14644 # directories.14645 hardcode_action_F77=unsupported14646 fi14647 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&514648 echo "${ECHO_T}$hardcode_action_F77" >&614649 14650 if test "$hardcode_action_F77" = relink; then14651 # Fast installation is not supported14652 enable_fast_install=no14653 elif test "$shlibpath_overrides_runpath" = yes ||14654 test "$enable_shared" = no; then14655 # Fast installation is not necessary14656 enable_fast_install=needless14657 fi14658 14659 striplib=14660 old_striplib=14661 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&514662 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&614663 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then14664 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"14665 test -z "$striplib" && striplib="$STRIP --strip-unneeded"14666 echo "$as_me:$LINENO: result: yes" >&514667 echo "${ECHO_T}yes" >&614668 else14669 # FIXME - insert some real tests, host_os isn't really good enough14670 case $host_os in14671 darwin*)14672 if test -n "$STRIP" ; then14673 striplib="$STRIP -x"14674 echo "$as_me:$LINENO: result: yes" >&514675 echo "${ECHO_T}yes" >&614676 else14677 echo "$as_me:$LINENO: result: no" >&514678 echo "${ECHO_T}no" >&614679 fi14680 ;;14681 *)14682 echo "$as_me:$LINENO: result: no" >&514683 echo "${ECHO_T}no" >&614684 ;;14685 esac14686 fi14687 14688 14422 14689 14423 … … 14701 14435 # careful not to overquote the AC_SUBSTed values. We take copies of the 14702 14436 # variables and quote the copies for generation of the libtool script. 14703 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 14704 SED SHELL STRIP \ 14437 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 14705 14438 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 14706 14439 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 14760 14493 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 14761 14494 # Double-quote double-evaled strings. 14762 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" \`\\\""14495 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\"" 14763 14496 ;; 14764 14497 *) … … 14781 14514 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14782 14515 14516 # Set the command separator (default: ~) 14517 _S_=\${LIBTOOL_CMD_SEP-\~} 14518 14783 14519 # Shell to use when invoking shell scripts. 14784 14520 SHELL=$lt_SHELL … … 14832 14568 14833 14569 # A symbol stripping program 14834 STRIP=$ lt_STRIP14570 STRIP=$STRIP 14835 14571 14836 14572 # Used to examine libraries when file_magic_cmd begins "file" … … 14863 14599 14864 14600 # Shared library suffix (normally ".so"). 14865 shrext _cmds='$shrext_cmds'14601 shrext='$shrext' 14866 14602 14867 14603 # Executable file suffix (normally ""). … … 15080 14816 # `config.status --recheck' to rerun these tests and create the 15081 14817 # libtool script then. 15082 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 15083 if test -f "$ltmain_in"; then 15084 test -f Makefile && make "$ltmain" 15085 fi 14818 test -f Makefile && make "$ltmain" 15086 14819 fi 15087 14820 … … 15142 14875 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' 15143 14876 15144 15145 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 14877 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 15146 14878 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 15147 14879 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then … … 15161 14893 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15162 14894 -e 's:$: $lt_compiler_flag:'` 15163 (eval echo "\"\$as_me:1 5163: $lt_compile\"" >&5)14895 (eval echo "\"\$as_me:14895: $lt_compile\"" >&5) 15164 14896 (eval "$lt_compile" 2>conftest.err) 15165 14897 ac_status=$? 15166 14898 cat conftest.err >&5 15167 echo "$as_me:1 5167: \$? = $ac_status" >&514899 echo "$as_me:14899: \$? = $ac_status" >&5 15168 14900 if (exit $ac_status) && test -s "$ac_outfile"; then 15169 14901 # The compiler can only warn and ignore the option if not recognized … … 15308 15040 linux*) 15309 15041 case $CC in 15310 icc * | ecc*)15042 icc|ecc) 15311 15043 lt_prog_compiler_wl_GCJ='-Wl,' 15312 15044 lt_prog_compiler_pic_GCJ='-KPIC' 15313 15045 lt_prog_compiler_static_GCJ='-static' 15314 15046 ;; 15315 ccc *)15047 ccc) 15316 15048 lt_prog_compiler_wl_GCJ='-Wl,' 15317 15049 # All Alpha code is PIC. … … 15375 15107 # 15376 15108 if test -n "$lt_prog_compiler_pic_GCJ"; then 15377 15378 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 15109 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 15379 15110 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 15380 15111 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then … … 15394 15125 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15395 15126 -e 's:$: $lt_compiler_flag:'` 15396 (eval echo "\"\$as_me:15 396: $lt_compile\"" >&5)15127 (eval echo "\"\$as_me:15127: $lt_compile\"" >&5) 15397 15128 (eval "$lt_compile" 2>conftest.err) 15398 15129 ac_status=$? 15399 15130 cat conftest.err >&5 15400 echo "$as_me:15 400: \$? = $ac_status" >&515131 echo "$as_me:15131: \$? = $ac_status" >&5 15401 15132 if (exit $ac_status) && test -s "$ac_outfile"; then 15402 15133 # The compiler can only warn and ignore the option if not recognized … … 15445 15176 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 15446 15177 15178 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers 15179 # that will create temporary files in the current directory regardless of 15180 # the output directory. Thus, making CWD read-only will cause this test 15181 # to fail, enabling locking or at least warning the user not to do parallel 15182 # builds. 15183 chmod -w . 15184 15447 15185 lt_compiler_flag="-o out/conftest2.$ac_objext" 15448 15186 # Insert the option either (1) after the last *FLAGS variable, or … … 15454 15192 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15455 15193 -e 's:$: $lt_compiler_flag:'` 15456 (eval echo "\"\$as_me:15 456: $lt_compile\"" >&5)15194 (eval echo "\"\$as_me:15194: $lt_compile\"" >&5) 15457 15195 (eval "$lt_compile" 2>out/conftest.err) 15458 15196 ac_status=$? 15459 15197 cat out/conftest.err >&5 15460 echo "$as_me:15 460: \$? = $ac_status" >&515198 echo "$as_me:15198: \$? = $ac_status" >&5 15461 15199 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15462 15200 then … … 15468 15206 fi 15469 15207 chmod u+w . 15470 $rm conftest* 15471 # SGI C++ compiler will create directory out/ii_files/ for 15472 # template instantiation 15473 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 15474 $rm out/* && rmdir out 15208 $rm conftest* out/* 15209 rmdir out 15475 15210 cd .. 15476 15211 rmdir conftest … … 15582 15317 15583 15318 amigaos*) 15584 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)'15319 archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)' 15585 15320 hardcode_libdir_flag_spec_GCJ='-L$libdir' 15586 15321 hardcode_minus_L_GCJ=yes … … 15624 15359 echo EXPORTS > $output_objdir/$soname.def; 15625 15360 cat $export_symbols >> $output_objdir/$soname.def; 15626 fi ~15361 fi${_S_} 15627 15362 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' 15628 15363 else … … 15668 15403 hardcode_shlibpath_var_GCJ=no 15669 15404 ;; 15670 15671 linux*)15672 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then15673 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'15674 archive_cmds_GCJ="$tmp_archive_cmds"15675 supports_anon_versioning=no15676 case `$LD -v 2>/dev/null` in15677 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.1115678 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...15679 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...15680 *\ 2.11.*) ;; # other 2.11 versions15681 *) supports_anon_versioning=yes ;;15682 esac15683 if test $supports_anon_versioning = yes; then15684 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~15685 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~15686 $echo "local: *; };" >> $output_objdir/$libname.ver~15687 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'15688 else15689 archive_expsym_cmds_GCJ="$tmp_archive_cmds"15690 fi15691 else15692 ld_shlibs_GCJ=no15693 fi15694 ;;15695 15405 15696 15406 *) … … 15721 15431 allow_undefined_flag_GCJ=unsupported 15722 15432 always_export_symbols_GCJ=yes 15723 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'15433 archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE${_S_}$AR $AR_FLAGS $lib $output_objdir/$soname' 15724 15434 # Note: this linker hardcodes the directories in LIBPATH if there 15725 15435 # are no directories specified by -L. … … 15925 15635 archive_cmds_need_lc_GCJ=yes 15926 15636 # This is similar to how AIX traditionally builds it's shared libraries. 15927 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'15637 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}\${_S_}$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 15928 15638 fi 15929 15639 fi … … 15931 15641 15932 15642 amigaos*) 15933 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)'15643 archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)' 15934 15644 hardcode_libdir_flag_spec_GCJ='-L$libdir' 15935 15645 hardcode_minus_L_GCJ=yes … … 15952 15662 libext=lib 15953 15663 # Tell ltmain to make .dll files, not .so files. 15954 shrext _cmds=".dll"15664 shrext=".dll" 15955 15665 # FIXME: Setting linknames here is a bad hack. 15956 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll ~linknames='15666 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames=' 15957 15667 # The linker will automatically build a .lib file if we build a DLL. 15958 15668 old_archive_From_new_cmds_GCJ='true' … … 15964 15674 15965 15675 darwin* | rhapsody*) 15966 if test "$GXX" = yes; then15676 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 15967 15677 archive_cmds_need_lc_GCJ=no 15968 15678 case "$host_os" in … … 15970 15680 allow_undefined_flag_GCJ='-undefined suppress' 15971 15681 ;; 15972 *) # Darwin 1.3 on 15973 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 15974 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' 15975 else 15976 case ${MACOSX_DEPLOYMENT_TARGET} in 15977 10.[012]) 15978 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' 15979 ;; 15980 10.*) 15981 allow_undefined_flag_GCJ='-undefined dynamic_lookup' 15982 ;; 15983 esac 15984 fi 15682 darwin1.* | darwin[2-6].*) # Darwin 1.3 on, but less than 7.0 15683 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' 15684 ;; 15685 *) # Darwin 7.0 on 15686 case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in 15687 10.[012]) 15688 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' 15689 ;; 15690 *) # 10.3 on 15691 if test -z ${LD_TWOLEVEL_NAMESPACE}; then 15692 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' 15693 else 15694 allow_undefined_flag_GCJ='-undefined dynamic_lookup' 15695 fi 15696 ;; 15697 esac 15985 15698 ;; 15986 15699 esac 15700 # FIXME: Relying on posixy $() will cause problems for 15701 # cross-compilation, but unfortunately the echo tests do not 15702 # yet detect zsh echo's removal of \ escapes. Also zsh mangles 15703 # `"' quotes if we put them in here... so don't! 15987 15704 lt_int_apple_cc_single_mod=no 15988 15705 output_verbose_link_cmd='echo' … … 15991 15708 fi 15992 15709 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 15993 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'15710 archive_cmds_GCJ='$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 15994 15711 else 15995 archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs ~$CC -dynamiclib$allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'15712 archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 15996 15713 fi 15997 module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle$libobjs $deplibs$compiler_flags'15714 module_cmds_GCJ='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 15998 15715 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 15999 15716 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 16000 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym ~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'15717 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 16001 15718 else 16002 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym ~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'15719 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 16003 15720 fi 16004 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}'15721 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 16005 15722 hardcode_direct_GCJ=no 16006 15723 hardcode_automatic_GCJ=yes … … 16008 15725 whole_archive_flag_spec_GCJ='-all_load $convenience' 16009 15726 link_all_deplibs_GCJ=yes 16010 else16011 ld_shlibs_GCJ=no16012 15727 fi 16013 15728 ;; … … 16043 15758 16044 15759 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 16045 freebsd* | kfreebsd*-gnu)15760 freebsd*) 16046 15761 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 16047 15762 hardcode_libdir_flag_spec_GCJ='-R$libdir' … … 16052 15767 hpux9*) 16053 15768 if test "$GCC" = yes; then 16054 archive_cmds_GCJ='$rm $output_objdir/$soname ~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'15769 archive_cmds_GCJ='$rm $output_objdir/$soname${_S_}$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 16055 15770 else 16056 archive_cmds_GCJ='$rm $output_objdir/$soname ~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'15771 archive_cmds_GCJ='$rm $output_objdir/$soname${_S_}$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 16057 15772 fi 16058 15773 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' … … 16174 15889 hardcode_minus_L_GCJ=yes 16175 15890 allow_undefined_flag_GCJ=unsupported 16176 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'15891 archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def${_S_}$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def${_S_}$echo DATA >> $output_objdir/$libname.def${_S_}$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def${_S_}$echo EXPORTS >> $output_objdir/$libname.def${_S_}emxexp $libobjs >> $output_objdir/$libname.def${_S_}$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 16177 15892 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 16178 15893 ;; … … 16198 15913 allow_undefined_flag_GCJ=' -expect_unresolved \*' 16199 15914 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 16200 archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp ~16201 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib ~$rm $lib.exp'15915 archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp${_S_} 15916 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib${_S_}$rm $lib.exp' 16202 15917 16203 15918 # Both c and cxx compiler support -rpath directly … … 16219 15934 if test "$GCC" = yes; then 16220 15935 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 16221 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~16222 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags ~$rm $lib.exp'15936 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 15937 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags${_S_}$rm $lib.exp' 16223 15938 else 16224 15939 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 16225 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~16226 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags ~$rm $lib.exp'15940 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 15941 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp' 16227 15942 fi 16228 15943 hardcode_libdir_flag_spec_GCJ='-R$libdir' … … 16313 16028 # object files and a static libstdc++, better avoid it by now 16314 16029 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 16315 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp ~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~16316 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags ~$rm $lib.exp'16030 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_} 16031 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp' 16317 16032 hardcode_libdir_flag_spec_GCJ= 16318 16033 hardcode_shlibpath_var_GCJ=no … … 16351 16066 if test "$enable_shared" = yes && test "$GCC" = yes; then 16352 16067 case $archive_cmds_GCJ in 16353 * '~'*)16068 *"$_S_"*) 16354 16069 # FIXME: we may have to deal with multi-command sequences. 16355 16070 ;; … … 16403 16118 esac 16404 16119 16120 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 16121 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 16122 hardcode_action_GCJ= 16123 if test -n "$hardcode_libdir_flag_spec_GCJ" || \ 16124 test -n "$runpath_var GCJ" || \ 16125 test "X$hardcode_automatic_GCJ"="Xyes" ; then 16126 16127 # We can hardcode non-existant directories. 16128 if test "$hardcode_direct_GCJ" != no && 16129 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16130 # have to relink, otherwise we might link with an installed library 16131 # when we should be linking with a yet-to-be-installed one 16132 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && 16133 test "$hardcode_minus_L_GCJ" != no; then 16134 # Linking always hardcodes the temporary library directory. 16135 hardcode_action_GCJ=relink 16136 else 16137 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16138 hardcode_action_GCJ=immediate 16139 fi 16140 else 16141 # We cannot hardcode anything, or else we can only hardcode existing 16142 # directories. 16143 hardcode_action_GCJ=unsupported 16144 fi 16145 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 16146 echo "${ECHO_T}$hardcode_action_GCJ" >&6 16147 16148 if test "$hardcode_action_GCJ" = relink; then 16149 # Fast installation is not supported 16150 enable_fast_install=no 16151 elif test "$shlibpath_overrides_runpath" = yes || 16152 test "$enable_shared" = no; then 16153 # Fast installation is not necessary 16154 enable_fast_install=needless 16155 fi 16156 16157 striplib= 16158 old_striplib= 16159 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 16160 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 16161 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 16162 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 16163 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 16164 echo "$as_me:$LINENO: result: yes" >&5 16165 echo "${ECHO_T}yes" >&6 16166 else 16167 # FIXME - insert some real tests, host_os isn't really good enough 16168 case $host_os in 16169 NOT-darwin*) 16170 if test -n "$STRIP" ; then 16171 striplib="$STRIP -x" 16172 echo "$as_me:$LINENO: result: yes" >&5 16173 echo "${ECHO_T}yes" >&6 16174 else 16175 echo "$as_me:$LINENO: result: no" >&5 16176 echo "${ECHO_T}no" >&6 16177 fi 16178 ;; 16179 *) 16180 echo "$as_me:$LINENO: result: no" >&5 16181 echo "${ECHO_T}no" >&6 16182 ;; 16183 esac 16184 fi 16185 16405 16186 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 16406 16187 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 … … 16408 16189 libname_spec='lib$name' 16409 16190 soname_spec= 16410 shrext _cmds=".so"16191 shrext=".so" 16411 16192 postinstall_cmds= 16412 16193 postuninstall_cmds= … … 16496 16277 library_names_spec='$libname.ixlibrary $libname.a' 16497 16278 # Create ${libname}_ixlibrary.a entries in /sys/libs. 16498 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show " cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a|| exit 1; done'16279 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' 16499 16280 ;; 16500 16281 … … 16521 16302 cygwin* | mingw* | pw32*) 16522 16303 version_type=windows 16523 shrext _cmds=".dll"16304 shrext=".dll" 16524 16305 need_version=no 16525 16306 need_lib_prefix=no … … 16529 16310 library_names_spec='$libname.dll.a' 16530 16311 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16531 postinstall_cmds='base_file=`basename \${file}` ~16532 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''` ~16533 dldir=$destdir/`dirname \$dlpath` ~16534 test -d \$dldir || mkdir -p \$dldir ~16312 postinstall_cmds='base_file=`basename \${file}`${_S_} 16313 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`${_S_} 16314 dldir=$destdir/`dirname \$dlpath`${_S_} 16315 test -d \$dldir || mkdir -p \$dldir${_S_} 16535 16316 $install_prog $dir/$dlname \$dldir/$dlname' 16536 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''` ~16537 dlpath=$dir/\$dldll ~16317 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`${_S_} 16318 dlpath=$dir/\$dldll${_S_} 16538 16319 $rm \$dlpath' 16539 16320 shlibpath_overrides_runpath=yes … … 16543 16324 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 16544 16325 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 16545 sys_lib_search_path_spec="/ usr/lib /lib/w32api/lib /usr/local/lib"16326 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" 16546 16327 ;; 16547 16328 mingw*) … … 16582 16363 need_lib_prefix=no 16583 16364 need_version=no 16584 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 16365 # FIXME: Relying on posixy $() will cause problems for 16366 # cross-compilation, but unfortunately the echo tests do not 16367 # yet detect zsh echo's removal of \ escapes. 16368 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext' 16585 16369 soname_spec='${libname}${release}${major}$shared_ext' 16586 16370 shlibpath_overrides_runpath=yes 16587 16371 shlibpath_var=DYLD_LIBRARY_PATH 16588 shrext _cmds='$(test .$module = .yes && echo .so || echo .dylib)'16372 shrext='$(test .$module = .yes && echo .so || echo .dylib)' 16589 16373 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 16590 if test "$GCC" = yes; then 16591 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"` 16592 else 16593 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 16374 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 16375 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"` 16594 16376 fi 16595 16377 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 16607 16389 freebsd1*) 16608 16390 dynamic_linker=no 16609 ;;16610 16611 kfreebsd*-gnu)16612 version_type=linux16613 need_lib_prefix=no16614 need_version=no16615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'16616 soname_spec='${libname}${release}${shared_ext}$major'16617 shlibpath_var=LD_LIBRARY_PATH16618 shlibpath_overrides_runpath=no16619 hardcode_into_libs=yes16620 dynamic_linker='GNU ld.so'16621 16391 ;; 16622 16392 … … 16669 16439 case "$host_cpu" in 16670 16440 ia64*) 16671 shrext _cmds='.so'16441 shrext='.so' 16672 16442 hardcode_into_libs=yes 16673 16443 dynamic_linker="$host_os dld.so" … … 16684 16454 ;; 16685 16455 hppa*64*) 16686 shrext _cmds='.sl'16456 shrext='.sl' 16687 16457 hardcode_into_libs=yes 16688 16458 dynamic_linker="$host_os dld.sl" … … 16695 16465 ;; 16696 16466 *) 16697 shrext _cmds='.sl'16467 shrext='.sl' 16698 16468 dynamic_linker="$host_os dld.sl" 16699 16469 shlibpath_var=SHLIB_PATH … … 16764 16534 hardcode_into_libs=yes 16765 16535 16766 # find out which ABI we are using16767 libsuff=16768 case "$host_cpu" in16769 x86_64*|s390x*|powerpc64*)16770 echo '#line 16770 "configure"' > conftest.$ac_ext16771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&516772 (eval $ac_compile) 2>&516773 ac_status=$?16774 echo "$as_me:$LINENO: \$? = $ac_status" >&516775 (exit $ac_status); }; then16776 case `/usr/bin/file conftest.$ac_objext` in16777 *64-bit*)16778 libsuff=6416779 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"16780 ;;16781 esac16782 fi16783 rm -rf conftest*16784 ;;16785 esac16786 16787 # Append ld.so.conf contents to the search path16788 if test -f /etc/ld.so.conf; then16789 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`16790 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"16791 fi16792 16793 16536 # We used to test for /lib/ld.so.1 and disable shared libraries on 16794 16537 # powerpc, because MkLinux only supported shared libraries with the … … 16798 16541 # assume the GNU/Linux dynamic linker is in use. 16799 16542 dynamic_linker='GNU/Linux ld.so' 16800 ;;16801 16802 knetbsd*-gnu)16803 version_type=linux16804 need_lib_prefix=no16805 need_version=no16806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'16807 soname_spec='${libname}${release}${shared_ext}$major'16808 shlibpath_var=LD_LIBRARY_PATH16809 shlibpath_overrides_runpath=no16810 hardcode_into_libs=yes16811 dynamic_linker='GNU ld.so'16812 16543 ;; 16813 16544 … … 16821 16552 dynamic_linker='NetBSD (a.out) ld.so' 16822 16553 else 16823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ shared_ext}'16554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' 16824 16555 soname_spec='${libname}${release}${shared_ext}$major' 16825 16556 dynamic_linker='NetBSD ld.elf_so' … … 16837 16568 ;; 16838 16569 16839 nto-qnx *)16570 nto-qnx) 16840 16571 version_type=linux 16841 16572 need_lib_prefix=no … … 16850 16581 version_type=sunos 16851 16582 need_lib_prefix=no 16852 need_version= yes16583 need_version=no 16853 16584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16854 16585 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 16870 16601 os2*) 16871 16602 libname_spec='$name' 16872 shrext _cmds=".dll"16603 shrext=".dll" 16873 16604 need_lib_prefix=no 16874 16605 library_names_spec='$libname${shared_ext} $libname.a' … … 16967 16698 echo "${ECHO_T}$dynamic_linker" >&6 16968 16699 test "$dynamic_linker" = no && can_build_shared=no 16969 16970 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&516971 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&616972 hardcode_action_GCJ=16973 if test -n "$hardcode_libdir_flag_spec_GCJ" || \16974 test -n "$runpath_var GCJ" || \16975 test "X$hardcode_automatic_GCJ"="Xyes" ; then16976 16977 # We can hardcode non-existant directories.16978 if test "$hardcode_direct_GCJ" != no &&16979 # If the only mechanism to avoid hardcoding is shlibpath_var, we16980 # have to relink, otherwise we might link with an installed library16981 # when we should be linking with a yet-to-be-installed one16982 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&16983 test "$hardcode_minus_L_GCJ" != no; then16984 # Linking always hardcodes the temporary library directory.16985 hardcode_action_GCJ=relink16986 else16987 # We can link without hardcoding, and we can hardcode nonexisting dirs.16988 hardcode_action_GCJ=immediate16989 fi16990 else16991 # We cannot hardcode anything, or else we can only hardcode existing16992 # directories.16993 hardcode_action_GCJ=unsupported16994 fi16995 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&516996 echo "${ECHO_T}$hardcode_action_GCJ" >&616997 16998 if test "$hardcode_action_GCJ" = relink; then16999 # Fast installation is not supported17000 enable_fast_install=no17001 elif test "$shlibpath_overrides_runpath" = yes ||17002 test "$enable_shared" = no; then17003 # Fast installation is not necessary17004 enable_fast_install=needless17005 fi17006 17007 striplib=17008 old_striplib=17009 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&517010 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&617011 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then17012 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"17013 test -z "$striplib" && striplib="$STRIP --strip-unneeded"17014 echo "$as_me:$LINENO: result: yes" >&517015 echo "${ECHO_T}yes" >&617016 else17017 # FIXME - insert some real tests, host_os isn't really good enough17018 case $host_os in17019 darwin*)17020 if test -n "$STRIP" ; then17021 striplib="$STRIP -x"17022 echo "$as_me:$LINENO: result: yes" >&517023 echo "${ECHO_T}yes" >&617024 else17025 echo "$as_me:$LINENO: result: no" >&517026 echo "${ECHO_T}no" >&617027 fi17028 ;;17029 *)17030 echo "$as_me:$LINENO: result: no" >&517031 echo "${ECHO_T}no" >&617032 ;;17033 esac17034 fi17035 16700 17036 16701 if test "x$enable_dlopen" != xyes; then … … 17553 17218 lt_status=$lt_dlunknown 17554 17219 cat > conftest.$ac_ext <<EOF 17555 #line 17 555"configure"17220 #line 17220 "configure" 17556 17221 #include "confdefs.h" 17557 17222 … … 17651 17316 lt_status=$lt_dlunknown 17652 17317 cat > conftest.$ac_ext <<EOF 17653 #line 17 653"configure"17318 #line 17318 "configure" 17654 17319 #include "confdefs.h" 17655 17320 … … 17768 17433 # careful not to overquote the AC_SUBSTed values. We take copies of the 17769 17434 # variables and quote the copies for generation of the libtool script. 17770 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 17771 SED SHELL STRIP \ 17435 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 17772 17436 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 17773 17437 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 17827 17491 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 17828 17492 # Double-quote double-evaled strings. 17829 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" \`\\\""17493 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\"" 17830 17494 ;; 17831 17495 *) … … 17848 17512 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 17849 17513 17514 # Set the command separator (default: ~) 17515 _S_=\${LIBTOOL_CMD_SEP-\~} 17516 17850 17517 # Shell to use when invoking shell scripts. 17851 17518 SHELL=$lt_SHELL … … 17899 17566 17900 17567 # A symbol stripping program 17901 STRIP=$ lt_STRIP17568 STRIP=$STRIP 17902 17569 17903 17570 # Used to examine libraries when file_magic_cmd begins "file" … … 17930 17597 17931 17598 # Shared library suffix (normally ".so"). 17932 shrext _cmds='$shrext_cmds'17599 shrext='$shrext' 17933 17600 17934 17601 # Executable file suffix (normally ""). … … 18147 17814 # `config.status --recheck' to rerun these tests and create the 18148 17815 # libtool script then. 18149 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 18150 if test -f "$ltmain_in"; then 18151 test -f Makefile && make "$ltmain" 18152 fi 17816 test -f Makefile && make "$ltmain" 18153 17817 fi 18154 17818 … … 18213 17877 # careful not to overquote the AC_SUBSTed values. We take copies of the 18214 17878 # variables and quote the copies for generation of the libtool script. 18215 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 18216 SED SHELL STRIP \ 17879 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 18217 17880 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 18218 17881 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 18272 17935 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 18273 17936 # Double-quote double-evaled strings. 18274 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" \`\\\""17937 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\"" 18275 17938 ;; 18276 17939 *) … … 18293 17956 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 18294 17957 17958 # Set the command separator (default: ~) 17959 _S_=\${LIBTOOL_CMD_SEP-\~} 17960 18295 17961 # Shell to use when invoking shell scripts. 18296 17962 SHELL=$lt_SHELL … … 18344 18010 18345 18011 # A symbol stripping program 18346 STRIP=$ lt_STRIP18012 STRIP=$STRIP 18347 18013 18348 18014 # Used to examine libraries when file_magic_cmd begins "file" … … 18375 18041 18376 18042 # Shared library suffix (normally ".so"). 18377 shrext _cmds='$shrext_cmds'18043 shrext='$shrext' 18378 18044 18379 18045 # Executable file suffix (normally ""). … … 18592 18258 # `config.status --recheck' to rerun these tests and create the 18593 18259 # libtool script then. 18594 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 18595 if test -f "$ltmain_in"; then 18596 test -f Makefile && make "$ltmain" 18597 fi 18260 test -f Makefile && make "$ltmain" 18598 18261 fi 18599 18262 … … 19172 18835 19173 18836 18837 18838 echo "$as_me:$LINENO: checking for sqrtf in -lmx" >&5 18839 echo $ECHO_N "checking for sqrtf in -lmx... $ECHO_C" >&6 18840 if test "${ac_cv_lib_mx_sqrtf+set}" = set; then 18841 echo $ECHO_N "(cached) $ECHO_C" >&6 18842 else 18843 ac_check_lib_save_LIBS=$LIBS 18844 LIBS="-lmx $LIBS" 18845 cat >conftest.$ac_ext <<_ACEOF 18846 #line $LINENO "configure" 18847 /* confdefs.h. */ 18848 _ACEOF 18849 cat confdefs.h >>conftest.$ac_ext 18850 cat >>conftest.$ac_ext <<_ACEOF 18851 /* end confdefs.h. */ 18852 18853 /* Override any gcc2 internal prototype to avoid an error. */ 18854 #ifdef __cplusplus 18855 extern "C" 18856 #endif 18857 /* We use char because int might match the return type of a gcc2 18858 builtin and then its argument prototype would still apply. */ 18859 char sqrtf (); 18860 int 18861 main () 18862 { 18863 sqrtf (); 18864 ; 18865 return 0; 18866 } 18867 _ACEOF 18868 rm -f conftest.$ac_objext conftest$ac_exeext 18869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18870 (eval $ac_link) 2>&5 18871 ac_status=$? 18872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18873 (exit $ac_status); } && 18874 { ac_try='test -s conftest$ac_exeext' 18875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18876 (eval $ac_try) 2>&5 18877 ac_status=$? 18878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18879 (exit $ac_status); }; }; then 18880 ac_cv_lib_mx_sqrtf=yes 18881 else 18882 echo "$as_me: failed program was:" >&5 18883 sed 's/^/| /' conftest.$ac_ext >&5 18884 18885 ac_cv_lib_mx_sqrtf=no 18886 fi 18887 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 18888 LIBS=$ac_check_lib_save_LIBS 18889 fi 18890 echo "$as_me:$LINENO: result: $ac_cv_lib_mx_sqrtf" >&5 18891 echo "${ECHO_T}$ac_cv_lib_mx_sqrtf" >&6 18892 if test $ac_cv_lib_mx_sqrtf = yes; then 18893 cat >>confdefs.h <<_ACEOF 18894 #define HAVE_LIBMX 1 18895 _ACEOF 18896 18897 LIBS="-lmx $LIBS" 18898 18899 fi 18900 18901 19174 18902 ac_config_files="$ac_config_files Makefile src/Makefile test/Makefile" 19175 18903 cat >confcache <<\_ACEOF … … 19268 18996 Usually this means the macro was only invoked conditionally." >&5 19269 18997 echo "$as_me: error: conditional \"AMDEP\" was never defined. 19270 Usually this means the macro was only invoked conditionally." >&2;}19271 { (exit 1); exit 1; }; }19272 fi19273 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then19274 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.19275 Usually this means the macro was only invoked conditionally." >&519276 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.19277 Usually this means the macro was only invoked conditionally." >&2;}19278 { (exit 1); exit 1; }; }19279 fi19280 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then19281 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.19282 Usually this means the macro was only invoked conditionally." >&519283 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.19284 18998 Usually this means the macro was only invoked conditionally." >&2;} 19285 18999 { (exit 1); exit 1; }; } … … 19821 19535 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 19822 19536 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 19823 s,@CYGPATH_W@,$CYGPATH_W,;t t19824 19537 s,@PACKAGE@,$PACKAGE,;t t 19825 19538 s,@VERSION@,$VERSION,;t t … … 19834 19547 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 19835 19548 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 19836 s,@mkdir_p@,$mkdir_p,;t t19837 19549 s,@AWK@,$AWK,;t t 19838 19550 s,@SET_MAKE@,$SET_MAKE,;t t 19839 s,@am__leading_dot@,$am__leading_dot,;t t19840 19551 s,@CC@,$CC,;t t 19841 19552 s,@CFLAGS@,$CFLAGS,;t t … … 19852 19563 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 19853 19564 s,@CCDEPMODE@,$CCDEPMODE,;t t 19854 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t19855 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t19856 19565 s,@build@,$build,;t t 19857 19566 s,@build_cpu@,$build_cpu,;t t … … 19874 19583 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 19875 19584 s,@CXXDEPMODE@,$CXXDEPMODE,;t t 19876 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t19877 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t19878 19585 s,@CXXCPP@,$CXXCPP,;t t 19879 19586 s,@F77@,$F77,;t t … … 20309 20016 rm -f $tmp/config.h 20310 20017 fi 20311 # Compute $ac_file's index in $config_headers. 20312 _am_stamp_count=1 20313 for _am_header in $config_headers :; do 20314 case $_am_header in 20315 $ac_file | $ac_file:* ) 20316 break ;; 20317 * ) 20318 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 20018 # Run the commands associated with the file. 20019 case $ac_file in 20020 src/config.h ) # update the timestamp 20021 echo 'timestamp for src/config.h' >"src/stamp-h1" 20022 ;; 20319 20023 esac 20320 done20321 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||20322 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \20323 X$ac_file : 'X\(//\)[^/]' \| \20324 X$ac_file : 'X\(//\)$' \| \20325 X$ac_file : 'X\(/\)' \| \20326 . : '\(.\)' 2>/dev/null ||20327 echo X$ac_file |20328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }20329 /^X\(\/\/\)[^/].*/{ s//\1/; q; }20330 /^X\(\/\/\)$/{ s//\1/; q; }20331 /^X\(\/\).*/{ s//\1/; q; }20332 s/.*/./; q'`/stamp-h$_am_stamp_count20333 20024 done 20334 20025 _ACEOF … … 20417 20108 # Extract the definition of DEP_FILES from the Makefile without 20418 20109 # running `make'. 20419 DEPDIR=`sed -n 's/^DEPDIR =//p' < "$mf"`20110 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 20420 20111 test -z "$DEPDIR" && continue 20421 20112 # When using ansi2knr, U may be empty or an underscore; expand it 20422 U=`sed -n 's/^U =//p' < "$mf"`20113 U=`sed -n -e '/^U = / s///p' < "$mf"` 20423 20114 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 20424 20115 # We invoke sed twice because it is the simplest approach to 20425 20116 # changing $(DEPDIR) to its actual value in the expansion. 20426 for file in `sed -n '20117 for file in `sed -n -e ' 20427 20118 /^DEP_FILES = .*\\\\$/ { 20428 20119 s/^DEP_FILES = //
Note:
See TracChangeset
for help on using the changeset viewer.
