s3:build: fix the build when no external talloc and tdb are installed.
authorMichael Adam <obnox@samba.org>
Tue, 1 Dec 2009 14:03:35 +0000 (15:03 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 8 Dec 2009 08:15:19 +0000 (09:15 +0100)
commited7606bdd3b461d4353bd6ef3b38c0f478688f12
treeadeaa26b16d17fe80ea3ede979825b1fd92e8d4f
parenta205d740e9d69c39601fa5e9d75d939d2ff17f52
s3:build: fix the build when no external talloc and tdb are installed.

The check for the external libs and the addition of the include paths
to the CPPFLAGS was too late in configure.

This patch moves the whole subsystem/library section up right below
the detection of "BLDSHARED".
And it updates not only SAMBA_CPPFLAGS but also SAMBA_CONFIGURE_CPPFLAGS
so that many tests that use these flags can now succeed.

Michael
(cherry picked from commit 06618b55e3e9d17cb7802aeed4769166118af373)
source3/configure.in