comparison m4/libtool.m4 @ 1806:40557fb08e98

New release
author Adam Chlipala <adam@chlipala.net>
date Tue, 07 Aug 2012 09:41:02 -0400
parents 252e05bf199d
children 6a621a625b04
comparison
equal deleted inserted replaced
1805:d12192c7aa3e 1806:40557fb08e98
2510 hardcode_into_libs=yes 2510 hardcode_into_libs=yes
2511 ;; 2511 ;;
2512 esac 2512 esac
2513 ;; 2513 ;;
2514 2514
2515 gnu*)
2516 version_type=linux # correct to gnu/linux during the next big refactor
2517 need_lib_prefix=no
2518 need_version=no
2519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2520 soname_spec='${libname}${release}${shared_ext}$major'
2521 shlibpath_var=LD_LIBRARY_PATH
2522 shlibpath_overrides_runpath=no
2523 hardcode_into_libs=yes
2524 ;;
2525
2526 haiku*) 2515 haiku*)
2527 version_type=linux # correct to gnu/linux during the next big refactor 2516 version_type=linux # correct to gnu/linux during the next big refactor
2528 need_lib_prefix=no 2517 need_lib_prefix=no
2529 need_version=no 2518 need_version=no
2530 dynamic_linker="$host_os runtime_loader" 2519 dynamic_linker="$host_os runtime_loader"
2637 linux*oldld* | linux*aout* | linux*coff*) 2626 linux*oldld* | linux*aout* | linux*coff*)
2638 dynamic_linker=no 2627 dynamic_linker=no
2639 ;; 2628 ;;
2640 2629
2641 # This must be glibc/ELF. 2630 # This must be glibc/ELF.
2642 linux* | k*bsd*-gnu | kopensolaris*-gnu) 2631 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2643 version_type=linux # correct to gnu/linux during the next big refactor 2632 version_type=linux # correct to gnu/linux during the next big refactor
2644 need_lib_prefix=no 2633 need_lib_prefix=no
2645 need_version=no 2634 need_version=no
2646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 2635 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2647 soname_spec='${libname}${release}${shared_ext}$major' 2636 soname_spec='${libname}${release}${shared_ext}$major'
3253 else 3242 else
3254 lt_cv_deplibs_check_method=pass_all 3243 lt_cv_deplibs_check_method=pass_all
3255 fi 3244 fi
3256 ;; 3245 ;;
3257 3246
3258 gnu*)
3259 lt_cv_deplibs_check_method=pass_all
3260 ;;
3261
3262 haiku*) 3247 haiku*)
3263 lt_cv_deplibs_check_method=pass_all 3248 lt_cv_deplibs_check_method=pass_all
3264 ;; 3249 ;;
3265 3250
3266 hpux10.20* | hpux11*) 3251 hpux10.20* | hpux11*)
3295 esac 3280 esac
3296 lt_cv_deplibs_check_method=pass_all 3281 lt_cv_deplibs_check_method=pass_all
3297 ;; 3282 ;;
3298 3283
3299 # This must be glibc/ELF. 3284 # This must be glibc/ELF.
3300 linux* | k*bsd*-gnu | kopensolaris*-gnu) 3285 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3301 lt_cv_deplibs_check_method=pass_all 3286 lt_cv_deplibs_check_method=pass_all
3302 ;; 3287 ;;
3303 3288
3304 netbsd* | netbsdelf*-gnu) 3289 netbsd* | netbsdelf*-gnu)
3305 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 3290 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4047 ;; 4032 ;;
4048 *) 4033 *)
4049 ;; 4034 ;;
4050 esac 4035 esac
4051 ;; 4036 ;;
4052 linux* | k*bsd*-gnu | kopensolaris*-gnu) 4037 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4053 case $cc_basename in 4038 case $cc_basename in
4054 KCC*) 4039 KCC*)
4055 # KAI C++ Compiler 4040 # KAI C++ Compiler
4056 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' 4041 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4057 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' 4042 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4346 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 4331 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4347 # PIC (with -KPIC) is the default. 4332 # PIC (with -KPIC) is the default.
4348 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 4333 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4349 ;; 4334 ;;
4350 4335
4351 linux* | k*bsd*-gnu | kopensolaris*-gnu) 4336 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4352 case $cc_basename in 4337 case $cc_basename in
4353 # old Intel for x86_64 which still supported -KPIC. 4338 # old Intel for x86_64 which still supported -KPIC.
4354 ecc*) 4339 ecc*)
4355 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 4340 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4356 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 4341 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6239 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 6224 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
6240 # conventions 6225 # conventions
6241 _LT_TAGVAR(ld_shlibs, $1)=yes 6226 _LT_TAGVAR(ld_shlibs, $1)=yes
6242 ;; 6227 ;;
6243 6228
6244 gnu*)
6245 ;;
6246
6247 haiku*) 6229 haiku*)
6248 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 6230 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6249 _LT_TAGVAR(link_all_deplibs, $1)=yes 6231 _LT_TAGVAR(link_all_deplibs, $1)=yes
6250 ;; 6232 ;;
6251 6233
6403 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 6385 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6404 _LT_TAGVAR(hardcode_libdir_separator, $1)=: 6386 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6405 _LT_TAGVAR(inherit_rpath, $1)=yes 6387 _LT_TAGVAR(inherit_rpath, $1)=yes
6406 ;; 6388 ;;
6407 6389
6408 linux* | k*bsd*-gnu | kopensolaris*-gnu) 6390 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6409 case $cc_basename in 6391 case $cc_basename in
6410 KCC*) 6392 KCC*)
6411 # Kuck and Associates, Inc. (KAI) C++ Compiler 6393 # Kuck and Associates, Inc. (KAI) C++ Compiler
6412 6394
6413 # KCC will only create a shared library if the output file 6395 # KCC will only create a shared library if the output file