From: Martin Ellis Date: Thu, 15 Mar 2012 19:51:38 +0000 (+0000) Subject: fixed: cleaned up configure, trying to once again recombine AC_MSG_WARN into single... X-Git-Tag: upstream/2.2.0~1^2~31^2~74 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=7f3029e05dd639a464169a324418f97e15da7f43;hp=9b175d9cb1ea10da543266765c1fbd64ae370ce4;p=deb_libcec.git fixed: cleaned up configure, trying to once again recombine AC_MSG_WARN into single line --- 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*)