projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e4117c2
)
udev: Print error when udev support is not available and not disabled
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 26 Sep 2010 08:36:39 +0000
(17:36 +0900)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 26 Sep 2010 08:36:39 +0000
(17:36 +0900)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
6dc3546
..
6928cf3
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-361,10
+361,8
@@
AC_ARG_ENABLE(udev, AC_HELP_STRING([--disable-udev],
[don't use udev support even if available]),
[enable_udev=${enableval}])
if (test "${enable_udev}" != "no"); then
[don't use udev support even if available]),
[enable_udev=${enableval}])
if (test "${enable_udev}" != "no"); then
- PKG_CHECK_MODULES(UDEV, libudev >= 143,
- [enable_udev="yes"], [enable_udev="no"])
-fi
-if (test "${enable_udev}" = "yes"); then
+ PKG_CHECK_MODULES(UDEV, libudev >= 143, [enable_udev="yes"],
+ AC_MSG_ERROR(libudev >= 143 is required))
UDEV_DATADIR="`$PKG_CONFIG --variable=udevdir udev`"
if (test -z "${UDEV_DATADIR}"); then
UDEV_DATADIR="${sysconfdir}/udev/rules.d"
UDEV_DATADIR="`$PKG_CONFIG --variable=udevdir udev`"
if (test -z "${UDEV_DATADIR}"); then
UDEV_DATADIR="${sysconfdir}/udev/rules.d"