X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=aclocal.m4;h=6127720d026009a9d7c11c2c57dca925c8790155;hb=a3bbc8adeceb883ba479c6287d819b91f3aae521;hp=4d551aa70afa5e60ece1c846b8d56b92b9e264b1;hpb=acdbf29e9372109304aae530ff845fe9f4aef8de;p=openldap diff --git a/aclocal.m4 b/aclocal.m4 index 4d551aa70a..6127720d02 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -10,18 +10,16 @@ dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A dnl PARTICULAR PURPOSE. -dnl -dnl Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA +dnl Copyright 1998-2004 The OpenLDAP Foundation. dnl All rights reserved. -dnl +dnl dnl Redistribution and use in source and binary forms, with or without dnl modification, are permitted only as authorized by the OpenLDAP -dnl Public License. A copy of this license is available at -dnl http://www.OpenLDAP.org/license.html or in file LICENSE in the -dnl top-level directory of the distribution. -dnl -dnl OpenLDAP Autoconf Macros +dnl Public License. dnl +dnl A copy of this license is available in the file LICENSE in the +dnl top-level directory of the distribution or, alternatively, at +dnl . divert(-1) builtin(include, build/openldap.m4)dnl @@ -768,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"], [AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], @@ -785,6 +785,7 @@ else ]) ]) ]) + ]) ;; esac @@ -1042,6 +1043,10 @@ AC_CACHE_VAL(lt_cv_prog_cc_pic, lt_cv_prog_cc_pic='-KPIC' lt_cv_prog_cc_static='-Bstatic' ;; + + openedition) + # XPLINK code is PIC by default + ;; osf3* | osf4* | osf5*) # All OSF/1 code is PIC. @@ -1782,6 +1787,12 @@ else 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*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes @@ -2319,6 +2330,17 @@ openbsd*) 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*) libname_spec='$name' need_lib_prefix=no @@ -3497,6 +3519,10 @@ openbsd*) fi ;; +openedition*) + lt_cv_deplibs_check_method=pass_all + ;; + osf3* | osf4* | osf5*) # 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'