]> arthur.barton.de Git - netatalk.git/blob - macros/summary.m4
AFP statistics via dbus IPC
[netatalk.git] / macros / summary.m4
1 dnl Autoconf macros, display configure summary
2
3 AC_DEFUN([AC_NETATALK_CONFIG_SUMMARY], [
4
5         AC_MSG_RESULT([Configure summary:])
6         AC_MSG_RESULT([    INIT STYLE:])
7         if test "x$init_style" != "x"; then
8                 AC_MSG_RESULT([         $init_style])
9         else
10                 AC_MSG_RESULT([         none])
11         fi
12         AC_MSG_RESULT([    Netatalk lockfile:])
13         AC_MSG_RESULT([         $ac_cv_netatalk_lock])
14         AC_MSG_RESULT([    AFP:])
15         AC_MSG_RESULT([         Extended Attributes: $neta_cv_eas])
16         AC_MSG_RESULT([         ACL support: $with_acl_support])
17         AC_MSG_RESULT([    CNID:])
18         AC_MSG_RESULT([         backends: $compiled_backends])
19         AC_MSG_RESULT([    UAMS:])
20         uams_using_options=""
21         if test x"$netatalk_cv_use_pam" != x"no"; then
22                 uams_using_options="PAM"
23         fi
24         if test "x$netatalk_cv_use_shadowpw" = "xyes"; then
25                 uams_using_options="$uams_using_options SHADOW"
26         fi
27         if test "x$neta_cv_compile_dhx" = "xyes"; then
28                 AC_MSG_RESULT([         DHX     ($uams_using_options)])
29         fi
30         if test "x$neta_cv_compile_dhx2" = "xyes"; then
31                 AC_MSG_RESULT([         DHX2    ($uams_using_options)])
32         fi
33         if test "x$neta_cv_have_openssl" = "xyes"; then
34                 AC_MSG_RESULT([         RANDNUM (afppasswd)])
35         fi
36         if test x"$netatalk_cv_build_krb5_uam" = x"yes"; then
37                 AC_MSG_RESULT([         Kerberos V])
38         fi
39         if test x"$compile_pgp" = x"yes"; then
40                 AC_MSG_RESULT([         PGP])
41         fi
42         AC_MSG_RESULT([         clrtxt  ($uams_using_options)])
43         AC_MSG_RESULT([         guest])
44         AC_MSG_RESULT([    Options:])
45         AC_MSG_RESULT([         Zeroconf support:        $netatalk_cv_zeroconf])
46         AC_MSG_RESULT([         tcp wrapper support:     $netatalk_cv_tcpwrap])
47 dnl     if test x"$netatalk_cv_linux_sendfile" != x; then
48 dnl             AC_MSG_RESULT([         Linux sendfile support:  $netatalk_cv_linux_sendfile])
49 dnl     fi
50         AC_MSG_RESULT([         quota support:           $netatalk_cv_quotasupport])
51         AC_MSG_RESULT([         admin group support:     $netatalk_cv_admin_group])
52         AC_MSG_RESULT([         valid shell check:       $netatalk_cv_use_shellcheck])
53         AC_MSG_RESULT([         cracklib support:        $netatalk_cv_with_cracklib])
54 dnl     AC_MSG_RESULT([         Samba sharemode interop: $neta_cv_have_smbshmd])
55         AC_MSG_RESULT([         ACL support:             $with_acl_support])
56         AC_MSG_RESULT([         Kerberos support:        $with_kerberos])
57         AC_MSG_RESULT([         LDAP support:            $netatalk_cv_ldap])
58         AC_MSG_RESULT([         dbus support:            $have_dbus_glib])
59         AC_MSG_RESULT([         dbus system directory:   $ac_cv_dbus_sysdir])
60         if test x"$use_pam_so" = x"yes" -a x"$netatalk_cv_install_pam" = x"no"; then
61                 AC_MSG_RESULT([])
62                 AC_MSG_WARN([ PAM support was configured for your system, but the netatalk PAM configuration file])
63                 AC_MSG_WARN([ cannot be installed. Please install the config/netatalk.pamd file manually.])
64                 AC_MSG_WARN([ If you're running Solaris or BSD you'll have to edit /etc/pam.conf to get PAM working.])
65                 AC_MSG_WARN([ You can also re-run configure and specify --without-pam to disable PAM support.])
66         fi
67
68 ])
69
70
71 AC_DEFUN([AC_NETATALK_LIBS_SUMMARY], [
72         dnl #################################################
73         dnl # Display summary of libraries detected
74
75         AC_MSG_RESULT([Using libraries:])
76         AC_MSG_RESULT([    LIBS           = $LIBS])
77         AC_MSG_RESULT([    CFLAGS         = $CFLAGS])
78         AC_MSG_RESULT([    PTHREADS:])
79         AC_MSG_RESULT([        LIBS   = $PTHREAD_LIBS])
80         AC_MSG_RESULT([        CFLAGS = $PTHREAD_CFLAGS])
81         if test x"$neta_cv_have_openssl" = x"yes"; then
82                 AC_MSG_RESULT([    SSL:])
83                 AC_MSG_RESULT([        LIBS   = $SSL_LIBS])
84                 AC_MSG_RESULT([        CFLAGS = $SSL_CFLAGS])
85         fi
86         if test x"$neta_cv_have_libgcrypt" = x"yes"; then
87                 AC_MSG_RESULT([    LIBGCRYPT:])
88                 AC_MSG_RESULT([        LIBS   = $LIBGCRYPT_LIBS])
89                 AC_MSG_RESULT([        CFLAGS = $LIBGCRYPT_CFLAGS])
90         fi
91         if test x"$netatalk_cv_use_pam" = x"yes"; then
92                 AC_MSG_RESULT([    PAM:])
93                 AC_MSG_RESULT([        LIBS   = $PAM_LIBS])
94                 AC_MSG_RESULT([        CFLAGS = $PAM_CFLAGS])
95         fi
96         if test x"$netatalk_cv_use_pam" = x"yes"; then
97                 AC_MSG_RESULT([    WRAP:])
98                 AC_MSG_RESULT([        LIBS   = $WRAP_LIBS])
99                 AC_MSG_RESULT([        CFLAGS = $WRAP_CFLAGS])
100         fi
101         if test x"$bdb_required" = x"yes"; then
102                 AC_MSG_RESULT([    BDB:])
103                 AC_MSG_RESULT([        LIBS   = $BDB_LIBS])
104                 AC_MSG_RESULT([        CFLAGS = $BDB_CFLAGS])
105         fi
106         if test x"$netatalk_cv_build_krb5_uam" = x"yes"; then
107                 AC_MSG_RESULT([    GSSAPI:])
108                 AC_MSG_RESULT([        LIBS   = $GSSAPI_LIBS])
109                 AC_MSG_RESULT([        CFLAGS = $GSSAPI_CFLAGS])
110         fi
111         if test x"$netatalk_cv_use_cups" = x"yes"; then
112                 AC_MSG_RESULT([    CUPS:])
113                 AC_MSG_RESULT([        LIBS   = $CUPS_LIBS])
114                 AC_MSG_RESULT([        CFLAGS = $CUPS_CFLAGS])
115         fi
116         if test x"$netatalk_cv_zeroconf" = x"yes"; then
117                 AC_MSG_RESULT([    ZEROCONF:])
118                 AC_MSG_RESULT([        LIBS   = $ZEROCONF_LIBS])
119                 AC_MSG_RESULT([        CFLAGS = $ZEROCONF_CFLAGS])
120         fi
121         if test x"$netatalk_cv_ldap" = x"yes"; then
122                 AC_MSG_RESULT([    LDAP:])
123                 AC_MSG_RESULT([        LIBS   = $LDAP_LDLFLAGS $LDAP_LIBS])
124                 AC_MSG_RESULT([        CFLAGS = $LDAP_CFLAGS])
125         fi
126     AC_MSG_RESULT([    LIBEVENT:])
127     if test x"$use_bundled_libevent" = x"yes"; then
128                 AC_MSG_RESULT([        bundled])
129     else
130                 AC_MSG_RESULT([        LIBS   = $LIBEVENT_CFLAGS])
131                 AC_MSG_RESULT([        CFLAGS = $LIBEVENT_LDFLAGS])
132     fi
133 ])