summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2015-04-19 16:33:42 +0200
committerAndy Wingo <wingo@pobox.com>2015-04-19 16:33:42 +0200
commitd2754bc70c701255ea5b595f82147d3b8eea9acc (patch)
treeb65a907f25479987bb0a76b01ab3193bdd12a8e7 /configure.ac
parent96408316212ad291aa1986a1bc91e682404cdb04 (diff)
Remove gudev check
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 3 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index 568d56c95f..08edb04fcc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -528,12 +528,9 @@ AM_CONDITIONAL(ENABLE_KDBUS, [test "$have_kdbus" = "yes"])
AC_CHECK_HEADERS_ONCE([valgrind/memcheck.h valgrind/valgrind.h])
# ------------------------------------------------------------------------------
-AC_ARG_ENABLE([gudev],
- AS_HELP_STRING([--disable-gudev], [disable Gobject libudev support @<:@default=enabled@:>@]),
- [], [enable_gudev=yes])
-AS_IF([test "x$enable_gudev" = "xyes"], [ PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0]) ])
-AM_CONDITIONAL([ENABLE_GUDEV], [test "x$enable_gudev" = "xyes"])
-AS_IF([test "x$enable_gudev" = "xyes"], [ AC_DEFINE(HAVE_GLIB, 1, [Define if glib is available]) ])
+PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0],
+ [have_glib=yes], [have_glib=no])
+AS_IF([test "x$have_glib" = "xyes"], [ AC_DEFINE(HAVE_GLIB, 1, [Define if glib is available]) ])
# ------------------------------------------------------------------------------
AC_ARG_ENABLE(hwdb, [AC_HELP_STRING([--disable-hwdb], [disable hardware database support])],
@@ -714,7 +711,6 @@ AC_MSG_RESULT([
polkit: ${have_polkit}
blkid: ${have_blkid}
dbus: ${have_dbus}
- gudev: ${enable_gudev}
hwdb: ${enable_hwdb}
kdbus: ${have_kdbus}
Python: ${have_python}