configure: Don't fail if gudev is not present
PKG_CHECK_MODULES has the bad habit of failing the build if it doesn't get what it wants, prevent that.
This commit is contained in:
parent
cfa5877899
commit
8096d82fd1
@ -522,7 +522,8 @@ if test x$with_gudev != xno; then
|
|||||||
PKG_CHECK_MODULES(GUDEV, [ gudev-1.0 >= 147 ],
|
PKG_CHECK_MODULES(GUDEV, [ gudev-1.0 >= 147 ],
|
||||||
[ AC_DEFINE(HAVE_GUDEV, 1,
|
[ AC_DEFINE(HAVE_GUDEV, 1,
|
||||||
[Whether gudev is available for device detection])
|
[Whether gudev is available for device detection])
|
||||||
])
|
],
|
||||||
|
[true])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_SUBST(GUDEV_CFLAGS)
|
AC_SUBST(GUDEV_CFLAGS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user