[PATCH] Change how samba (3_0) builds libsmbclient

Gerald (Jerry) Carter jerry at samba.org
Tue Jan 28 16:03:03 GMT 2003

Hash: SHA1

On Sun, 26 Jan 2003 Paul_GreenVOS at vos.stratus.com wrote:

> The following patch changes the build process for samba (3_0) to
> build libsmbclient.so if and only if the operating system
> supports shared libraries.  Today the build process tries to
> build libsmbclient.so even when the configure script has already
> determined that shared libraries aren't supported.
> In the case where libsmbclient.so is requested, either
> explicitly or implicitly and cannot be built, the script
> substitutes libsmbclient.a.
> As before, if libsmbclient is suppressed
> (--without-libsmbclient), then neither file is built.
> I have tested this patch on Stratus VOS (which does not support
> shared libraries) and on Solaris 2.8 (which does support them).
> Samba (3_0) configures and builds as expected on each system.
> I looked in vain for any mention of libsmbclient in the
> documentation files, so I'm not proposing any documentation
> changes.

I think this is ok.  I'm testing it locally and will apply it to 
HEAD/SAMBA_3_0 later today if all goes well.

Thanks Paul.

cheers, jerry
 Hewlett-Packard            ------------------------- http://www.hp.com
 SAMBA Team                 ---------------------- http://www.samba.org
 GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2         "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)

Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/


More information about the samba-technical mailing list