mirror of
https://github.com/jambonz/jambonz-infrastructure.git
synced 2026-11-09 03:28:44 +00:00
41 lines
1.4 KiB
Diff
41 lines
1.4 KiB
Diff
--- configure.ac 2019-09-30 19:01:33.308021065 +0000
|
|
+++ configure.ac.new 2019-09-30 23:00:53.730843843 +0000
|
|
@@ -13,7 +13,7 @@
|
|
AC_CONFIG_FILES([src/include/switch_version.h.in:src/include/switch_version.h.template])
|
|
|
|
AC_CONFIG_AUX_DIR(build/config)
|
|
-AM_INIT_AUTOMAKE
|
|
+AM_INIT_AUTOMAKE([subdir-objects])
|
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
|
AC_CONFIG_SRCDIR([src/switch.c])
|
|
AC_CONFIG_HEADER([src/include/switch_private.h])
|
|
@@ -1549,6 +1549,20 @@
|
|
AC_MSG_ERROR([You need to either install libedit-dev (>= 2.11) or configure with --disable-core-libedit-support])
|
|
])])])
|
|
|
|
+dnl DH: Added for including libwebsockets
|
|
+AC_ARG_WITH(lws,
|
|
+ [AS_HELP_STRING([--with-lws],
|
|
+ [enable support for libwebsockets])],
|
|
+ [with_lws="$withval"],
|
|
+ [with_lws="no"])
|
|
+if test "$with_lws" = "yes"; then
|
|
+ PKG_CHECK_MODULES([LWS], [libwebsockets], [
|
|
+ AM_CONDITIONAL([HAVE_LWS],[true])], [
|
|
+ AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_LWS],[false])])
|
|
+else
|
|
+ AM_CONDITIONAL([HAVE_LWS],[false])
|
|
+fi
|
|
+
|
|
dnl ---------------------------------------------------------------------------
|
|
dnl - OpenLDAP SDK
|
|
dnl ---------------------------------------------------------------------------
|
|
@@ -1843,6 +1857,7 @@
|
|
tests/unit/Makefile
|
|
src/Makefile
|
|
src/mod/Makefile
|
|
+ src/mod/applications/mod_audio_fork/Makefile
|
|
src/mod/applications/mod_abstraction/Makefile
|
|
src/mod/applications/mod_avmd/Makefile
|
|
src/mod/applications/mod_bert/Makefile
|