Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
d8587959
Commit
d8587959
authored
May 19, 2021
by
Pavel Vainerman
Committed by
Pavel Vainerman
May 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added '--disable-uwebsocket' build flag
parent
d3757806
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
4 deletions
+31
-4
libuniset2.spec
conf/libuniset2.spec
+7
-2
configure.ac
configure.ac
+21
-1
Makefile.am
extensions/UWebSocketGate/Makefile.am
+1
-1
Makefile.am
extensions/UWebSocketGate/tests/Makefile.am
+2
-0
No files found.
conf/libuniset2.spec
View file @
d8587959
...
...
@@ -14,6 +14,7 @@
%def_enable logdb
%def_enable opentsdb
%def_enable uresolver
%def_disable uwebsocket
%ifarch %ix86
%def_enable com485f
...
...
@@ -25,7 +26,7 @@
Name: libuniset2
Version: 2.10.1
Release: alt
1
Release: alt
2
Summary: UniSet - library for building distributed industrial control systems
License: LGPL-2.1
...
...
@@ -369,7 +370,7 @@ Libraries needed to develop for uniset MQTT extension
%build
%autoreconf
%configure %{subst_enable docs} %{subst_enable mysql} %{subst_enable sqlite} %{subst_enable pgsql} %{subst_enable python} %{subst_enable rrd} %{subst_enable io} %{subst_enable logicproc} %{subst_enable tests} %{subst_enable mqtt} %{subst_enable api} %{subst_enable netdata} %{subst_enable logdb} %{subst_enable com485f} %{subst_enable opentsdb}
%configure %{subst_enable docs} %{subst_enable mysql} %{subst_enable sqlite} %{subst_enable pgsql} %{subst_enable python} %{subst_enable rrd} %{subst_enable io} %{subst_enable logicproc} %{subst_enable tests} %{subst_enable mqtt} %{subst_enable api} %{subst_enable netdata} %{subst_enable logdb} %{subst_enable com485f} %{subst_enable opentsdb}
%{subst_enable uwebsocket}
%make_build
%install
...
...
@@ -548,12 +549,15 @@ rm -f %buildroot%_docdir/%oname/html/*.md5
%_includedir/%oname/extensions/mqtt/
%endif
%if_enabled api
%if_enabled uresolver
%files extension-uresolver
%_bindir/%oname-httpresolver*
%endif
%endif
%if_enabled api
%if_enabled uwebsocket
%files extension-wsgate
%_bindir/%oname-wsgate*
%_libdir/libUniSet2UWebSocketGate*.so.*
...
...
@@ -563,6 +567,7 @@ rm -f %buildroot%_docdir/%oname/html/*.md5
%_libdir/libUniSet2UWebSocketGate*.so
%_includedir/%oname/extensions/wsgate/
%endif
%endif
%files extension-common-devel
%dir %_includedir/%oname/extensions
...
...
configure.ac
View file @
d8587959
...
...
@@ -4,7 +4,7 @@
# AC_PREREQ(2.59)
AC_INIT([uniset2], [2.10.1], pv@etersoft.ru)
AM_INIT_AUTOMAKE
AM_INIT_AUTOMAKE
([subdir-objects])
LIBVER=12:1:10
AC_SUBST(LIBVER)
...
...
@@ -401,6 +401,26 @@ fi
AM_CONDITIONAL(DISABLE_LOGDB, test ${buildlogdb} = false)
AM_CONDITIONAL(ENABLE_LOGDB, test ${buildlogdb} = true)
#check uwebsocket
AC_MSG_CHECKING([uwebsocket build])
uwebsocket=true
AC_ARG_ENABLE(uwebsocket, AC_HELP_STRING([--disable-uwebsocket], [disable UWebSocketGate build]),
[ if test $enableval = yes; then uwebsocket=true; else uwebsocket=false; fi],[ uwebsocket=true; ])
if test ${buildapi} = true; then
if test ${uwebsocket} = true; then
AC_MSG_RESULT([enabled])
else
AC_MSG_RESULT([disabled])
fi
else
uwebsocket=false
AC_MSG_RESULT([disabled (uwebsocketgate disabled)])
fi
AM_CONDITIONAL(DISABLE_UWEBSOCKETGATE, test ${uwebsocket} = false)
AM_CONDITIONAL(ENABLE_UWEBSOCKETGATE, test ${uwebsocket} = true)
COV_LIBS=
COV_CFLAGS=
AC_MSG_CHECKING([tests support])
...
...
extensions/UWebSocketGate/Makefile.am
View file @
d8587959
if
ENABLE_
REST_API
if
ENABLE_
UWEBSOCKETGATE
bin_PROGRAMS
=
@PACKAGE@-wsgate
WSGATE_VER
=
@LIBVER@
...
...
extensions/UWebSocketGate/tests/Makefile.am
View file @
d8587959
if
HAVE_TESTS
if
ENABLE_UWEBSOCKETGATE
noinst_PROGRAMS
=
tests-with-sm
...
...
@@ -23,3 +24,4 @@ clean-local:
include
$(top_builddir)/include.mk
endif
endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment