From a3d4a56e1538be7353160061ee74e6d3a16d13da Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 14 Nov 2013 22:01:08 +0100 Subject: [PATCH] configure.ac: Drop unneeded AC_MSG_ERROR. The default behaviour of PKG_CHECK_MODULES is to abort with an error anyway, but it will also print a more usable error message and hints for the user about how to use PKG_CONFIG_PATH and so on. --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index b441e50..96c16d2 100644 --- a/configure.ac +++ b/configure.ac @@ -85,8 +85,7 @@ case $target_os in *linux*) # On Linux libudev is currently a hard requirement. PKG_CHECK_MODULES([libudev], [libudev >= 0], - [CFLAGS="$CFLAGS $libudev_CFLAGS"; LIBS="$LIBS $libudev_LIBS"], - [AC_MSG_ERROR([libudev.h not found])]) + [CFLAGS="$CFLAGS $libudev_CFLAGS"; LIBS="$LIBS $libudev_LIBS"]) ;; *darwin*) LDFLAGS="$LDFLAGS -Wl,-framework -Wl,IOKit -Wl,-framework -Wl,CoreFoundation"