From 7f3029e05dd639a464169a324418f97e15da7f43 Mon Sep 17 00:00:00 2001 From: Martin Ellis Date: Thu, 15 Mar 2012 19:51:38 +0000 Subject: [PATCH] fixed: cleaned up configure, trying to once again recombine AC_MSG_WARN into single line --- configure.ac | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index fbae268..d64bbc7 100644 --- a/configure.ac +++ b/configure.ac @@ -4,13 +4,10 @@ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) AC_PROG_CXX AC_PROG_LIBTOOL -echo ${host} - has_libudev="yes" case "${host}" in *-*-linux*) - PKG_CHECK_MODULES([UDEV],[libudev],,[has_libudev="no"]) - PKG_CHECK_MODULES([UDEV],[libudev],,AC_MSG_WARN("library 'udev' is missing - adapter detection will not be available")) + PKG_CHECK_MODULES([UDEV],[libudev],,[has_libudev="no"]; AC_MSG_WARN("library 'udev' is missing - adapter detection will not be available")) LIBS+=" -lrt" ;; *-apple-darwin*) -- 2.34.1