]> granicus.if.org Git - sudo/commitdiff
Add ldap flavor to default build
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 14 Jul 2010 19:56:37 +0000 (15:56 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 14 Jul 2010 19:56:37 +0000 (15:56 -0400)
mkpkg

diff --git a/mkpkg b/mkpkg
index c36ee94029fd7b5167adeb6ea139517da17dab60..88cd0c7d9414343189127012968d3e5f51524914 100755 (executable)
--- 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