Add --with-ext-lib-XXX support to SMB_EXT_LIB_FROM_PKGCONFIG
commitd49bf29609b7f034933e789c7f0f4fa3031f59ba
authorSam Liddicott <sam@liddicott.com>
Wed, 26 Nov 2008 15:24:22 +0000 (26 15:24 +0000)
committerSam Liddicott <sam@liddicott.com>
Wed, 10 Dec 2008 10:10:59 +0000 (10 10:10 +0000)
treefb19319a7151e71d9f886e56c17a93ce21dc9a51
parent54b99dc869239cdc5f41d6c893817b676197cc6a
Add --with-ext-lib-XXX support to SMB_EXT_LIB_FROM_PKGCONFIG

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.
source4/build/m4/public.m4