[OGo-GNUstep-Port] Re: Patches

Helge Hess gnustep-port@opengroupware.org
Fri, 18 Jul 2003 13:53:48 +0200


Hi,

more issues, I think I post them to developer too, before other people 
step over it ;-)

skyrix-core/NGLdap
---snip---
  ifneq ($(nosasl),yes)
-libNGLdap_LIBRARIES_DEPEND_UPON += -lsasl
+# libsasl2 is pulled in by libldap; libsasl not found
+#libNGLdap_LIBRARIES_DEPEND_UPON += -lsasl
  endif
---snap----

Wrong. OGo shouldn't only work on the latest, hippiest GNU/Linux 
distribution but even on old ones. And if we added a special compilation 
option on that, it certainly made some sense ;-)

To be exact, there are deployed libldap libraries in some distribution 
(I think it was SuSE 6.3 or something) which do NOT link against libsasl 
even though requiring it.

I know that it breaks on the latest GNU/Linux systems which use 
libsasl2, probably we need to make a configure script which checks for 
the proper sasl library available in the system.

So on modern systems, you can type

   make debug=yes nosasl=yes all

Maybe we should toggle the default-value, probably makes sense.

best regards,
   Helge

PS: I know I should post the OGo source styleguides, will do later ...
-- 
http://www.opengroupware.org/