From: Martin Ellis Date: Thu, 15 Mar 2012 08:57:22 +0000 (+0000) Subject: fixed: mac configure compile bugzid: 157 X-Git-Tag: upstream/2.2.0~1^2~31^2~77 X-Git-Url: https://git.piment-noir.org/?p=deb_libcec.git;a=commitdiff_plain;h=07b46a30e6f24dad27b3a8798d70454cfa5a1456 fixed: mac configure compile bugzid: 157 --- diff --git a/configure.ac b/configure.ac index 2b1e930..fbae268 100644 --- a/configure.ac +++ b/configure.ac @@ -4,10 +4,13 @@ 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";AC_MSG_WARN("library 'udev' is missing - adapter detection will not be available")]) + 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")) LIBS+=" -lrt" ;; *-apple-darwin*)