Change in osmo-remsim[master]: only depend on libcsv if remsim-bankd is to be built

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/.

laforge gerrit-no-reply at lists.osmocom.org
Wed May 20 11:53:52 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-remsim/+/18377 )


Change subject: only depend on libcsv if remsim-bankd is to be built
......................................................................

only depend on libcsv if remsim-bankd is to be built

Change-Id: I87d758972b6d2b509c7ef1216d4b61a01b9cdae0
---
M configure.ac
1 file changed, 3 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/77/18377/1

diff --git a/configure.ac b/configure.ac
index 7af6801..b65340f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,10 +32,6 @@
 fi
 PKG_PROG_PKG_CONFIG([0.20])
 
-AC_CHECK_LIB(csv, csv_init, CSV_LIBS="-lcsv", [AC_MSG_ERROR([*** libcsv library not found!])])
-AC_CHECK_HEADERS([csv.h])
-AC_SUBST(CSV_LIBS)
-
 PKG_CHECK_MODULES(OSMOCORE, libosmocore >= 1.3.0)
 PKG_CHECK_MODULES(OSMOGSM, libosmogsm >= 0.11.0)
 PKG_CHECK_MODULES(OSMOABIS, libosmoabis >= 0.8.0)
@@ -56,6 +52,9 @@
 if test "$osmo_ac_build_bankd" = "yes"; then
 	AC_DEFINE(BUILD_BANKD, 1, [Define if we want to build osmo-remsim-bankd])
 	PKG_CHECK_MODULES(PCSC, libpcsclite)
+	AC_CHECK_LIB(csv, csv_init, CSV_LIBS="-lcsv", [AC_MSG_ERROR([*** libcsv library not found!])])
+	AC_CHECK_HEADERS([csv.h])
+	AC_SUBST(CSV_LIBS)
 fi
 AM_CONDITIONAL(BUILD_BANKD, test "x$osmo_ac_build_bankd" = "xyes")
 AC_SUBST(BUILD_BANKD)

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/18377
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: I87d758972b6d2b509c7ef1216d4b61a01b9cdae0
Gerrit-Change-Number: 18377
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200520/9495d27c/attachment.htm>


More information about the gerrit-log mailing list