]> arthur.barton.de Git - netatalk.git/commitdiff
Add EA, LDAP and ACL option status to afpd -V output
authorFrank Lahm <franklahm@googlemail.com>
Mon, 8 Nov 2010 13:43:41 +0000 (14:43 +0100)
committerFrank Lahm <franklahm@googlemail.com>
Mon, 8 Nov 2010 13:43:41 +0000 (14:43 +0100)
configure.in
etc/afpd/afp_options.c

index f7c8a4c428fa7c0d8641d6ffdd6a1a8521f4b0de..ec3a24fde37c898266d4b429edb268cee4fd25f3 100644 (file)
@@ -1220,6 +1220,7 @@ if test "x$neta_cv_eas_sys_found" = "xyes" ; then
       neta_cv_eas="$neta_cv_eas | sys"
    fi
 fi
+AC_DEFINE_UNQUOTED(EA_MODULES,["$neta_cv_eas"],[Available Extended Attributes modules])
 
 dnl --------------------- Check if realpath() takes NULL
 AC_CACHE_CHECK([if the realpath function allows a NULL argument],
index ea1c3491f0b3342f6d75adc9e532863b76695a6f..ca1a040d338a4f260c34728a00764e331874da93 100644 (file)
@@ -612,6 +612,23 @@ static void show_version_extended(void )
 #else
        puts( "No" );
 #endif
+
+       printf( "           ACL support:\t" );
+#ifdef HAVE_ACLS
+       puts( "Yes" );
+#else
+       puts( "No" );
+#endif
+
+       printf( "            EA support:\t" );
+       puts( EA_MODULES );
+
+       printf( "          LDAP support:\t" );
+#ifdef HAVE_LDAP
+       puts( "Yes" );
+#else
+       puts( "No" );
+#endif
 }
 
 /*