From 376264d97d6916c820b8b98e3c315f1cecb42dbc Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 2 Dec 2017 10:01:10 +0000 Subject: [PATCH] Never build pulseaudio driver for MacOS --- Makefile | 8 ++++++++ source/Makefile.mk | 2 ++ 2 files changed, 10 insertions(+) diff --git a/Makefile b/Makefile index 620ead142..9acfe6225 100644 --- a/Makefile +++ b/Makefile @@ -744,9 +744,13 @@ else endif ifeq ($(HAVE_HYLIA),true) @printf -- "Link support: $(ANS_YES)\n" +else +ifeq ($(MACOS_OLD),true) + @printf -- "Link support: $(ANS_NO) $(mZ)MacOS >= 10.10 only$(mE)\n" else @printf -- "Link support: $(ANS_NO) $(mZ)Linux, MacOS and Windows only$(mE)\n" endif +endif ifeq ($(HAVE_LIBLO),true) @printf -- "OSC support: $(ANS_YES)\n" else @@ -766,11 +770,15 @@ else @printf -- "ALSA: $(ANS_NO) $(mZ)Linux only$(mE)\n" endif ifeq ($(UNIX),true) +ifneq ($(MACOS),true) ifeq ($(HAVE_PULSEAUDIO),true) @printf -- "PulseAudio: $(ANS_YES)\n" else @printf -- "PulseAudio: $(ANS_NO) $(mS)Missing PulseAudio$(mE)\n" endif +else + @printf -- "PulseAudio: $(ANS_NO) $(mZ)Not available for MacOS$(mE)\n" +endif else @printf -- "PulseAudio: $(ANS_NO) $(mZ)Only available for Unix systems$(mE)\n" endif diff --git a/source/Makefile.mk b/source/Makefile.mk index ab263d6d3..5674b0194 100644 --- a/source/Makefile.mk +++ b/source/Makefile.mk @@ -224,8 +224,10 @@ HAVE_X11 = $(shell pkg-config --exists x11 && echo true) endif ifeq ($(UNIX),true) +ifneq ($(MACOS),true) HAVE_PULSEAUDIO = $(shell pkg-config --exists libpulse-simple && echo true) endif +endif HAVE_FFMPEG = $(shell pkg-config --exists libavcodec libavformat libavutil && echo true) HAVE_FLUIDSYNTH = $(shell pkg-config --exists fluidsynth && echo true)