]> arthur.barton.de Git - netatalk.git/commitdiff
configure summary and afpd -V: show mDNSResponder or Avahi
authorHAT <hat@fa2.so-net.ne.jp>
Fri, 2 Mar 2012 16:15:10 +0000 (01:15 +0900)
committerHAT <hat@fa2.so-net.ne.jp>
Fri, 2 Mar 2012 16:15:10 +0000 (01:15 +0900)
etc/afpd/afp_options.c
macros/summary.m4

index a66ef8a9c783d35a7e4828b99d0e22470029fc44..673e0bacb8baf11442a363be118f6befc0c040f9 100644 (file)
@@ -596,8 +596,10 @@ static void show_version_extended(void )
 #endif
 
        printf( "      Zeroconf support:\t" );
-#ifdef USE_ZEROCONF
-       puts( "Yes" );
+#if defined (HAVE_MDNS)
+       puts( "mDNSResponder" );
+#elif defined (HAVE_AVAHI)
+       puts( "Avahi" );
 #else
        puts( "No" );
 #endif
index 4c87d8965b712029721b90777dac39676108fd84..dac5fa2cb6b217b9575c18621710b5767fa3590b 100644 (file)
@@ -121,4 +121,9 @@ AC_DEFUN([AC_NETATALK_LIBS_SUMMARY], [
                AC_MSG_RESULT([        LIBS   = $CUPS_LIBS])
                AC_MSG_RESULT([        CFLAGS = $CUPS_CFLAGS])
        fi
+       if test x"$netatalk_cv_zeroconf" = x"yes"; then
+               AC_MSG_RESULT([    ZEROCONF:])
+               AC_MSG_RESULT([        LIBS   = $ZEROCONF_LIBS])
+               AC_MSG_RESULT([        CFLAGS = $ZEROCONF_CFLAGS])
+       fi
 ])