1 dnl $Id: summary.m4,v 1.6 2009-10-02 09:32:41 franklahm Exp $
2 dnl Autoconf macros, display configure summary
4 AC_DEFUN([AC_NETATALK_CONFIG_SUMMARY], [
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])
11 AC_MSG_RESULT([ none])
13 AC_MSG_RESULT([ AFP:])
14 AC_MSG_RESULT([ Extended Attributes: $neta_cv_eas])
15 AC_MSG_RESULT([ ACL support: $with_acl_support])
16 AC_MSG_RESULT([ CNID:])
17 AC_MSG_RESULT([ backends: $compiled_backends])
18 AC_MSG_RESULT([ UAMS:])
20 if test x"$netatalk_cv_use_pam" != x"no"; then
21 uams_using_options="PAM"
23 if test "x$netatalk_cv_use_shadowpw" = "xyes"; then
24 uams_using_options="$uams_using_options SHADOW"
26 if test "x$neta_cv_compile_dhx" = "xyes"; then
27 AC_MSG_RESULT([ DHX ($uams_using_options)])
29 if test "x$neta_cv_compile_dhx2" = "xyes"; then
30 AC_MSG_RESULT([ DHX2 ($uams_using_options)])
32 if test "x$neta_cv_have_openssl" = "xyes"; then
33 AC_MSG_RESULT([ RANDNUM (afppasswd)])
35 if test x"$netatalk_cv_build_krb5_uam" = x"yes"; then
36 AC_MSG_RESULT([ Kerberos V])
38 if test x"$compile_pgp" = x"yes"; then
41 AC_MSG_RESULT([ clrtxt ($uams_using_options)])
42 AC_MSG_RESULT([ guest])
43 AC_MSG_RESULT([ Options:])
44 AC_MSG_RESULT([ SLP support: $netatalk_cv_srvloc])
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])
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 AC_MSG_RESULT([ Samba sharemode interop: $neta_cv_have_smbshmd])
55 AC_MSG_RESULT([ ACL support: $with_acl_support])
56 AC_MSG_RESULT([ LDAP support: $with_ldap])
57 if test x"$use_pam_so" = x"yes" -a x"$netatalk_cv_install_pam" = x"no"; then
59 AC_MSG_WARN([ PAM support was configured for your system, but the netatalk PAM configuration file])
60 AC_MSG_WARN([ cannot be installed. Please install the config/netatalk.pamd file manually.])
61 AC_MSG_WARN([ If you're running Solaris or BSD you'll have to edit /etc/pam.conf to get PAM working.])
62 AC_MSG_WARN([ You can also re-run configure and specify --without-pam to disable PAM support.])
68 AC_DEFUN([AC_NETATALK_LIBS_SUMMARY], [
69 dnl #################################################
70 dnl # Display summary of libraries detected
72 AC_MSG_RESULT([Using libraries:])
73 AC_MSG_RESULT([ LIBS = $LIBS])
74 AC_MSG_RESULT([ CFLAGS = $CFLAGS])
75 if test x"$neta_cv_have_openssl" = x"yes"; then
76 AC_MSG_RESULT([ SSL:])
77 AC_MSG_RESULT([ LIBS = $SSL_LIBS])
78 AC_MSG_RESULT([ CFLAGS = $SSL_CFLAGS])
80 if test x"$neta_cv_have_libgcrypt" = x"yes"; then
81 AC_MSG_RESULT([ LIBGCRYPT:])
82 AC_MSG_RESULT([ LIBS = $LIBGCRYPT_LIBS])
83 AC_MSG_RESULT([ CFLAGS = $LIBGCRYPT_CFLAGS])
85 if test x"$netatalk_cv_use_pam" = x"yes"; then
86 AC_MSG_RESULT([ PAM:])
87 AC_MSG_RESULT([ LIBS = $PAM_LIBS])
88 AC_MSG_RESULT([ CFLAGS = $PAM_CFLAGS])
90 if test x"$netatalk_cv_use_pam" = x"yes"; then
91 AC_MSG_RESULT([ WRAP:])
92 AC_MSG_RESULT([ LIBS = $WRAP_LIBS])
93 AC_MSG_RESULT([ CFLAGS = $WRAP_CFLAGS])
95 if test x"$bdb_required" = x"yes"; then
96 AC_MSG_RESULT([ BDB:])
97 AC_MSG_RESULT([ LIBS = $BDB_LIBS])
98 AC_MSG_RESULT([ CFLAGS = $BDB_CFLAGS])
100 if test x"$netatalk_cv_build_krb5_uam" = x"yes"; then
101 AC_MSG_RESULT([ GSSAPI:])
102 AC_MSG_RESULT([ LIBS = $GSSAPI_LIBS])
103 AC_MSG_RESULT([ CFLAGS = $GSSAPI_CFLAGS])
105 if test x"$netatalk_cv_srvloc" = x"yes"; then
106 AC_MSG_RESULT([ SRVLOC:])
107 AC_MSG_RESULT([ LIBS = $SLP_LIBS])
108 AC_MSG_RESULT([ CFLAGS = $SLP_CFLAGS])
110 if test x"$netatalk_cv_use_cups" = x"yes"; then
111 AC_MSG_RESULT([ CUPS:])
112 AC_MSG_RESULT([ LIBS = $CUPS_LIBS])
113 AC_MSG_RESULT([ CFLAGS = $CUPS_CFLAGS])