From: Todd C. Miller Date: Wed, 14 Jul 2010 19:55:59 +0000 (-0400) Subject: Add ldap flavor to default build X-Git-Tag: SUDO_1_7_4~83 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7fb8568061da864185fc592a1e30525efaba1586;p=sudo Add ldap flavor to default build --HG-- branch : 1.7 --- 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