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([ Netatalk lockfile:])
13 AC_MSG_RESULT([ $ac_cv_netatalk_lock])
14 AC_MSG_RESULT([ AFP:])
15 AC_MSG_RESULT([ Extended Attributes: $neta_cv_eas])
16 AC_MSG_RESULT([ ACL support: $with_acl_support])
17 AC_MSG_RESULT([ Spotlight: $ac_cv_have_tracker])
18 AC_MSG_RESULT([ CNID:])
19 AC_MSG_RESULT([ backends: $compiled_backends])
20 AC_MSG_RESULT([ UAMS:])
22 if test x"$netatalk_cv_use_pam" != x"no"; then
23 uams_using_options="PAM"
25 if test "x$netatalk_cv_use_shadowpw" = "xyes"; then
26 uams_using_options="$uams_using_options SHADOW"
28 if test "x$neta_cv_compile_dhx" = "xyes"; then
29 AC_MSG_RESULT([ DHX ($uams_using_options)])
31 if test "x$neta_cv_compile_dhx2" = "xyes"; then
32 AC_MSG_RESULT([ DHX2 ($uams_using_options)])
34 if test "x$neta_cv_have_openssl" = "xyes"; then
35 AC_MSG_RESULT([ RANDNUM (afppasswd)])
37 if test x"$netatalk_cv_build_krb5_uam" = x"yes"; then
38 AC_MSG_RESULT([ Kerberos V])
40 if test x"$compile_pgp" = x"yes"; then
43 AC_MSG_RESULT([ clrtxt ($uams_using_options)])
44 AC_MSG_RESULT([ guest])
45 AC_MSG_RESULT([ Options:])
46 AC_MSG_RESULT([ Zeroconf support: $netatalk_cv_zeroconf])
47 AC_MSG_RESULT([ tcp wrapper support: $netatalk_cv_tcpwrap])
48 dnl if test x"$netatalk_cv_linux_sendfile" != x; then
49 dnl AC_MSG_RESULT([ Linux sendfile support: $netatalk_cv_linux_sendfile])
51 AC_MSG_RESULT([ quota support: $netatalk_cv_quotasupport])
52 AC_MSG_RESULT([ admin group support: $netatalk_cv_admin_group])
53 AC_MSG_RESULT([ valid shell check: $netatalk_cv_use_shellcheck])
54 AC_MSG_RESULT([ cracklib support: $netatalk_cv_with_cracklib])
55 dnl AC_MSG_RESULT([ Samba sharemode interop: $neta_cv_have_smbshmd])
56 AC_MSG_RESULT([ ACL support: $with_acl_support])
57 AC_MSG_RESULT([ Kerberos support: $with_kerberos])
58 AC_MSG_RESULT([ LDAP support: $netatalk_cv_ldap])
59 AC_MSG_RESULT([ dbus support: $have_dbus_glib])
60 AC_MSG_RESULT([ dbus system directory: $ac_cv_dbus_sysdir])
61 AC_MSG_RESULT([ dtrace probes: $WDTRACE])
62 if test x"$use_pam_so" = x"yes" -a x"$netatalk_cv_install_pam" = x"no"; then
64 AC_MSG_WARN([ PAM support was configured for your system, but the netatalk PAM configuration file])
65 AC_MSG_WARN([ cannot be installed. Please install the config/netatalk.pamd file manually.])
66 AC_MSG_WARN([ If you're running Solaris or BSD you'll have to edit /etc/pam.conf to get PAM working.])
67 AC_MSG_WARN([ You can also re-run configure and specify --without-pam to disable PAM support.])
73 AC_DEFUN([AC_NETATALK_LIBS_SUMMARY], [
74 dnl #################################################
75 dnl # Display summary of libraries detected
77 AC_MSG_RESULT([Using libraries:])
78 AC_MSG_RESULT([ LIBS = $LIBS])
79 AC_MSG_RESULT([ CFLAGS = $CFLAGS])
80 AC_MSG_RESULT([ PTHREADS:])
81 AC_MSG_RESULT([ LIBS = $PTHREAD_LIBS])
82 AC_MSG_RESULT([ CFLAGS = $PTHREAD_CFLAGS])
83 if test x"$neta_cv_have_openssl" = x"yes"; then
84 AC_MSG_RESULT([ SSL:])
85 AC_MSG_RESULT([ LIBS = $SSL_LIBS])
86 AC_MSG_RESULT([ CFLAGS = $SSL_CFLAGS])
88 if test x"$neta_cv_have_libgcrypt" = x"yes"; then
89 AC_MSG_RESULT([ LIBGCRYPT:])
90 AC_MSG_RESULT([ LIBS = $LIBGCRYPT_LIBS])
91 AC_MSG_RESULT([ CFLAGS = $LIBGCRYPT_CFLAGS])
93 if test x"$netatalk_cv_use_pam" = x"yes"; then
94 AC_MSG_RESULT([ PAM:])
95 AC_MSG_RESULT([ LIBS = $PAM_LIBS])
96 AC_MSG_RESULT([ CFLAGS = $PAM_CFLAGS])
98 if test x"$netatalk_cv_use_pam" = x"yes"; then
99 AC_MSG_RESULT([ WRAP:])
100 AC_MSG_RESULT([ LIBS = $WRAP_LIBS])
101 AC_MSG_RESULT([ CFLAGS = $WRAP_CFLAGS])
103 if test x"$bdb_required" = x"yes"; then
104 AC_MSG_RESULT([ BDB:])
105 AC_MSG_RESULT([ LIBS = $BDB_LIBS])
106 AC_MSG_RESULT([ CFLAGS = $BDB_CFLAGS])
108 if test x"$netatalk_cv_build_krb5_uam" = x"yes"; then
109 AC_MSG_RESULT([ GSSAPI:])
110 AC_MSG_RESULT([ LIBS = $GSSAPI_LIBS])
111 AC_MSG_RESULT([ CFLAGS = $GSSAPI_CFLAGS])
113 if test x"$netatalk_cv_use_cups" = x"yes"; then
114 AC_MSG_RESULT([ CUPS:])
115 AC_MSG_RESULT([ LIBS = $CUPS_LIBS])
116 AC_MSG_RESULT([ CFLAGS = $CUPS_CFLAGS])
118 if test x"$netatalk_cv_zeroconf" = x"yes"; then
119 AC_MSG_RESULT([ ZEROCONF:])
120 AC_MSG_RESULT([ LIBS = $ZEROCONF_LIBS])
121 AC_MSG_RESULT([ CFLAGS = $ZEROCONF_CFLAGS])
123 if test x"$netatalk_cv_ldap" = x"yes"; then
124 AC_MSG_RESULT([ LDAP:])
125 AC_MSG_RESULT([ LIBS = $LDAP_LDLFLAGS $LDAP_LIBS])
126 AC_MSG_RESULT([ CFLAGS = $LDAP_CFLAGS])
128 AC_MSG_RESULT([ LIBEVENT:])
129 if test x"$use_bundled_libevent" = x"yes"; then
130 AC_MSG_RESULT([ bundled])
132 AC_MSG_RESULT([ LIBS = $LIBEVENT_CFLAGS])
133 AC_MSG_RESULT([ CFLAGS = $LIBEVENT_LDFLAGS])