From: Todd C. Miller Date: Wed, 14 Jul 2010 19:56:37 +0000 (-0400) Subject: Add ldap flavor to default build X-Git-Tag: SUDO_1_8_0~380 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=402b35a798dbe42e72b263ed256994f00415a4a7;p=sudo Add ldap flavor to default build --- diff --git a/mkpkg b/mkpkg index c36ee9402..88cd0c7d9 100755 --- a/mkpkg +++ b/mkpkg @@ -120,8 +120,11 @@ case "$platform" in --with-secure-path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin" ;; *) + if test "${SUDO_FLAVOR:-vanilla}" == "ldap"; then + configure_opts="--with-ldap" + fi # Note, must indent with tabs, not spaces due to IFS trickery - configure_opts=" + configure_opts="$configure_opts --prefix=$prefix --with-insults=disabled --with-logging=syslog