]> arthur.barton.de Git - netatalk.git/blob - macros/summary.m4
Revert change from 3194183
[netatalk.git] / macros / summary.m4
1 dnl $Id: summary.m4,v 1.6 2009-10-02 09:32:41 franklahm Exp $
2 dnl Autoconf macros, display configure summary
3
4 AC_DEFUN([AC_NETATALK_CONFIG_SUMMARY], [
5
6         AC_MSG_RESULT([Configure summary:])
7         AC_MSG_RESULT([    Install style:])
8         if test "x$sysv_style" != "x"; then
9                 AC_MSG_RESULT([         $sysv_style])
10         else
11                 AC_MSG_RESULT([         none])
12         fi
13         AC_MSG_RESULT([    AFP:])
14         AC_MSG_RESULT([         AFP 3.x calls activated: $afp3])
15         if test "x$afp3" = "xyes"; then
16                 AC_MSG_RESULT([         Large file support (>2GB) for AFP3: $wx_largefile])
17         fi
18         AC_MSG_RESULT([         Extended Attributes: $neta_cv_eas])
19         AC_MSG_RESULT([         DDP enabled: $netatalk_cv_ddp_enabled])
20         AC_MSG_RESULT([    CNID:])
21         AC_MSG_RESULT([         backends: $compiled_backends])
22         AC_MSG_RESULT([    UAMS:])
23         uams_using_options=""
24         if test x"$netatalk_cv_use_pam" != x"no"; then
25                 uams_using_options="PAM"
26         fi
27         if test "x$netatalk_cv_use_shadowpw" = "xyes"; then
28                 uams_using_options="$uams_using_options SHADOW"
29         fi
30         if test "x$neta_cv_compile_dhx" = "xyes"; then
31                 AC_MSG_RESULT([         DHX     ($uams_using_options)])
32         fi
33         if test "x$neta_cv_compile_dhx2" = "xyes"; then
34                 AC_MSG_RESULT([         DHX2    ($uams_using_options)])
35         fi
36         if test "x$neta_cv_have_openssl" = "xyes"; then
37                 AC_MSG_RESULT([         RANDNUM ($uams_using_options)])
38         fi
39         if test x"$netatalk_cv_build_krb5_uam" = x"yes"; then
40                 AC_MSG_RESULT([         Kerberos V])
41         fi
42         if test x"$compile_kerberos" = x"yes"; then
43                 AC_MSG_RESULT([         Kerberos IV])
44         fi
45         if test x"$compile_pgp" = x"yes"; then
46                 AC_MSG_RESULT([         PGP])
47         fi
48         AC_MSG_RESULT([         passwd  ($uams_using_options)])
49         AC_MSG_RESULT([         guest])
50         AC_MSG_RESULT([    Options:])
51         AC_MSG_RESULT([         CUPS support:           $netatalk_cv_use_cups])
52         AC_MSG_RESULT([         SLP support:            $netatalk_cv_srvloc])
53         AC_MSG_RESULT([         tcp wrapper support:    $netatalk_cv_tcpwrap])
54 dnl     if test x"$netatalk_cv_linux_sendfile" != x; then
55 dnl             AC_MSG_RESULT([         Linux sendfile support: $netatalk_cv_linux_sendfile])
56 dnl     fi
57         AC_MSG_RESULT([         quota support:          $netatalk_cv_quotasupport])
58         AC_MSG_RESULT([         admin group support:    $netatalk_cv_admin_group])
59         AC_MSG_RESULT([         valid shell check:      $netatalk_cv_use_shellcheck])
60         AC_MSG_RESULT([         cracklib support:       $netatalk_cv_with_cracklib])
61         AC_MSG_RESULT([         dropbox kludge:         $netatalk_cv_dropkludge])
62         AC_MSG_RESULT([         force volume uid/gid:   $netatalk_cv_force_uidgid])
63         AC_MSG_RESULT([         Apple 2 boot support:   $compile_a2boot])
64         AC_MSG_RESULT([         ACL support:            $neta_cv_nfsv4acl])
65         if test x"$use_pam_so" = x"yes" -a x"$netatalk_cv_install_pam" = x"no"; then
66                 AC_MSG_RESULT([])
67                 AC_MSG_WARN([ PAM support was configured for your system, but the netatalk PAM configuration file])
68                 AC_MSG_WARN([ cannot be installed. Please install the config/netatalk.pamd file manually.])
69                 AC_MSG_WARN([ If you're running Solaris or BSD you'll have to edit /etc/pam.conf to get PAM working.])
70                 AC_MSG_WARN([ You can also re-run configure and specify --without-pam to disable PAM support.])
71         fi
72
73 ])
74
75
76 AC_DEFUN([AC_NETATALK_LIBS_SUMMARY], [
77         dnl #################################################
78         dnl # Display summary of libraries detected
79
80         AC_MSG_RESULT([Using libraries:])
81         AC_MSG_RESULT([    LIBS = $LIBS])
82         AC_MSG_RESULT([    CFLAGS = $CFLAGS])
83         if test x"$neta_cv_have_openssl" = x"yes"; then
84                 AC_MSG_RESULT([    SSL:])
85                 AC_MSG_RESULT([        LIBS   = $SSL_LIBS])
86                 AC_MSG_RESULT([        CFLAGS = $SSL_CFLAGS])
87         fi
88         if test x"$neta_cv_have_libgcrypt" = x"yes"; then
89                 AC_MSG_RESULT([    LIBGCRYPT:])
90                 AC_MSG_RESULT([        LIBS   = $LIBGCRYPT_LIBS])
91                 AC_MSG_RESULT([        CFLAGS = $LIBGCRYPT_CFLAGS])
92         fi
93         if test x"$netatalk_cv_use_pam" = x"yes"; then
94                 AC_MSG_RESULT([    PAM:])
95                 AC_MSG_RESULT([        LIBS   = $PAM_LIBS])
96                 AC_MSG_RESULT([        CFLAGS = $PAM_CFLAGS])
97         fi
98         if test x"$netatalk_cv_use_pam" = x"yes"; then
99                 AC_MSG_RESULT([    WRAP:])
100                 AC_MSG_RESULT([        LIBS   = $WRAP_LIBS])
101                 AC_MSG_RESULT([        CFLAGS = $WRAP_CFLAGS])
102         fi
103         if test x"$bdb_required" = x"yes"; then
104                 AC_MSG_RESULT([    BDB:])
105                 AC_MSG_RESULT([        LIBS   = $BDB_LIBS])
106                 AC_MSG_RESULT([        CFLAGS = $BDB_CFLAGS])
107         fi
108         if test x"$netatalk_cv_build_krb5_uam" = x"yes"; then
109                 AC_MSG_RESULT([    GSSAPI:])
110                 AC_MSG_RESULT([        LIBS   = $GSSAPI_LIBS])
111                 AC_MSG_RESULT([        CFLAGS = $GSSAPI_CFLAGS])
112         fi
113         if test x"$netatalk_cv_srvloc" = x"yes"; then
114                 AC_MSG_RESULT([    SRVLOC:])
115                 AC_MSG_RESULT([        LIBS   = $SLP_LIBS])
116                 AC_MSG_RESULT([        CFLAGS = $SLP_CFLAGS])
117         fi
118         if test x"$netatalk_cv_use_cups" = x"yes"; then
119                 AC_MSG_RESULT([    CUPS:])
120                 AC_MSG_RESULT([        LIBS   = $CUPS_LIBS])
121                 AC_MSG_RESULT([        CFLAGS = $CUPS_CFLAGS])
122         fi
123 ])