Commit 6a96026f authored by Ting-Wei Lan's avatar Ting-Wei Lan Committed by Rui Matos

build: Move AM_CONDITIONAL out of the have_udev check

https://bugzilla.gnome.org/show_bug.cgi?id=743285
parent 0ae0f4ab
......@@ -181,8 +181,8 @@ PKG_CHECK_MODULES(DEVICES, $COMMON_MODULES)
PKG_CHECK_MODULES(UDEV, gudev-1.0, have_udev=yes, have_udev=no)
if test "x$have_udev" = xyes ; then
AC_DEFINE(HAVE_UDEV, 1, [System has udev])
AM_CONDITIONAL(HAVE_UDEV, [test "x$have_udev" = "xyes"])
fi
AM_CONDITIONAL(HAVE_UDEV, [test "x$have_udev" = "xyes"])
PKG_CHECK_MODULES(NETWORK_MANAGER, NetworkManager >= $NETWORK_MANAGER_REQUIRED_VERSION
libnm-glib >= $NETWORK_MANAGER_REQUIRED_VERSION
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment