repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e23f490
)
fixed: mac configure compile bugzid: 157
author
Martin Ellis
<malard@gmail.com>
Thu, 15 Mar 2012 08:57:22 +0000
(08:57 +0000)
committer
Martin Ellis
<malard@gmail.com>
Thu, 15 Mar 2012 08:57:22 +0000
(08:57 +0000)
configure.ac
patch
|
blob
|
blame
|
history
diff --git
a/configure.ac
b/configure.ac
index 2b1e930ea082fe37256170dafb237ed2e6763459..fbae268c6de4abac8dc9fea414c0b7db94437b99 100644
(file)
--- 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
AC_PROG_CXX
AC_PROG_LIBTOOL
+echo ${host}
+
has_libudev="yes"
case "${host}" in
*-*-linux*)
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*)
LIBS+=" -lrt"
;;
*-apple-darwin*)