Skip to content
Snippets Groups Projects
Commit 34d1b107 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Revert libtool update

configure.in and build/*.m4 have to be updated first to latest autoconf (ugh)
parent 99e2e5d8
No related branches found
No related tags found
No related merge requests found
...@@ -10,10 +10,6 @@ dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without ...@@ -10,10 +10,6 @@ dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
dnl PARTICULAR PURPOSE. dnl PARTICULAR PURPOSE.
dnl OpenLDAP Autoconf Macros
dnl $OpenLDAP$
dnl This work is part of OpenLDAP Software <http://www.openldap.org/>.
dnl
dnl Copyright 1998-2005 The OpenLDAP Foundation. dnl Copyright 1998-2005 The OpenLDAP Foundation.
dnl All rights reserved. dnl All rights reserved.
dnl dnl
...@@ -770,7 +766,9 @@ else ...@@ -770,7 +766,9 @@ else
;; ;;
*) *)
AC_CHECK_FUNC([shl_load], AC_CHECK_FUNC([dllload],
[lt_cv_dlopen="dllload"],
[AC_CHECK_FUNC([shl_load],
[lt_cv_dlopen="shl_load"], [lt_cv_dlopen="shl_load"],
[AC_CHECK_LIB([dld], [shl_load], [AC_CHECK_LIB([dld], [shl_load],
[lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
...@@ -787,6 +785,7 @@ else ...@@ -787,6 +785,7 @@ else
]) ])
]) ])
]) ])
])
;; ;;
esac esac
...@@ -1044,6 +1043,10 @@ AC_CACHE_VAL(lt_cv_prog_cc_pic, ...@@ -1044,6 +1043,10 @@ AC_CACHE_VAL(lt_cv_prog_cc_pic,
lt_cv_prog_cc_pic='-KPIC' lt_cv_prog_cc_pic='-KPIC'
lt_cv_prog_cc_static='-Bstatic' lt_cv_prog_cc_static='-Bstatic'
;; ;;
openedition)
# XPLINK code is PIC by default
;;
osf3* | osf4* | osf5*) osf3* | osf4* | osf5*)
# All OSF/1 code is PIC. # All OSF/1 code is PIC.
...@@ -1784,6 +1787,12 @@ else ...@@ -1784,6 +1787,12 @@ else
fi fi
;; ;;
openedition*)
archive_cmds="\$CC -Wl,DLL \$libobjs \$deplibs \$compiler_flags -o \$lib &&
cp \$linknames \$output_objdir && linknames=''"
export_dynamic_flag_spec="-Wl,DLL"
;;
os2*) os2*)
hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes hardcode_minus_L=yes
...@@ -2321,6 +2330,17 @@ openbsd*) ...@@ -2321,6 +2330,17 @@ openbsd*)
shlibpath_var=LD_LIBRARY_PATH shlibpath_var=LD_LIBRARY_PATH
;; ;;
openedition*)
need_lib_prefix=no
need_version=no
shlibpath_overrides_runpath=yes
shlibpath_var=LIBPATH
postinstall_cmds="rm \$destdir/\$linkname; cp \$linkname \$destdir; chmod a+x \$lib"
# the library's exports are in libname.x; this is the file that must
# actually be linked with to use a DLL.
library_names_spec="\${libname}\${release}.so\$versuffix \${libname}.x"
;;
os2*) os2*)
libname_spec='$name' libname_spec='$name'
need_lib_prefix=no need_lib_prefix=no
...@@ -3499,6 +3519,10 @@ openbsd*) ...@@ -3499,6 +3519,10 @@ openbsd*)
fi fi
;; ;;
openedition*)
lt_cv_deplibs_check_method=pass_all
;;
osf3* | osf4* | osf5*) osf3* | osf4* | osf5*)
# this will be overridden with pass_all, but let us keep it just in case # this will be overridden with pass_all, but let us keep it just in case
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
......
This diff is collapsed.
...@@ -70,8 +70,7 @@ MKDEP_CFLAGS = @OL_MKDEP_FLAGS@ ...@@ -70,8 +70,7 @@ MKDEP_CFLAGS = @OL_MKDEP_FLAGS@
MKVERSION = $(top_srcdir)/build/mkversion -v "$(VERSION)" MKVERSION = $(top_srcdir)/build/mkversion -v "$(VERSION)"
# libtool 1.5+ requires "--tag=CC" LIBTOOL = @LIBTOOL@
LIBTOOL = @LIBTOOL@ --tag=CC
LIBRELEASE = @OPENLDAP_LIBRELEASE@ LIBRELEASE = @OPENLDAP_LIBRELEASE@
LIBVERSION = @OPENLDAP_LIBVERSION@ LIBVERSION = @OPENLDAP_LIBVERSION@
LTVERSION = -release $(LIBRELEASE) -version-info $(LIBVERSION) LTVERSION = -release $(LIBRELEASE) -version-info $(LIBVERSION)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment