show_version( );
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
static void show_paths( void )
{
printf( " afp.conf:\t%s\n", _PATH_CONFDIR "afp.conf");
- printf( " afp_signature.conf:\t%s\n", _PATH_CONFDIR "afp_signature.conf");
- printf( " afp_voluuid.conf:\t%s\n", _PATH_CONFDIR "afp_voluuid.conf");
+ printf( " state directory:\t%s\n", _PATH_STATEDIR);
+ printf( " afp_signature.conf:\t%s\n", _PATH_STATEDIR "afp_signature.conf");
+ printf( " afp_voluuid.conf:\t%s\n", _PATH_STATEDIR "afp_voluuid.conf");
printf( " UAM search path:\t%s\n", _PATH_AFPDUAMPATH );
printf( " Server messages path:\t%s\n", SERVERTEXT);
- printf( " lockfile:\t%s\n", _PATH_AFPDLOCK);
}
/*
{
int c, err = 0;
- while (EOF != ( c = getopt( ac, av, "dFvVh" )) ) {
+ while (EOF != ( c = getopt( ac, av, "dF:vVh" )) ) {
switch ( c ) {
case 'd':
obj->cmdlineflags |= OPTION_DEBUG;