]> arthur.barton.de Git - netatalk.git/commitdiff
ADMIN_GRP fix
authoritlm019 <itlm019>
Fri, 15 Sep 2000 20:12:09 +0000 (20:12 +0000)
committeritlm019 <itlm019>
Fri, 15 Sep 2000 20:12:09 +0000 (20:12 +0000)
configure.in

index ff5e62df83675371bce03ccec7015f905eb2e6e1..1846d0878d91a6c076c6e00adcf97cdbd1d9b113 100644 (file)
@@ -126,13 +126,15 @@ dnl --------------------------------------------------------------------------
 dnl specific configuration comes in here:
 dnl --------------------------------------------------------------------------
 
-dnl Left in here for now just in case we need to debug it, but it can be 
-dnl controlled from afpd.conf now.
-dnl AC_ARG_WITH(admin-group,
-dnl    [  --with-admin-group  enable administrative group (set in afpd.conf)],
-       AC_DEFINE (ADMIN_GRP)
-dnl    AC_MSG_RESULT([enabling administrative group support]),
-dnl )
+AC_DEFINE(ADMIN_GRP, 1)
+
+AC_ARG_WITH(admin-group,
+       [  --disable-admin-group  disable admin group],
+        if test "$enableval" = "no"; then
+               AC_DEFINE (ADMIN_GRP, 0)
+               AC_MSG_RESULT([disabling administrative group support]),
+        fi
+ )
 
 AC_ARG_WITH(auth-printing-dir,
        [  --with-auth-printing-dir=path