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