2000-04-02 08:26:22 +00:00
|
|
|
--- ltconfig.orig Tue Dec 7 13:50:48 1999
|
|
|
|
+++ ltconfig Mon Jan 17 16:31:24 2000
|
1999-05-29 03:45:27 +00:00
|
|
|
@@ -169,7 +169,7 @@
|
|
|
|
# Constants:
|
|
|
|
PROGRAM=ltconfig
|
|
|
|
PACKAGE=libtool
|
2000-04-02 08:26:22 +00:00
|
|
|
-VERSION=1.3.4
|
|
|
|
+VERSION=1.3.4-freebsd-ports
|
|
|
|
TIMESTAMP=" (1.385.2.196 1999/12/07 21:47:57)"
|
|
|
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
|
|
|
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
1999-09-11 01:04:52 +00:00
|
|
|
@@ -185,6 +185,8 @@
|
|
|
|
# which needs '.lib').
|
1999-05-29 03:45:27 +00:00
|
|
|
enable_static=yes
|
|
|
|
enable_fast_install=yes
|
1999-09-11 01:04:52 +00:00
|
|
|
+install_ltlibs=yes
|
|
|
|
+release_suffix=yes
|
1999-05-29 03:45:27 +00:00
|
|
|
enable_dlopen=unknown
|
|
|
|
enable_win32_dll=no
|
|
|
|
ltmain=
|
1999-09-11 01:04:52 +00:00
|
|
|
@@ -246,6 +248,9 @@
|
1999-05-29 03:45:27 +00:00
|
|
|
--disable-shared do not build shared libraries
|
|
|
|
--disable-static do not build static libraries
|
|
|
|
--disable-fast-install do not optimize for fast installation
|
1999-09-11 01:04:52 +00:00
|
|
|
+ --disable-ltlibs don't install the .la archives
|
|
|
|
+ --release-ignore don't use -release specification
|
|
|
|
+ --release-suffix use -release suffix for all files
|
1999-05-29 03:45:27 +00:00
|
|
|
--enable-dlopen enable dlopen support
|
|
|
|
--enable-win32-dll enable building dlls on win32 hosts
|
|
|
|
--help display this help and exit
|
1999-09-11 01:04:52 +00:00
|
|
|
@@ -279,6 +284,12 @@
|
1999-05-29 03:45:27 +00:00
|
|
|
|
|
|
|
--disable-fast-install) enable_fast_install=no ;;
|
|
|
|
|
1999-09-11 01:04:52 +00:00
|
|
|
+ --disable-ltlibs) install_ltlibs=no ;;
|
|
|
|
+
|
|
|
|
+ --release-ignore) release_suffix=no ;;
|
|
|
|
+
|
|
|
|
+ --release-suffix) release_suffix=all ;;
|
1999-05-29 03:45:27 +00:00
|
|
|
+
|
|
|
|
--enable-dlopen) enable_dlopen=yes ;;
|
|
|
|
|
|
|
|
--enable-win32-dll) enable_win32_dll=yes ;;
|
1999-09-11 01:04:52 +00:00
|
|
|
@@ -971,11 +982,11 @@
|
1999-05-29 03:45:27 +00:00
|
|
|
$rm conftest.dat
|
|
|
|
if ln -s X conftest.dat 2>/dev/null; then
|
|
|
|
$rm conftest.dat
|
|
|
|
- LN_S="ln -s"
|
|
|
|
+ LN_S="ln -sf"
|
|
|
|
else
|
|
|
|
LN_S=ln
|
|
|
|
fi
|
|
|
|
- if test "$LN_S" = "ln -s"; then
|
|
|
|
+ if test "$LN_S" = "ln -sf"; then
|
|
|
|
echo "$ac_t"yes 1>&6
|
|
|
|
else
|
|
|
|
echo "$ac_t"no 1>&6
|
1999-09-11 01:04:52 +00:00
|
|
|
@@ -1226,8 +1237,8 @@
|
|
|
|
|
|
|
|
*)
|
|
|
|
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
|
|
|
|
- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
|
|
|
|
- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
|
+ archive_cmds='$CC -shared $compile_rpath $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
|
|
|
|
+ archive_expsym_cmds='$CC -shared $compile_rpath $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
|
else
|
|
|
|
ld_shlibs=no
|
|
|
|
fi
|
2000-04-02 08:26:22 +00:00
|
|
|
@@ -1353,14 +1364,6 @@
|
1999-09-11 01:04:52 +00:00
|
|
|
hardcode_shlibpath_var=no
|
|
|
|
;;
|
|
|
|
|
|
|
|
- # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
|
|
|
- freebsd*)
|
|
|
|
- archive_cmds='$CC -shared -o $lib $libobjs $deplibs $linkopts'
|
|
|
|
- hardcode_libdir_flag_spec='-R$libdir'
|
|
|
|
- hardcode_direct=yes
|
|
|
|
- hardcode_shlibpath_var=no
|
|
|
|
- ;;
|
|
|
|
-
|
|
|
|
hpux9* | hpux10* | hpux11*)
|
|
|
|
case "$host_os" in
|
|
|
|
hpux9*) archive_cmds='$rm $objdir/$soname~$LD -b +b $install_libdir -o $objdir/$soname $libobjs $deplibs $linkopts~test $objdir/$soname = $lib || mv $objdir/$soname $lib' ;;
|
2000-04-02 08:26:22 +00:00
|
|
|
@@ -1775,7 +1778,7 @@
|
1999-09-11 01:04:52 +00:00
|
|
|
version_type=none
|
|
|
|
dynamic_linker="$host_os ld.so"
|
|
|
|
sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
|
|
|
-sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
|
|
|
+sys_lib_search_path_spec="/lib /usr/lib"
|
|
|
|
file_magic_cmd=
|
|
|
|
file_magic_test_file=
|
|
|
|
deplibs_check_method='unknown'
|
2000-04-02 08:26:22 +00:00
|
|
|
@@ -1874,18 +1877,21 @@
|
1999-05-29 03:45:27 +00:00
|
|
|
case "$version_type" in
|
1999-05-04 22:35:39 +00:00
|
|
|
freebsd-elf*)
|
|
|
|
deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
|
1999-05-29 03:45:27 +00:00
|
|
|
- file_magic_cmd=/usr/bin/file
|
1999-05-04 22:35:39 +00:00
|
|
|
- file_magic_test_file=`echo /usr/lib/libc.so*`
|
1999-05-29 03:45:27 +00:00
|
|
|
- library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
|
|
|
|
- need_version=no
|
|
|
|
- need_lib_prefix=no
|
1999-05-04 22:35:39 +00:00
|
|
|
;;
|
|
|
|
freebsd-*)
|
|
|
|
- deplibs_check_method=unknown
|
|
|
|
- library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
|
1999-05-29 03:45:27 +00:00
|
|
|
- need_version=yes
|
1999-05-04 22:35:39 +00:00
|
|
|
+ deplibs_check_method='file_magic FreeBSD.* shared library'
|
|
|
|
;;
|
|
|
|
esac
|
1999-05-29 03:45:27 +00:00
|
|
|
+ file_magic_cmd=/usr/bin/file
|
|
|
|
+ file_magic_test_file=`echo /usr/lib/libc.so.*`
|
1999-09-11 01:04:52 +00:00
|
|
|
+ if test "$release_suffix" = all; then
|
|
|
|
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so'
|
|
|
|
+ else
|
|
|
|
+ library_names_spec='${libname}${release}.so$versuffix ${libname}.so'
|
|
|
|
+ fi
|
1999-05-29 03:45:27 +00:00
|
|
|
+ need_version=no
|
|
|
|
+ need_lib_prefix=no
|
|
|
|
+ finish_cmds='/usr/bin/env OBJFORMAT="'"$objformat"'" /sbin/ldconfig -m $libdir'
|
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
1999-09-11 01:04:52 +00:00
|
|
|
case "$host_os" in
|
2000-04-02 08:26:22 +00:00
|
|
|
freebsd2* | freebsd3.[01]* | freebsdelf3.[01]*)
|
|
|
|
@@ -2776,6 +2782,15 @@
|
1999-05-29 03:45:27 +00:00
|
|
|
|
|
|
|
# Shell to use when invoking shell scripts.
|
|
|
|
SHELL=$LTSHELL
|
|
|
|
+
|
|
|
|
+# Whether to waste disk space.
|
|
|
|
+install_ltlibs=$install_ltlibs
|
1999-09-11 01:04:52 +00:00
|
|
|
+
|
|
|
|
+# What to do with -release.
|
|
|
|
+# yes - only for shared archive
|
|
|
|
+# no - ingnore
|
|
|
|
+# all - for all archives
|
|
|
|
+release_suffix=$release_suffix
|
1999-05-29 03:45:27 +00:00
|
|
|
|
|
|
|
# Whether or not to build shared libraries.
|
|
|
|
build_libtool_libs=$enable_shared
|