[Build-System] Add better error reporting to configure when libks or signalwire-client are missing and mod_verto or mod_signalwire enabled.

This commit is contained in:
Andrey Volk committed 2021-11-03 22:48:44 +03:00
1 parent 0fdd5b6727
commit 2663872953
2 files changed
+24 -2

No files matched your search

+8
View File
@@ -1,6 +1,7 @@
include $(top_srcdir)/build/modmake.rulesam
MODNAME=mod_verto
if HAVE_KS
mod_LTLIBRARIES = mod_verto.la
mod_verto_la_SOURCES = mod_verto.c mcast/mcast.c
mod_verto_la_CFLAGS = -D__EXTENSIONS__ -D_GNU_SOURCE $(AM_CFLAGS) $(KS_CFLAGS)
@@ -37,3 +38,10 @@ swigclean:
rm -f mcast/mcast_wrap.* mcast/MCAST.so mcast/MCAST.pm mcast/perlxsi.*
reswig: swigclean mcast/mcast_wrap.cpp mcast/perlxsi.c
else
install: error
all: error
error:
$(error You must install libks to build mod_verto)
endif