This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/13503 Change subject: configure.ac: Add --disable-remsim-server ...................................................................... configure.ac: Add --disable-remsim-server This allows builds on small/embedded platforms to avoid all the dependencies required by remsim-server, including ulfius, yder, etc. Closes: OS#3896 Change-Id: I2b1ec8a9a88b931ac56a63df88886e37c580a92b --- M configure.ac M src/Makefile.am 2 files changed, 14 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/03/13503/1 diff --git a/configure.ac b/configure.ac index 1d2ccc2..b369133 100644 --- a/configure.ac +++ b/configure.ac @@ -41,8 +41,16 @@ PKG_CHECK_MODULES(OSMOSIM, libosmosim) PKG_CHECK_MODULES(PCSC, libpcsclite) PKG_CHECK_MODULES(USB, libusb-1.0) -PKG_CHECK_MODULES(ULFIUS, libulfius) -PKG_CHECK_MODULES(JANSSON, jansson) + +AC_ARG_ENABLE([remsim-server],[AS_HELP_STRING([--disable-remsim-server], [Build osmo-remsim-server])], + [osmo_ac_build_server="$enableval"],[osmo_ac_build_server="yes"]) +if test "$osmo_ac_build_server" = "yes"; then + PKG_CHECK_MODULES(ULFIUS, libulfius) + PKG_CHECK_MODULES(JANSSON, jansson) + AC_DEFINE(BUILD_SERVER, 1, [Define if we want to build osmo-remsim-server]) +fi +AM_CONDITIONAL(BUILD_SERVER, test "x$osmo_ac_build_server" = "xyes") +AC_SUBST(BUILD_SERVER) AC_CONFIG_MACRO_DIR([m4]) diff --git a/src/Makefile.am b/src/Makefile.am index d671f37..5b6efb9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,7 @@ -SUBDIRS = rspro server +SUBDIRS = rspro +if BUILD_SERVER +SUBDIRS += server +endif AM_CFLAGS = -Wall -I$(top_srcdir)/include -I$(top_builddir)/include \ $(OSMOCORE_CFLAGS) $(OSMOGSM_CFLAGS) $(OSMOABIS_CFLAGS) \ -- To view, visit https://gerrit.osmocom.org/13503 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-remsim Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I2b1ec8a9a88b931ac56a63df88886e37c580a92b Gerrit-Change-Number: 13503 Gerrit-PatchSet: 1 Gerrit-Owner: Harald Welte <laforge at gnumonks.org> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190403/4fb414f4/attachment.htm>