From 2d2bbecaf677b918e16db1504b8d1381328b7983 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Sun, 27 Jul 2014 09:00:36 +0000 Subject: [PATCH] added warning message if required headers are not found at the usual places --- Jamulus.pro | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Jamulus.pro b/Jamulus.pro index ee7d9e2a..6b6c6583 100755 --- a/Jamulus.pro +++ b/Jamulus.pro @@ -72,6 +72,12 @@ win32 { count(nosoundoption, 0) { message(Jack Audio Interface Enabled.) + !exists(/usr/include/jack/jack.h) { + !exists(/usr/local/include/jack/jack.h) { + message(Warning: jack.h was not found at the usual place, maybe the jack dev packet is missing) + } + } + HEADERS += linux/sound.h SOURCES += linux/sound.cpp DEFINES += WITH_SOUND @@ -529,6 +535,12 @@ contains(CONFIG, "opus_shared_lib") { message(OPUS codec is used from a shared library.) unix { + !exists(/usr/include/opus/opus_custom.h) { + !exists(/usr/local/include/opus/opus_custom.h) { + message(Header opus_custom.h was not found at the usual place. Maybe the opus dev packet is missing.) + } + } + LIBS += -llibopus DEFINES += USE_OPUS_SHARED_LIB }