From 8096d82fd1b52be9853703cd771c75db20a60230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Sun, 16 Mar 2014 23:19:55 -0400 Subject: [PATCH] configure: Don't fail if gudev is not present PKG_CHECK_MODULES has the bad habit of failing the build if it doesn't get what it wants, prevent that. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f05434c56f..282f511fdb 100644 --- a/configure.ac +++ b/configure.ac @@ -522,7 +522,8 @@ if test x$with_gudev != xno; then PKG_CHECK_MODULES(GUDEV, [ gudev-1.0 >= 147 ], [ AC_DEFINE(HAVE_GUDEV, 1, [Whether gudev is available for device detection]) - ]) + ], + [true]) fi AC_SUBST(GUDEV_CFLAGS)