mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 07:40:08 +08:00
83ef251331
* [openlap] Add new port Merge pull request #1 from dg0yt/openldap Signed-off-by: Gordon Smith <GordonJSmith@gmail.com> * [openlap] Add new port m4.patch is needed when libtool < 2.4.6 m4.patch will only work with autoconf < 2.70 Signed-off-by: Gordon Smith <GordonJSmith@gmail.com> * wip: Make cyrus-sasl optional Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
diff --git a/Makefile.in b/Makefile.in
|
|
index 5c6bec0..c654210 100644
|
|
--- a/Makefile.in
|
|
+++ b/Makefile.in
|
|
@@ -13,7 +13,11 @@
|
|
## top-level directory of the distribution or, alternatively, at
|
|
## <http://www.OpenLDAP.org/license.html>.
|
|
|
|
-SUBDIRS= include libraries clients servers tests doc
|
|
+ifeq ($(patsubst %/debug,DEBUG,$(prefix)),DEBUG)
|
|
+SUBDIRS= include libraries
|
|
+else
|
|
+SUBDIRS= include libraries @TOOLS_SUBDIRS@
|
|
+endif
|
|
CLEANDIRS=
|
|
INSTALLDIRS=
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index e97f548..71dd7a6 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -235,6 +235,12 @@ dnl OL_ARG_ENABLE(referrals,[AS_HELP_STRING([--enable-referrals], [enable LDAPv2
|
|
ol_enable_referrals=${ol_enable_referrals-no}
|
|
OL_ARG_ENABLE(ipv6, [AS_HELP_STRING([--enable-ipv6], [enable IPv6 support])], auto)dnl
|
|
OL_ARG_ENABLE(local, [AS_HELP_STRING([--enable-local], [enable AF_LOCAL (AF_UNIX) socket support])], auto)dnl
|
|
+OL_ARG_ENABLE(tools, [AS_HELP_STRING([--enable-tools], [Build client tools])],no,[no yes])
|
|
+TOOLS_SUBDIRS=""
|
|
+if test "$ol_enable_tools" = "yes" ; then
|
|
+ TOOLS_SUBDIRS="clients"
|
|
+fi
|
|
+AC_SUBST(TOOLS_SUBDIRS)
|
|
|
|
dnl ----------------------------------------------------------------
|
|
dnl General "with" options
|