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 12:54:30 UTC 2020


laforge has submitted this change. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



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-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200520/d4bbf9e6/attachment.htm>


More information about the gerrit-log mailing list