1 dnl Autoconf macros, display configure summary
3 AC_DEFUN([AC_NETATALK_CONFIG_SUMMARY], [
5 AC_MSG_RESULT([Configure summary:])
6 AC_MSG_RESULT([ INIT STYLE:])
7 if test "x$init_style" != "x"; then
8 AC_MSG_RESULT([ $init_style])
10 AC_MSG_RESULT([ none])
12 AC_MSG_RESULT([ AFP:])
13 AC_MSG_RESULT([ Extended Attributes: $neta_cv_eas])
14 AC_MSG_RESULT([ ACL support: $ac_cv_have_acls])
15 AC_MSG_RESULT([ Spotlight: $ac_cv_have_tracker])
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([ Zeroconf support: $netatalk_cv_zeroconf])
45 AC_MSG_RESULT([ tcp wrapper support: $netatalk_cv_tcpwrap])
46 dnl if test x"$netatalk_cv_linux_sendfile" != x; then
47 dnl AC_MSG_RESULT([ Linux sendfile support: $netatalk_cv_linux_sendfile])
49 AC_MSG_RESULT([ quota support: $netatalk_cv_quotasupport])
50 AC_MSG_RESULT([ admin group support: $netatalk_cv_admin_group])
51 AC_MSG_RESULT([ valid shell check: $netatalk_cv_use_shellcheck])
52 AC_MSG_RESULT([ cracklib support: $netatalk_cv_with_cracklib])
53 dnl AC_MSG_RESULT([ Samba sharemode interop: $neta_cv_have_smbshmd])
54 AC_MSG_RESULT([ ACL support: $with_acl_support])
55 AC_MSG_RESULT([ Kerberos support: $with_kerberos])
56 AC_MSG_RESULT([ LDAP support: $netatalk_cv_ldap])
57 AC_MSG_RESULT([ AFP stats via dbus: $atalk_cv_with_dbus])
58 AC_MSG_RESULT([ dtrace probes: $WDTRACE])
59 AC_MSG_RESULT([ Paths:])
60 AC_MSG_RESULT([ Netatalk lockfile: $ac_cv_netatalk_lock])
61 if test "x$init_style" != x"none"; then
62 AC_MSG_RESULT([ init directory: $ac_cv_init_dir])
64 if test x"$atalk_cv_with_dbus" = x"yes"; then
65 AC_MSG_RESULT([ dbus system directory: $ac_cv_dbus_sysdir])
67 if test x"$use_pam_so" = x"yes"; then
68 if test x"$netatalk_cv_install_pam" = x"yes"; then
69 AC_MSG_RESULT([ pam config directory: $ac_cv_pamdir])
72 AC_MSG_WARN([ PAM support was configured for your system, but the netatalk PAM configuration file])
73 AC_MSG_WARN([ cannot be installed. Please install the config/netatalk.pamd file manually.])
74 AC_MSG_WARN([ If you're running Solaris or BSD you'll have to edit /etc/pam.conf to get PAM working.])
75 AC_MSG_WARN([ You can also re-run configure and specify --without-pam to disable PAM support.])
78 AC_MSG_RESULT([ Documentation:])
79 AC_MSG_RESULT([ Docbook: $XSLTPROC_WORKS])
83 AC_DEFUN([AC_NETATALK_LIBS_SUMMARY], [
84 dnl #################################################
85 dnl # Display summary of libraries detected
87 AC_MSG_RESULT([Compilation summary:])
88 AC_MSG_RESULT([ CPPFLAGS = $CPPFLAGS])
89 AC_MSG_RESULT([ CFLAGS = $CFLAGS])
90 AC_MSG_RESULT([ LIBS = $LIBS])
91 AC_MSG_RESULT([ PTHREADS:])
92 AC_MSG_RESULT([ LIBS = $PTHREAD_LIBS])
93 AC_MSG_RESULT([ CFLAGS = $PTHREAD_CFLAGS])
94 if test x"$ac_cv_have_tracker" = x"yes"; then
95 AC_MSG_RESULT([ TRACKER:])
96 AC_MSG_RESULT([ LIBS = $TRACKER_LIBS])
97 AC_MSG_RESULT([ CFLAGS = $TRACKER_CFLAGS])
99 if test x"$neta_cv_have_openssl" = x"yes"; then
100 AC_MSG_RESULT([ SSL:])
101 AC_MSG_RESULT([ LIBS = $SSL_LIBS])
102 AC_MSG_RESULT([ CFLAGS = $SSL_CFLAGS])
104 if test x"$neta_cv_have_libgcrypt" = x"yes"; then
105 AC_MSG_RESULT([ LIBGCRYPT:])
106 AC_MSG_RESULT([ LIBS = $LIBGCRYPT_LIBS])
107 AC_MSG_RESULT([ CFLAGS = $LIBGCRYPT_CFLAGS])
109 if test x"$netatalk_cv_use_pam" = x"yes"; then
110 AC_MSG_RESULT([ PAM:])
111 AC_MSG_RESULT([ LIBS = $PAM_LIBS])
112 AC_MSG_RESULT([ CFLAGS = $PAM_CFLAGS])
114 if test x"$netatalk_cv_use_pam" = x"yes"; then
115 AC_MSG_RESULT([ WRAP:])
116 AC_MSG_RESULT([ LIBS = $WRAP_LIBS])
117 AC_MSG_RESULT([ CFLAGS = $WRAP_CFLAGS])
119 if test x"$bdb_required" = x"yes"; then
120 AC_MSG_RESULT([ BDB:])
121 AC_MSG_RESULT([ LIBS = $BDB_LIBS])
122 AC_MSG_RESULT([ CFLAGS = $BDB_CFLAGS])
124 if test x"$netatalk_cv_build_krb5_uam" = x"yes"; then
125 AC_MSG_RESULT([ GSSAPI:])
126 AC_MSG_RESULT([ LIBS = $GSSAPI_LIBS])
127 AC_MSG_RESULT([ CFLAGS = $GSSAPI_CFLAGS])
129 if test x"$netatalk_cv_use_cups" = x"yes"; then
130 AC_MSG_RESULT([ CUPS:])
131 AC_MSG_RESULT([ LIBS = $CUPS_LIBS])
132 AC_MSG_RESULT([ CFLAGS = $CUPS_CFLAGS])
134 if test x"$netatalk_cv_zeroconf" = x"yes"; then
135 AC_MSG_RESULT([ ZEROCONF:])
136 AC_MSG_RESULT([ LIBS = $ZEROCONF_LIBS])
137 AC_MSG_RESULT([ CFLAGS = $ZEROCONF_CFLAGS])
139 if test x"$netatalk_cv_ldap" = x"yes"; then
140 AC_MSG_RESULT([ LDAP:])
141 AC_MSG_RESULT([ LIBS = $LDAP_LDFLAGS $LDAP_LIBS])
142 AC_MSG_RESULT([ CFLAGS = $LDAP_CFLAGS])
144 AC_MSG_RESULT([ LIBEVENT:])
145 if test x"$use_bundled_libevent" = x"yes"; then
146 AC_MSG_RESULT([ bundled])
148 AC_MSG_RESULT([ LIBS = $LIBEVENT_CFLAGS])
149 AC_MSG_RESULT([ CFLAGS = $LIBEVENT_LDFLAGS])
151 AC_MSG_RESULT([ TDB:])
152 if test x"$use_bundled_tdb" = x"yes"; then
153 AC_MSG_RESULT([ bundled])
155 AC_MSG_RESULT([ LIBS = $TDB_LIBS])
156 AC_MSG_RESULT([ CFLAGS = $TDB_CFLAGS])
158 if test x"$ac_cv_with_cnid_mysql" = x"yes"; then
159 AC_MSG_RESULT([ MySQL:])
160 AC_MSG_RESULT([ LIBS = $MYSQL_LIBS])
161 AC_MSG_RESULT([ CFLAGS = $MYSQL_CFLAGS])