Rev 2 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2 | Rev 7 | ||
---|---|---|---|
Line 4845... | Line 4845... | ||
4845 | # no limit to the length of command line arguments. |
4845 | # no limit to the length of command line arguments. |
4846 | # Libtool will interpret -1 as no limit whatsoever |
4846 | # Libtool will interpret -1 as no limit whatsoever |
4847 | lt_cv_sys_max_cmd_len=-1; |
4847 | lt_cv_sys_max_cmd_len=-1; |
4848 | ;; |
4848 | ;; |
4849 | 4849 | ||
4850 | cygwin* | msys* | mingw* | cegcc*) |
4850 | cygwin* | mingw* | cegcc*) |
4851 | # On Win9x/ME, this test blows up -- it succeeds, but takes |
4851 | # On Win9x/ME, this test blows up -- it succeeds, but takes |
4852 | # about 5 minutes as the teststring grows exponentially. |
4852 | # about 5 minutes as the teststring grows exponentially. |
4853 | # Worse, since 9x/ME are not pre-emptively multitasking, |
4853 | # Worse, since 9x/ME are not pre-emptively multitasking, |
4854 | # you end up with a "frozen" computer, even though with patience |
4854 | # you end up with a "frozen" computer, even though with patience |
4855 | # the test eventually succeeds (with a max line length of 256k). |
4855 | # the test eventually succeeds (with a max line length of 256k). |
Line 5011... | Line 5011... | ||
5011 | *-*-mingw* ) |
5011 | *-*-mingw* ) |
5012 | case $build in |
5012 | case $build in |
5013 | *-*-mingw* ) # actually msys |
5013 | *-*-mingw* ) # actually msys |
5014 | lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
5014 | lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
5015 | ;; |
5015 | ;; |
5016 | *-*-cygwin* | *-*-msys* ) |
5016 | *-*-cygwin* ) |
5017 | lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
5017 | lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
5018 | ;; |
5018 | ;; |
5019 | * ) # otherwise, assume *nix |
5019 | * ) # otherwise, assume *nix |
5020 | lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
5020 | lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
5021 | ;; |
5021 | ;; |
5022 | esac |
5022 | esac |
5023 | ;; |
5023 | ;; |
5024 | *-*-cygwin* | *-*-msys* ) |
5024 | *-*-cygwin* ) |
5025 | case $build in |
5025 | case $build in |
5026 | *-*-mingw* ) # actually msys |
5026 | *-*-mingw* ) # actually msys |
5027 | lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
5027 | lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
5028 | ;; |
5028 | ;; |
5029 | *-*-cygwin* | *-*-msys* ) |
5029 | *-*-cygwin* ) |
5030 | lt_cv_to_host_file_cmd=func_convert_file_noop |
5030 | lt_cv_to_host_file_cmd=func_convert_file_noop |
5031 | ;; |
5031 | ;; |
5032 | * ) # otherwise, assume *nix |
5032 | * ) # otherwise, assume *nix |
5033 | lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
5033 | lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
5034 | ;; |
5034 | ;; |
Line 5090... | Line 5090... | ||
5090 | "" | " "*) ;; |
5090 | "" | " "*) ;; |
5091 | *) reload_flag=" $reload_flag" ;; |
5091 | *) reload_flag=" $reload_flag" ;; |
5092 | esac |
5092 | esac |
5093 | reload_cmds='$LD$reload_flag -o $output$reload_objs' |
5093 | reload_cmds='$LD$reload_flag -o $output$reload_objs' |
5094 | case $host_os in |
5094 | case $host_os in |
5095 | cygwin* | msys* | mingw* | pw32* | cegcc*) |
5095 | cygwin* | mingw* | pw32* | cegcc*) |
5096 | if test yes != "$GCC"; then |
5096 | if test yes != "$GCC"; then |
5097 | reload_cmds=false |
5097 | reload_cmds=false |
5098 | fi |
5098 | fi |
5099 | ;; |
5099 | ;; |
5100 | darwin*) |
5100 | darwin*) |
Line 5248... | Line 5248... | ||
5248 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
5248 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
5249 | lt_cv_file_magic_cmd='/usr/bin/file -L' |
5249 | lt_cv_file_magic_cmd='/usr/bin/file -L' |
5250 | lt_cv_file_magic_test_file=/shlib/libc.so |
5250 | lt_cv_file_magic_test_file=/shlib/libc.so |
5251 | ;; |
5251 | ;; |
5252 | 5252 | ||
5253 | cygwin* | msys*) |
5253 | cygwin*) |
5254 | # func_win32_libid is a shell function defined in ltmain.sh |
5254 | # func_win32_libid is a shell function defined in ltmain.sh |
5255 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
5255 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
5256 | lt_cv_file_magic_cmd='func_win32_libid' |
5256 | lt_cv_file_magic_cmd='func_win32_libid' |
5257 | ;; |
5257 | ;; |
5258 | 5258 | ||
Line 5336... | Line 5336... | ||
5336 | # This must be glibc/ELF. |
5336 | # This must be glibc/ELF. |
5337 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
5337 | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
5338 | lt_cv_deplibs_check_method=pass_all |
5338 | lt_cv_deplibs_check_method=pass_all |
5339 | ;; |
5339 | ;; |
5340 | 5340 | ||
5341 | netbsd*) |
5341 | netbsd* | netbsdelf*-gnu) |
5342 | if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
5342 | if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
5343 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
5343 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
5344 | else |
5344 | else |
5345 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
5345 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
5346 | fi |
5346 | fi |
Line 5567... | Line 5567... | ||
5567 | $as_echo_n "(cached) " >&6 |
5567 | $as_echo_n "(cached) " >&6 |
5568 | else |
5568 | else |
5569 | lt_cv_sharedlib_from_linklib_cmd='unknown' |
5569 | lt_cv_sharedlib_from_linklib_cmd='unknown' |
5570 | 5570 | ||
5571 | case $host_os in |
5571 | case $host_os in |
5572 | cygwin* | msys* | mingw* | pw32* | cegcc*) |
5572 | cygwin* | mingw* | pw32* | cegcc*) |
5573 | # two different shell functions defined in ltmain.sh; |
5573 | # two different shell functions defined in ltmain.sh; |
5574 | # decide which one to use based on capabilities of $DLLTOOL |
5574 | # decide which one to use based on capabilities of $DLLTOOL |
5575 | case `$DLLTOOL --help 2>&1` in |
5575 | case `$DLLTOOL --help 2>&1` in |
5576 | *--identify-strict*) |
5576 | *--identify-strict*) |
5577 | lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
5577 | lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
Line 6060... | Line 6060... | ||
6060 | # Define system-specific variables. |
6060 | # Define system-specific variables. |
6061 | case $host_os in |
6061 | case $host_os in |
6062 | aix*) |
6062 | aix*) |
6063 | symcode='[BCDT]' |
6063 | symcode='[BCDT]' |
6064 | ;; |
6064 | ;; |
6065 | cygwin* | msys* | mingw* | pw32* | cegcc*) |
6065 | cygwin* | mingw* | pw32* | cegcc*) |
6066 | symcode='[ABCDGISTW]' |
6066 | symcode='[ABCDGISTW]' |
6067 | ;; |
6067 | ;; |
6068 | hpux*) |
6068 | hpux*) |
6069 | if test ia64 = "$host_cpu"; then |
6069 | if test ia64 = "$host_cpu"; then |
6070 | symcode='[ABCDEGRST]' |
6070 | symcode='[ABCDEGRST]' |
Line 8304... | Line 8304... | ||
8304 | eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
8304 | eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
8305 | _lt_linker_boilerplate=`cat conftest.err` |
8305 | _lt_linker_boilerplate=`cat conftest.err` |
8306 | $RM -r conftest* |
8306 | $RM -r conftest* |
8307 | 8307 | ||
8308 | 8308 | ||
8309 | ## CAVEAT EMPTOR: |
- | |
8310 | ## There is no encapsulation within the following macros, do not change |
- | |
8311 | ## the running order or otherwise move them around unless you know exactly |
- | |
8312 | ## what you are doing... |
- | |
8313 | if test -n "$compiler"; then |
8309 | if test -n "$compiler"; then |
8314 | 8310 | ||
8315 | lt_prog_compiler_no_builtin_flag= |
8311 | lt_prog_compiler_no_builtin_flag= |
8316 | 8312 | ||
8317 | if test yes = "$GCC"; then |
8313 | if test yes = "$GCC"; then |
Line 8409... | Line 8405... | ||
8409 | 8405 | ||
8410 | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
8406 | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
8411 | # PIC is the default for these OSes. |
8407 | # PIC is the default for these OSes. |
8412 | ;; |
8408 | ;; |
8413 | 8409 | ||
8414 | mingw* | cygwin* | msys* | pw32* | os2* | cegcc*) |
8410 | mingw* | cygwin* | pw32* | os2* | cegcc*) |
8415 | # This hack is so that the source file can tell whether it is being |
8411 | # This hack is so that the source file can tell whether it is being |
8416 | # built for inclusion in a dll (and should export symbols for example). |
8412 | # built for inclusion in a dll (and should export symbols for example). |
8417 | # Although the cygwin gcc ignores -fPIC, still need this for old-style |
8413 | # Although the cygwin gcc ignores -fPIC, still need this for old-style |
8418 | # (--disable-auto-import) libraries |
8414 | # (--disable-auto-import) libraries |
8419 | lt_prog_compiler_pic='-DDLL_EXPORT' |
8415 | lt_prog_compiler_pic='-DDLL_EXPORT' |
Line 8512... | Line 8508... | ||
8512 | lt_prog_compiler_static='-Bstatic' |
8508 | lt_prog_compiler_static='-Bstatic' |
8513 | ;; |
8509 | ;; |
8514 | esac |
8510 | esac |
8515 | ;; |
8511 | ;; |
8516 | 8512 | ||
8517 | mingw* | cygwin* | msys* | pw32* | os2* | cegcc*) |
8513 | mingw* | cygwin* | pw32* | os2* | cegcc*) |
8518 | # This hack is so that the source file can tell whether it is being |
8514 | # This hack is so that the source file can tell whether it is being |
8519 | # built for inclusion in a dll (and should export symbols for example). |
8515 | # built for inclusion in a dll (and should export symbols for example). |
8520 | lt_prog_compiler_pic='-DDLL_EXPORT' |
8516 | lt_prog_compiler_pic='-DDLL_EXPORT' |
8521 | case $host_os in |
8517 | case $host_os in |
8522 | os2*) |
8518 | os2*) |
Line 9014... | Line 9010... | ||
9014 | # preloaded symbol tables. |
9010 | # preloaded symbol tables. |
9015 | # Exclude shared library initialization/finalization symbols. |
9011 | # Exclude shared library initialization/finalization symbols. |
9016 | extract_expsyms_cmds= |
9012 | extract_expsyms_cmds= |
9017 | 9013 | ||
9018 | case $host_os in |
9014 | case $host_os in |
9019 | cygwin* | msys* | mingw* | pw32* | cegcc*) |
9015 | cygwin* | mingw* | pw32* | cegcc*) |
9020 | # FIXME: the MSVC++ port hasn't been tested in a loooong time |
9016 | # FIXME: the MSVC++ port hasn't been tested in a loooong time |
9021 | # When not using gcc, we currently assume that we are using |
9017 | # When not using gcc, we currently assume that we are using |
9022 | # Microsoft Visual C++. |
9018 | # Microsoft Visual C++. |
9023 | if test yes != "$GCC"; then |
9019 | if test yes != "$GCC"; then |
9024 | with_gnu_ld=no |
9020 | with_gnu_ld=no |
Line 9029... | Line 9025... | ||
9029 | with_gnu_ld=yes |
9025 | with_gnu_ld=yes |
9030 | ;; |
9026 | ;; |
9031 | openbsd* | bitrig*) |
9027 | openbsd* | bitrig*) |
9032 | with_gnu_ld=no |
9028 | with_gnu_ld=no |
9033 | ;; |
9029 | ;; |
- | 9030 | linux* | k*bsd*-gnu | gnu*) |
|
- | 9031 | link_all_deplibs=no |
|
- | 9032 | ;; |
|
9034 | esac |
9033 | esac |
9035 | 9034 | ||
9036 | ld_shlibs=yes |
9035 | ld_shlibs=yes |
9037 | 9036 | ||
9038 | # On some targets, GNU ld is compatible enough with the native linker |
9037 | # On some targets, GNU ld is compatible enough with the native linker |
Line 9129... | Line 9128... | ||
9129 | else |
9128 | else |
9130 | ld_shlibs=no |
9129 | ld_shlibs=no |
9131 | fi |
9130 | fi |
9132 | ;; |
9131 | ;; |
9133 | 9132 | ||
9134 | cygwin* | msys* | mingw* | pw32* | cegcc*) |
9133 | cygwin* | mingw* | pw32* | cegcc*) |
9135 | # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
9134 | # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
9136 | # as there is no search path for DLLs. |
9135 | # as there is no search path for DLLs. |
9137 | hardcode_libdir_flag_spec='-L$libdir' |
9136 | hardcode_libdir_flag_spec='-L$libdir' |
9138 | export_dynamic_flag_spec='$wl--export-all-symbols' |
9137 | export_dynamic_flag_spec='$wl--export-all-symbols' |
9139 | allow_undefined_flag=unsupported |
9138 | allow_undefined_flag=unsupported |
9140 | always_export_symbols=no |
9139 | always_export_symbols=no |
9141 | enable_shared_with_static_runtimes=yes |
9140 | enable_shared_with_static_runtimes=yes |
9142 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
9141 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
9143 | exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
9142 | exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
9144 | file_list_spec='@' |
- | |
9145 | 9143 | ||
9146 | if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
9144 | if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
9147 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
9145 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
9148 | # If the export-symbols file already is a .def file, use it as |
9146 | # If the export-symbols file already is a .def file, use it as |
9149 | # is; otherwise, prepend EXPORTS... |
9147 | # is; otherwise, prepend EXPORTS... |
Line 9284... | Line 9282... | ||
9284 | else |
9282 | else |
9285 | ld_shlibs=no |
9283 | ld_shlibs=no |
9286 | fi |
9284 | fi |
9287 | ;; |
9285 | ;; |
9288 | 9286 | ||
9289 | netbsd*) |
9287 | netbsd* | netbsdelf*-gnu) |
9290 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
9288 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
9291 | archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
9289 | archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
9292 | wlarc= |
9290 | wlarc= |
9293 | else |
9291 | else |
9294 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
9292 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
Line 9670... | Line 9668... | ||
9670 | 9668 | ||
9671 | bsdi[45]*) |
9669 | bsdi[45]*) |
9672 | export_dynamic_flag_spec=-rdynamic |
9670 | export_dynamic_flag_spec=-rdynamic |
9673 | ;; |
9671 | ;; |
9674 | 9672 | ||
9675 | cygwin* | msys* | mingw* | pw32* | cegcc*) |
9673 | cygwin* | mingw* | pw32* | cegcc*) |
9676 | # When not using gcc, we currently assume that we are using |
9674 | # When not using gcc, we currently assume that we are using |
9677 | # Microsoft Visual C++. |
9675 | # Microsoft Visual C++. |
9678 | # hardcode_libdir_flag_spec is actually meaningless, as there is |
9676 | # hardcode_libdir_flag_spec is actually meaningless, as there is |
9679 | # no search path for DLLs. |
9677 | # no search path for DLLs. |
9680 | case $cc_basename in |
9678 | case $cc_basename in |
Line 9954... | Line 9952... | ||
9954 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
9952 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
9955 | $as_echo "$lt_cv_irix_exported_symbol" >&6; } |
9953 | $as_echo "$lt_cv_irix_exported_symbol" >&6; } |
9956 | if test yes = "$lt_cv_irix_exported_symbol"; then |
9954 | if test yes = "$lt_cv_irix_exported_symbol"; then |
9957 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' |
9955 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' |
9958 | fi |
9956 | fi |
- | 9957 | link_all_deplibs=no |
|
9959 | else |
9958 | else |
9960 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' |
9959 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' |
9961 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' |
9960 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' |
9962 | fi |
9961 | fi |
9963 | archive_cmds_need_lc='no' |
9962 | archive_cmds_need_lc='no' |
Line 9975... | Line 9974... | ||
9975 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
9974 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
9976 | ;; |
9975 | ;; |
9977 | esac |
9976 | esac |
9978 | ;; |
9977 | ;; |
9979 | 9978 | ||
9980 | netbsd*) |
9979 | netbsd* | netbsdelf*-gnu) |
9981 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
9980 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
9982 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
9981 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
9983 | else |
9982 | else |
9984 | archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
9983 | archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
9985 | fi |
9984 | fi |
Line 10705... | Line 10704... | ||
10705 | # the default ld.so.conf also contains /usr/contrib/lib and |
10704 | # the default ld.so.conf also contains /usr/contrib/lib and |
10706 | # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
10705 | # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
10707 | # libtool to hard-code these into programs |
10706 | # libtool to hard-code these into programs |
10708 | ;; |
10707 | ;; |
10709 | 10708 | ||
10710 | cygwin* | msys* | mingw* | pw32* | cegcc*) |
10709 | cygwin* | mingw* | pw32* | cegcc*) |
10711 | version_type=windows |
10710 | version_type=windows |
10712 | shrext_cmds=.dll |
10711 | shrext_cmds=.dll |
10713 | need_version=no |
10712 | need_version=no |
10714 | need_lib_prefix=no |
10713 | need_lib_prefix=no |
10715 | 10714 | ||
Line 10737... | Line 10736... | ||
10737 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
10736 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
10738 | soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
10737 | soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
10739 | 10738 | ||
10740 | sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
10739 | sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
10741 | ;; |
10740 | ;; |
10742 | msys*) |
- | |
10743 | # MSYS DLLs use 'msys-' prefix rather than 'lib' |
- | |
10744 | soname_spec='`echo $libname | sed -e 's/^lib/msys-/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
- | |
10745 | - | ||
10746 | sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
- | |
10747 | ;; |
- | |
10748 | mingw* | cegcc*) |
10741 | mingw* | cegcc*) |
10749 | # MinGW DLLs use traditional 'lib' prefix |
10742 | # MinGW DLLs use traditional 'lib' prefix |
10750 | soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
10743 | soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
10751 | ;; |
10744 | ;; |
10752 | pw32*) |
10745 | pw32*) |
Line 10777... | Line 10770... | ||
10777 | done |
10770 | done |
10778 | IFS=$lt_save_ifs |
10771 | IFS=$lt_save_ifs |
10779 | # Convert to MSYS style. |
10772 | # Convert to MSYS style. |
10780 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
10773 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
10781 | ;; |
10774 | ;; |
10782 | cygwin* | msys*) |
10775 | cygwin*) |
10783 | # Convert to unix form, then to dos form, then back to unix form |
10776 | # Convert to unix form, then to dos form, then back to unix form |
10784 | # but this time dos style (no spaces!) so that the unix form looks |
10777 | # but this time dos style (no spaces!) so that the unix form looks |
10785 | # like /cygdrive/c/PROGRA~1:/cygdr... |
10778 | # like /cygdrive/c/PROGRA~1:/cygdr... |
10786 | sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
10779 | sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
10787 | sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
10780 | sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
Line 11096... | Line 11089... | ||
11096 | # people can always --disable-shared, the test was removed, and we |
11089 | # people can always --disable-shared, the test was removed, and we |
11097 | # assume the GNU/Linux dynamic linker is in use. |
11090 | # assume the GNU/Linux dynamic linker is in use. |
11098 | dynamic_linker='GNU/Linux ld.so' |
11091 | dynamic_linker='GNU/Linux ld.so' |
11099 | ;; |
11092 | ;; |
11100 | 11093 | ||
- | 11094 | netbsdelf*-gnu) |
|
- | 11095 | version_type=linux |
|
- | 11096 | need_lib_prefix=no |
|
- | 11097 | need_version=no |
|
- | 11098 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
- | 11099 | soname_spec='${libname}${release}${shared_ext}$major' |
|
- | 11100 | shlibpath_var=LD_LIBRARY_PATH |
|
- | 11101 | shlibpath_overrides_runpath=no |
|
- | 11102 | hardcode_into_libs=yes |
|
- | 11103 | dynamic_linker='NetBSD ld.elf_so' |
|
- | 11104 | ;; |
|
- | 11105 | ||
11101 | netbsd*) |
11106 | netbsd*) |
11102 | version_type=sunos |
11107 | version_type=sunos |
11103 | need_lib_prefix=no |
11108 | need_lib_prefix=no |
11104 | need_version=no |
11109 | need_version=no |
11105 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
11110 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
Line 11479... | Line 11484... | ||
11479 | mingw* | pw32* | cegcc*) |
11484 | mingw* | pw32* | cegcc*) |
11480 | lt_cv_dlopen=LoadLibrary |
11485 | lt_cv_dlopen=LoadLibrary |
11481 | lt_cv_dlopen_libs= |
11486 | lt_cv_dlopen_libs= |
11482 | ;; |
11487 | ;; |
11483 | 11488 | ||
11484 | cygwin* | msys*) |
11489 | cygwin*) |
11485 | lt_cv_dlopen=dlopen |
11490 | lt_cv_dlopen=dlopen |
11486 | lt_cv_dlopen_libs= |
11491 | lt_cv_dlopen_libs= |
11487 | ;; |
11492 | ;; |
11488 | 11493 | ||
11489 | darwin*) |
11494 | darwin*) |
Line 14235... | Line 14240... | ||
14235 | ld_shlibs_CXX=no |
14240 | ld_shlibs_CXX=no |
14236 | ;; |
14241 | ;; |
14237 | esac |
14242 | esac |
14238 | ;; |
14243 | ;; |
14239 | 14244 | ||
14240 | cygwin* | msys* | mingw* | pw32* | cegcc*) |
14245 | cygwin* | mingw* | pw32* | cegcc*) |
14241 | case $GXX,$cc_basename in |
14246 | case $GXX,$cc_basename in |
14242 | ,cl* | no,cl*) |
14247 | ,cl* | no,cl*) |
14243 | # Native MSVC |
14248 | # Native MSVC |
14244 | # hardcode_libdir_flag_spec is actually meaningless, as there is |
14249 | # hardcode_libdir_flag_spec is actually meaningless, as there is |
14245 | # no search path for DLLs. |
14250 | # no search path for DLLs. |
Line 14288... | Line 14293... | ||
14288 | hardcode_libdir_flag_spec_CXX='-L$libdir' |
14293 | hardcode_libdir_flag_spec_CXX='-L$libdir' |
14289 | export_dynamic_flag_spec_CXX='$wl--export-all-symbols' |
14294 | export_dynamic_flag_spec_CXX='$wl--export-all-symbols' |
14290 | allow_undefined_flag_CXX=unsupported |
14295 | allow_undefined_flag_CXX=unsupported |
14291 | always_export_symbols_CXX=no |
14296 | always_export_symbols_CXX=no |
14292 | enable_shared_with_static_runtimes_CXX=yes |
14297 | enable_shared_with_static_runtimes_CXX=yes |
14293 | file_list_spec_CXX='@' |
- | |
14294 | 14298 | ||
14295 | if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
14299 | if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
14296 | archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
14300 | archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
14297 | # If the export-symbols file already is a .def file, use it as |
14301 | # If the export-symbols file already is a .def file, use it as |
14298 | # is; otherwise, prepend EXPORTS... |
14302 | # is; otherwise, prepend EXPORTS... |
Line 15075... | Line 15079... | ||
15075 | pre_test_object_deps_done=no |
15079 | pre_test_object_deps_done=no |
15076 | 15080 | ||
15077 | for p in `eval "$output_verbose_link_cmd"`; do |
15081 | for p in `eval "$output_verbose_link_cmd"`; do |
15078 | case $prev$p in |
15082 | case $prev$p in |
15079 | 15083 | ||
15080 | -L* | -R* | -l* | */libclang_rt.*.a) |
15084 | -L* | -R* | -l*) |
15081 | # Some compilers place space between "-{L,R}" and the path. |
15085 | # Some compilers place space between "-{L,R}" and the path. |
15082 | # Remove the space. |
15086 | # Remove the space. |
15083 | if test x-L = "$p" || |
15087 | if test x-L = "$p" || |
15084 | test x-R = "$p"; then |
15088 | test x-R = "$p"; then |
15085 | prev=$p |
15089 | prev=$p |
Line 15246... | Line 15250... | ||
15246 | ;; |
15250 | ;; |
15247 | 15251 | ||
15248 | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
15252 | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
15249 | # PIC is the default for these OSes. |
15253 | # PIC is the default for these OSes. |
15250 | ;; |
15254 | ;; |
15251 | mingw* | cygwin* | msys* | os2* | pw32* | cegcc*) |
15255 | mingw* | cygwin* | os2* | pw32* | cegcc*) |
15252 | # This hack is so that the source file can tell whether it is being |
15256 | # This hack is so that the source file can tell whether it is being |
15253 | # built for inclusion in a dll (and should export symbols for example). |
15257 | # built for inclusion in a dll (and should export symbols for example). |
15254 | # Although the cygwin gcc ignores -fPIC, still need this for old-style |
15258 | # Although the cygwin gcc ignores -fPIC, still need this for old-style |
15255 | # (--disable-auto-import) libraries |
15259 | # (--disable-auto-import) libraries |
15256 | lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
15260 | lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
Line 15321... | Line 15325... | ||
15321 | # Green Hills C++ Compiler |
15325 | # Green Hills C++ Compiler |
15322 | # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" |
15326 | # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" |
15323 | ;; |
15327 | ;; |
15324 | esac |
15328 | esac |
15325 | ;; |
15329 | ;; |
15326 | mingw* | cygwin* | msys* | os2* | pw32* | cegcc*) |
15330 | mingw* | cygwin* | os2* | pw32* | cegcc*) |
15327 | # This hack is so that the source file can tell whether it is being |
15331 | # This hack is so that the source file can tell whether it is being |
15328 | # built for inclusion in a dll (and should export symbols for example). |
15332 | # built for inclusion in a dll (and should export symbols for example). |
15329 | lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
15333 | lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
15330 | ;; |
15334 | ;; |
15331 | dgux*) |
15335 | dgux*) |
Line 15446... | Line 15450... | ||
15446 | ;; |
15450 | ;; |
15447 | *) |
15451 | *) |
15448 | ;; |
15452 | ;; |
15449 | esac |
15453 | esac |
15450 | ;; |
15454 | ;; |
15451 | netbsd*) |
15455 | netbsd* | netbsdelf*-gnu) |
15452 | ;; |
15456 | ;; |
15453 | *qnx* | *nto*) |
15457 | *qnx* | *nto*) |
15454 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
15458 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
15455 | # it will coredump. |
15459 | # it will coredump. |
15456 | lt_prog_compiler_pic_CXX='-fPIC -shared' |
15460 | lt_prog_compiler_pic_CXX='-fPIC -shared' |
Line 15810... | Line 15814... | ||
15810 | fi |
15814 | fi |
15811 | ;; |
15815 | ;; |
15812 | pw32*) |
15816 | pw32*) |
15813 | export_symbols_cmds_CXX=$ltdll_cmds |
15817 | export_symbols_cmds_CXX=$ltdll_cmds |
15814 | ;; |
15818 | ;; |
15815 | cygwin* | msys* | mingw* | cegcc*) |
15819 | cygwin* | mingw* | cegcc*) |
15816 | case $cc_basename in |
15820 | case $cc_basename in |
15817 | cl*) |
15821 | cl*) |
15818 | exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
15822 | exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
15819 | ;; |
15823 | ;; |
15820 | *) |
15824 | *) |
15821 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
15825 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
15822 | exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
15826 | exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
15823 | ;; |
15827 | ;; |
15824 | esac |
15828 | esac |
15825 | ;; |
15829 | ;; |
- | 15830 | linux* | k*bsd*-gnu | gnu*) |
|
- | 15831 | link_all_deplibs_CXX=no |
|
- | 15832 | ;; |
|
15826 | *) |
15833 | *) |
15827 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
15834 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
15828 | ;; |
15835 | ;; |
15829 | esac |
15836 | esac |
15830 | 15837 | ||
Line 16131... | Line 16138... | ||
16131 | # the default ld.so.conf also contains /usr/contrib/lib and |
16138 | # the default ld.so.conf also contains /usr/contrib/lib and |
16132 | # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
16139 | # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
16133 | # libtool to hard-code these into programs |
16140 | # libtool to hard-code these into programs |
16134 | ;; |
16141 | ;; |
16135 | 16142 | ||
16136 | cygwin* | msys* | mingw* | pw32* | cegcc*) |
16143 | cygwin* | mingw* | pw32* | cegcc*) |
16137 | version_type=windows |
16144 | version_type=windows |
16138 | shrext_cmds=.dll |
16145 | shrext_cmds=.dll |
16139 | need_version=no |
16146 | need_version=no |
16140 | need_lib_prefix=no |
16147 | need_lib_prefix=no |
16141 | 16148 | ||
Line 16162... | Line 16169... | ||
16162 | cygwin*) |
16169 | cygwin*) |
16163 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
16170 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
16164 | soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
16171 | soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
16165 | 16172 | ||
16166 | ;; |
16173 | ;; |
16167 | msys*) |
- | |
16168 | # MSYS DLLs use 'msys-' prefix rather than 'lib' |
- | |
16169 | soname_spec='`echo $libname | sed -e 's/^lib/msys-/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
- | |
16170 | - | ||
16171 | ;; |
- | |
16172 | mingw* | cegcc*) |
16174 | mingw* | cegcc*) |
16173 | # MinGW DLLs use traditional 'lib' prefix |
16175 | # MinGW DLLs use traditional 'lib' prefix |
16174 | soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
16176 | soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
16175 | ;; |
16177 | ;; |
16176 | pw32*) |
16178 | pw32*) |
Line 16201... | Line 16203... | ||
16201 | done |
16203 | done |
16202 | IFS=$lt_save_ifs |
16204 | IFS=$lt_save_ifs |
16203 | # Convert to MSYS style. |
16205 | # Convert to MSYS style. |
16204 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
16206 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
16205 | ;; |
16207 | ;; |
16206 | cygwin* | msys*) |
16208 | cygwin*) |
16207 | # Convert to unix form, then to dos form, then back to unix form |
16209 | # Convert to unix form, then to dos form, then back to unix form |
16208 | # but this time dos style (no spaces!) so that the unix form looks |
16210 | # but this time dos style (no spaces!) so that the unix form looks |
16209 | # like /cygdrive/c/PROGRA~1:/cygdr... |
16211 | # like /cygdrive/c/PROGRA~1:/cygdr... |
16210 | sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
16212 | sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
16211 | sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
16213 | sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
Line 16519... | Line 16521... | ||
16519 | # people can always --disable-shared, the test was removed, and we |
16521 | # people can always --disable-shared, the test was removed, and we |
16520 | # assume the GNU/Linux dynamic linker is in use. |
16522 | # assume the GNU/Linux dynamic linker is in use. |
16521 | dynamic_linker='GNU/Linux ld.so' |
16523 | dynamic_linker='GNU/Linux ld.so' |
16522 | ;; |
16524 | ;; |
16523 | 16525 | ||
- | 16526 | netbsdelf*-gnu) |
|
- | 16527 | version_type=linux |
|
- | 16528 | need_lib_prefix=no |
|
- | 16529 | need_version=no |
|
- | 16530 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
- | 16531 | soname_spec='${libname}${release}${shared_ext}$major' |
|
- | 16532 | shlibpath_var=LD_LIBRARY_PATH |
|
- | 16533 | shlibpath_overrides_runpath=no |
|
- | 16534 | hardcode_into_libs=yes |
|
- | 16535 | dynamic_linker='NetBSD ld.elf_so' |
|
- | 16536 | ;; |
|
- | 16537 | ||
16524 | netbsd*) |
16538 | netbsd*) |
16525 | version_type=sunos |
16539 | version_type=sunos |
16526 | need_lib_prefix=no |
16540 | need_lib_prefix=no |
16527 | need_version=no |
16541 | need_version=no |
16528 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
16542 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
Line 18693... | Line 18707... | ||
18693 | $RM "$cfgfile" |
18707 | $RM "$cfgfile" |
18694 | 18708 | ||
18695 | cat <<_LT_EOF >> "$cfgfile" |
18709 | cat <<_LT_EOF >> "$cfgfile" |
18696 | #! $SHELL |
18710 | #! $SHELL |
18697 | # Generated automatically by $as_me ($PACKAGE) $VERSION |
18711 | # Generated automatically by $as_me ($PACKAGE) $VERSION |
18698 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
- | |
18699 | # NOTE: Changes made to this file will be lost: look at ltmain.sh. |
18712 | # NOTE: Changes made to this file will be lost: look at ltmain.sh. |
18700 | 18713 | ||
18701 | # Provide generalized library-building support services. |
18714 | # Provide generalized library-building support services. |
18702 | # Written by Gordon Matzigkeit, 1996 |
18715 | # Written by Gordon Matzigkeit, 1996 |
18703 | 18716 |