AC_CHECK_PROG(have_lynx, lynx, yes, no)
if test x$have_lynx = xno ; then
- AC_MSG_ERROR([*** Sorry, you have to install lynx or use --disable-lynx ***])
+ AC_MSG_WARN([*** lynx not found, plain text README will not be built ***])
fi
fi
noinst_DATA = README.html cli.html modules.html daemon.html README
EXTRA_DIST = $(noinst_DATA) style.css README.html.in cli.html.in modules.html.in daemon.html.in todo FAQ.html.in
-MAINTAINERCLEANFILES = README README.html cli.html modules.html daemon.html FAQ.html
+MAINTAINERCLEANFILES = README.html cli.html modules.html daemon.html FAQ.html
CLEANFILES =
if USE_LYNX
-e 's,@DEFAULT_CONFIG_FILE\@,$(polypconfdir)/daemon.conf,g' < $< > $@
install-exec-hook:
- chown root $(DESTDIR)$(bindir)/polypaudio
+ chown root $(DESTDIR)$(bindir)/polypaudio ; true
chmod u+s $(DESTDIR)$(bindir)/polypaudio
ln -s pacat $(DESTDIR)$(bindir)/parec
break;
pa_loop_write(STDOUT_FILENO, (uint8_t*) t.memblock->data + t.index, t.length);
- fprintf(stderr, "Wrote %u bytes.\n", t.length);
+ fprintf(stderr, "Wrote %lu bytes.\n", (unsigned long) t.length);
pa_memblock_unref(t.memblock);
}
#include <unistd.h>
#include <errno.h>
#include <sys/types.h>
+#include <sys/stat.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>