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

Sam Liddicott sam at liddicott.com
Wed Nov 26 15:35:48 GMT 2008


metze? Did I meet your expectations?

This one avoids checking for the literal "yes" so that
 --with-ext-lib-LIBLDB=/path/to
could be more easily supported although I don't add that support here

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: 9599f66a972e0ca8d22a01d7b9446a775e9d5b5a.diff
Type: text/x-patch
Size: 4461 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20081126/f3f18544/9599f66a972e0ca8d22a01d7b9446a775e9d5b5a.bin


More information about the samba-technical mailing list