Patches for builds using ../srcdir/configure

Gordon Ross gordon.w.ross at gmail.com
Thu Jun 30 13:54:17 MDT 2011


We use a "wrapper" type build system for Samba 3.5.8 that
expects to be able to build in a separate directory from where
the sources were unpacked.  Normally this is done using: i.e.
   tar ... samba-3.5.8.tgz
   mkdir build
   cd build
   ../samba-3.5.8/source3/configure ...

This mostly works, but when you do this, there are a few things
that actually get built over in the source tree.  (A regression test
for this would be to build with a read-only copy of the sources:)
In our case, this causes us to try to mix 32-bit and 64-bit objects
and bad stuff like that.

Attached are some patches to correct autoconfig for this.
These are against 3.5.8 - hope that's close enough to the
latest make integration easy.

Gordon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libreplace-m4.patch
Type: application/octet-stream
Size: 1365 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20110630/09c5d5fd/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libtdb-m4.patch
Type: application/octet-stream
Size: 303 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20110630/09c5d5fd/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libtevent-m4.patch
Type: application/octet-stream
Size: 756 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20110630/09c5d5fd/attachment-0002.obj>


More information about the samba-technical mailing list