mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-24 14:24:59 +08:00
* ltmain.in: Add new qnx version type support.
* m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Use it. Set ldqnx.so linker type. (AC_DEPLIBS_CHECK_METHOD): QNX6 uses GNU C++, with deplib checking, so use pass_all. (AC_LIBTOOL_PROG_COMPILER_PIC): Use -shared for QNX. (_LT_LANG_CXX_CONFIG): QNX can make shared libraries. * m4/ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): QNX opens deplibs on dlopen. * NEWS: Updated.
This commit is contained in:
parent
eb6bc21178
commit
74e63154f4
13
ChangeLog
13
ChangeLog
@ -1,3 +1,16 @@
|
|||||||
|
2004-05-14 Mike Gorchak <lestat@i.com.ua>
|
||||||
|
|
||||||
|
* ltmain.in: Add new qnx version type support.
|
||||||
|
* m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Use it. Set
|
||||||
|
ldqnx.so linker type.
|
||||||
|
(AC_DEPLIBS_CHECK_METHOD): QNX6 uses GNU C++, with deplib
|
||||||
|
checking, so use pass_all.
|
||||||
|
(AC_LIBTOOL_PROG_COMPILER_PIC): Use -shared for QNX.
|
||||||
|
(_LT_LANG_CXX_CONFIG): QNX can make shared libraries.
|
||||||
|
* m4/ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): QNX opens deplibs on
|
||||||
|
dlopen.
|
||||||
|
* NEWS: Updated.
|
||||||
|
|
||||||
2004-05-05 Peter O'Gorman <peter@pogma.com>
|
2004-05-05 Peter O'Gorman <peter@pogma.com>
|
||||||
|
|
||||||
* m4/libtool.m4 (AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH): Insert space
|
* m4/libtool.m4 (AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH): Insert space
|
||||||
|
1
NEWS
1
NEWS
@ -54,6 +54,7 @@ New in 1.5b: 2004-??-??; CVS version 1.5a, Libtool team:
|
|||||||
* Initial support for amigaos-ppc.
|
* Initial support for amigaos-ppc.
|
||||||
* Support for Intel C++ version 8.0.
|
* Support for Intel C++ version 8.0.
|
||||||
* New support for IBM's xlc and xlc++ on Mac OS X.
|
* New support for IBM's xlc and xlc++ on Mac OS X.
|
||||||
|
* Finished support for QNX RTOS.
|
||||||
* Bug fixes.
|
* Bug fixes.
|
||||||
|
|
||||||
New in 1.5.2: 2004-01-25; CVS version 1.5.0a, Libtool team:
|
New in 1.5.2: 2004-01-25; CVS version 1.5.0a, Libtool team:
|
||||||
|
@ -3100,7 +3100,7 @@ EOF
|
|||||||
|
|
||||||
freebsd-elf)
|
freebsd-elf)
|
||||||
major=".$current"
|
major=".$current"
|
||||||
versuffix=".$current";
|
versuffix=".$current"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
irix | nonstopux)
|
irix | nonstopux)
|
||||||
@ -3147,6 +3147,11 @@ EOF
|
|||||||
verstring="$verstring:${current}.0"
|
verstring="$verstring:${current}.0"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
qnx)
|
||||||
|
major=".$current"
|
||||||
|
versuffix=".$current"
|
||||||
|
;;
|
||||||
|
|
||||||
sunos)
|
sunos)
|
||||||
major=".$current"
|
major=".$current"
|
||||||
versuffix=".$current.$revision"
|
versuffix=".$current.$revision"
|
||||||
@ -4033,7 +4038,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit $EXIT_SUCCESS
|
exit $EXIT_SUCCESS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create links to the real library.
|
# Create links to the real library.
|
||||||
|
76
m4/libtool.m4
vendored
76
m4/libtool.m4
vendored
@ -1967,14 +1967,16 @@ newsos6)
|
|||||||
shlibpath_overrides_runpath=yes
|
shlibpath_overrides_runpath=yes
|
||||||
;;
|
;;
|
||||||
|
|
||||||
nto-qnx*)
|
*nto* | *qnx*)
|
||||||
version_type=linux
|
version_type=qnx
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
soname_spec='${libname}${release}${shared_ext}$major'
|
soname_spec='${libname}${release}${shared_ext}$major'
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
shlibpath_overrides_runpath=yes
|
shlibpath_overrides_runpath=no
|
||||||
|
hardcode_into_libs=yes
|
||||||
|
dynamic_linker='ldqnx.so'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
openbsd*)
|
openbsd*)
|
||||||
@ -2475,8 +2477,8 @@ newos6*)
|
|||||||
lt_cv_file_magic_test_file=/usr/lib/libnls.so
|
lt_cv_file_magic_test_file=/usr/lib/libnls.so
|
||||||
;;
|
;;
|
||||||
|
|
||||||
nto-qnx*)
|
*nto* | *qnx*)
|
||||||
lt_cv_deplibs_check_method=unknown
|
lt_cv_deplibs_check_method=pass_all
|
||||||
;;
|
;;
|
||||||
|
|
||||||
openbsd*)
|
openbsd*)
|
||||||
@ -2952,6 +2954,11 @@ m4_if([$1], [CXX], [
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
*qnx* | *nto*)
|
||||||
|
# QNX uses GNU C++, but need to define -shared option too, otherwise
|
||||||
|
# it will coredump.
|
||||||
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
|
||||||
;;
|
;;
|
||||||
@ -3076,6 +3083,11 @@ m4_if([$1], [CXX], [
|
|||||||
;;
|
;;
|
||||||
netbsd*)
|
netbsd*)
|
||||||
;;
|
;;
|
||||||
|
*qnx* | *nto*)
|
||||||
|
# QNX uses GNU C++, but need to define -shared option too, otherwise
|
||||||
|
# it will coredump.
|
||||||
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
|
||||||
|
;;
|
||||||
osf3* | osf4* | osf5*)
|
osf3* | osf4* | osf5*)
|
||||||
case $cc_basename in
|
case $cc_basename in
|
||||||
KCC)
|
KCC)
|
||||||
@ -3198,19 +3210,6 @@ m4_if([$1], [CXX], [
|
|||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
msdosdjgpp*)
|
|
||||||
# Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
||||||
# on systems that don't support them.
|
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
|
|
||||||
enable_shared=no
|
|
||||||
;;
|
|
||||||
|
|
||||||
sysv4*MP*)
|
|
||||||
if test -d /usr/nec; then
|
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
|
|
||||||
hpux*)
|
hpux*)
|
||||||
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
|
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
|
||||||
# not for PA HP-UX.
|
# not for PA HP-UX.
|
||||||
@ -3224,6 +3223,25 @@ m4_if([$1], [CXX], [
|
|||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
msdosdjgpp*)
|
||||||
|
# Just because we use GCC doesn't mean we suddenly get shared libraries
|
||||||
|
# on systems that don't support them.
|
||||||
|
_LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
|
||||||
|
enable_shared=no
|
||||||
|
;;
|
||||||
|
|
||||||
|
*nto* | *qnx*)
|
||||||
|
# QNX uses GNU C++, but need to define -shared option too, otherwise
|
||||||
|
# it will coredump.
|
||||||
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
|
||||||
|
;;
|
||||||
|
|
||||||
|
sysv4*MP*)
|
||||||
|
if test -d /usr/nec; then
|
||||||
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
|
||||||
;;
|
;;
|
||||||
@ -3279,11 +3297,6 @@ m4_if([$1], [CXX], [
|
|||||||
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
|
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
newsos6)
|
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
|
|
||||||
;;
|
|
||||||
|
|
||||||
linux*)
|
linux*)
|
||||||
case $CC in
|
case $CC in
|
||||||
icc* | ecc*)
|
icc* | ecc*)
|
||||||
@ -3299,6 +3312,17 @@ m4_if([$1], [CXX], [
|
|||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
newsos6)
|
||||||
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
||||||
|
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
|
||||||
|
;;
|
||||||
|
|
||||||
|
*nto* | *qnx*)
|
||||||
|
# QNX uses GNU C++, but need to define -shared option too, otherwise
|
||||||
|
# it will coredump.
|
||||||
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
|
||||||
|
;;
|
||||||
|
|
||||||
osf3* | osf4* | osf5*)
|
osf3* | osf4* | osf5*)
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
||||||
# All OSF/1 code is PIC.
|
# All OSF/1 code is PIC.
|
||||||
@ -4002,6 +4026,9 @@ _LT_EOF
|
|||||||
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
|
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
*nto* | *qnx*)
|
||||||
|
;;
|
||||||
|
|
||||||
openbsd*)
|
openbsd*)
|
||||||
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
|
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
|
||||||
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
|
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
|
||||||
@ -5057,6 +5084,9 @@ if test -n "$compiler"; then
|
|||||||
# Workaround some broken pre-1.5 toolchains
|
# Workaround some broken pre-1.5 toolchains
|
||||||
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
|
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
|
||||||
;;
|
;;
|
||||||
|
*nto* | *qnx*)
|
||||||
|
_LT_AC_TAGVAR(ld_shlibs, $1)=yes
|
||||||
|
;;
|
||||||
osf3*)
|
osf3*)
|
||||||
case $cc_basename in
|
case $cc_basename in
|
||||||
KCC)
|
KCC)
|
||||||
|
@ -194,6 +194,9 @@ AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
|
|||||||
# is used to find them so we can finally say `yes'.
|
# is used to find them so we can finally say `yes'.
|
||||||
libltdl_cv_sys_dlopen_deplibs=yes
|
libltdl_cv_sys_dlopen_deplibs=yes
|
||||||
;;
|
;;
|
||||||
|
qnx*)
|
||||||
|
libltdl_cv_sys_dlopen_deplibs=yes
|
||||||
|
;;
|
||||||
solaris*)
|
solaris*)
|
||||||
libltdl_cv_sys_dlopen_deplibs=yes
|
libltdl_cv_sys_dlopen_deplibs=yes
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user