describe exactly how the 21.4.17 configure.in fails for you and
on what platforms?
Just the same way as described in
<
http://list-archive.xemacs.org/xemacs-beta/200411/msg00557.html>
posted on Fri, 26 Nov 2004 22:57:47 +0300
(<027c41a78aba26-gin(a)mo.msk.ru>).
Change in revision 1.232 of `configure.in' caused lossage in the
following circumstances.
. System ldap applications must be linked with `-lldap -llber'.
Linking with `-lldap' only causes undefined symbol errors.
. `--with-ldap' arg was specified to `configure'.
In this case `configure' fails to detect library that must be linked
to use ldap. `with_ldap' is `yes', and appropriate `AC_CHECK_LIB' is
not called. `with_ldap_lber' left unset, and `ldap_libs' are not set
properly. This breaks further check of ldap toolkit features and
`eldap.c' compilation.
Never checked other ldap toolkits with other sets of required
libraries.
Please decide what should mean that `--with-ldap' was specified by
`configure' caller and what should mean success of some stage of ldap
toolkit auto-detection, and fix the confusion.
In 21.4 it is exactly the same, since that 21.5 change was copied into
21.4 (stable) branch without any correction, as pointed out in
<
http://list-archive.xemacs.org/xemacs-patches/200502/msg00225.html>
posted on Thu, 24 Feb 2005 22:40:07 +0300
(<027e421e2d9664-gin(a)mo.msk.ru>).
As for platforms, one requiring `-lldap -llber' was asplinux 7.1 on
i386, with openldap bundled with it. In other linux-gnu systems
linking with `-lldap' only may succeed, including mandrakelinux 10.0
on i386. Never tried to figure out, whether that depends on dynamic
linker features, or openldap version, or both (newer openldap making
use of newer dynamic linker features). Anyway, can not expect linking
with `-lldap' only to succeed on all systems.
Anyway, can easily reproduce the failure by writing a script that is
used in place of compiler and always fails if `-lldap' without
`-llber' is passed to it. Actually used such a script to debug. Will
post it on request.
Would like to see `config.log' entries on ldap configuation on
Volker's system, whatever it is. What value would old / 21.4.17
`configure' code assign to `LIBS' on that system?