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