[PATCH] Add --with-ext-lib-XXX support to SMB_EXT_LIB_FROM_PKGCONFIG

Sam Liddicott sam at liddicott.com
Fri Nov 21 16:32:29 GMT 2008


try this one:

Where XXX is also the first argument to SMB_EXT_LIB_FROM_PKGCONFIG
e.g.

as
  SMB_EXT_LIB_FROM_PKGCONFIG(LIBLDB, ....
exists in configure.ac it is now also possible to force selection
of the built-in LIBLDB, or the external LDB, or to prefer the
external LIBLDB if it is present by passing to ./configure

--with-ext-lib-LIBLDB
or
--without-ext-lib-LIBLDB
or
--with-ext-lib-LIBLDB=auto

The behavour defaults to "auto" but can be specified in a new
5th parameter to SMB_EXT_LIB_FROM_PKGCONFIG.

Signed-off-by: Sam Liddicott <sam at liddicott.com>
---
 source4/build/m4/public.m4 |  116
+++++++++++++++++++++++++------------------
 1 files changed, 67 insertions(+), 49 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0850f5314941d62c58a2ab9b6417d260f7dc1bbe.diff
Type: text/x-patch
Size: 4465 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20081121/0c9f3f33/0850f5314941d62c58a2ab9b6417d260f7dc1bbe.bin


More information about the samba-technical mailing list