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

