aboutsummaryrefslogtreecommitdiffstats
path: root/community/iio-sensor-proxy/0001-Revert-build-Check-for-.pc-files-before-using-them.patch
blob: ddf43770e2f89e0a88cbd9011726ad5dfe676fed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
It only needs systemd to determine the unit dir, so delete the dep for now.

From a1c5436d11e3e0dabc3cd236bf8175b13ac929cb Mon Sep 17 00:00:00 2001
From: Andrea Brancaleoni <abc@pompel.me>
Date: Fri, 23 Dec 2016 12:43:36 +0100
Subject: [PATCH] Revert "build: Check for .pc files before using them"

This reverts commit 78b4656fc24a1b21c948d8e68252f42df2a91735.
---
 configure.ac | 2 --
 1 file changed, 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index f8ded66..1d54698 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,14 +25,12 @@ AX_COMPILER_FLAGS([WARN_CFLAGS],[WARN_LDFLAGS])
 
 GTK_DOC_CHECK([1.11],[--flavour no-tmpl])
 
-PKG_CHECK_EXISTS(udev, [], [AC_MSG_ERROR(udev development libraries are required)])
 AC_ARG_WITH([udevrulesdir],
 	    AS_HELP_STRING([--with-udevrulesdir=DIR], [Directory for udev rules]),
 	    [],
 	    [with_udevrulesdir=$($PKG_CONFIG --variable=udevdir udev)"/rules.d"])
 AC_SUBST([udevrulesdir], [$with_udevrulesdir])
 
-PKG_CHECK_EXISTS(systemd, [], [AC_MSG_ERROR(systemd development libraries are required)])
 AC_ARG_WITH([systemdsystemunitdir],
 	    AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
 	    [],
-- 
2.11.0