[PATCH] libsmpp34[master]: configure: check for pkg-config presence

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

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Fri Sep 30 23:01:30 UTC 2016


Review at  https://gerrit.osmocom.org/990

configure: check for pkg-config presence

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


  git pull ssh://gerrit.osmocom.org:29418/libsmpp34 refs/changes/90/990/1

diff --git a/configure.ac b/configure.ac
index 6d5b3b3..0d84ffc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,6 +13,13 @@
 AC_PROG_LIBTOOL
 AC_PROG_INSTALL
 
+# check for pkg-config (explained in detail in libosmocore/configure.ac)
+AC_PATH_PROG(PKG_CONFIG_INSTALLED, pkg-config, no)
+if test "x$PKG_CONFIG_INSTALLED" = "xno"; then
+        AC_MSG_WARN([You need to install pkg-config])
+fi
+PKG_PROG_PKG_CONFIG([0.20])
+
 # Checks for libraries.
 
 # Checks for header files.

-- 
To view, visit https://gerrit.osmocom.org/990
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6251b2a8e76e5850a346d88fd3c02435b0b445ad
Gerrit-PatchSet: 1
Gerrit-Project: libsmpp34
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list