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