Change in osmo-remsim[master]: configure.ac: Explicitly check for -lcsv and csv.h

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.org
Mon Oct 15 00:19:31 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/11354 )

Change subject: configure.ac: Explicitly check for -lcsv and csv.h
......................................................................

configure.ac: Explicitly check for -lcsv and csv.h

unfortuantely libcsv doesn't ship with a pkg-config file, so we have
to resort on those manual checks

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

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/configure.ac b/configure.ac
index ed3540c..2c30dfb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,6 +32,9 @@
 fi
 PKG_PROG_PKG_CONFIG([0.20])
 
+AC_CHECK_LIB(csv, csv_init, LIBS="$LIBS -lcsv", [AC_MSG_ERROR([*** libcsv library not found!])])
+AC_CHECK_HEADERS([csv.h])
+
 PKG_CHECK_MODULES(OSMOCORE, libosmocore >= 0.11.0)
 PKG_CHECK_MODULES(OSMOGSM, libosmogsm >= 0.11.0)
 PKG_CHECK_MODULES(OSMOABIS, libosmoabis)

-- 
To view, visit https://gerrit.osmocom.org/11354
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I52260a4e3f7a12039f054a55a211045085f1c5ff
Gerrit-Change-Number: 11354
Gerrit-PatchSet: 2
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181015/c911952c/attachment.htm>


More information about the gerrit-log mailing list