* some fixes for MacOS X by Conrad Parker

* Minor build fixes


git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@312 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-11-23 13:00:53 +00:00
parent c827fca3b9
commit 29ec9d343b
5 changed files with 5 additions and 4 deletions

View file

@ -168,7 +168,7 @@ if test x$lynx = xyes ; then
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

View file

@ -19,7 +19,7 @@
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

View file

@ -729,7 +729,7 @@ daemon.conf: daemon.conf.in Makefile
-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

View file

@ -82,7 +82,7 @@ int main(int argc, char *argv[]) {
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);
}

View file

@ -27,6 +27,7 @@
#include <unistd.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>