diff options
author | Umut Tezduyar Lindskog <umut.tezduyar@axis.com> | 2014-12-19 11:47:30 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-12-20 00:23:37 +0100 |
commit | fe659612e40e6a0cf91a73b10aa45eea958b747e (patch) | |
tree | c6d5acfa333689257dadebc95ab21f0265dded38 /configure.ac | |
parent | 7a6f1457462840ed52f2a332e2bd56ca210cff2d (diff) |
build: add option to disable hwdb
[tomegun: fix Makefile-man.am, based on fix from Michael Biebl]
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 90aa3ccf54..9296c25dbb 100644 --- a/configure.ac +++ b/configure.ac @@ -1191,6 +1191,11 @@ 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]) ]) # ------------------------------------------------------------------------------ +AC_ARG_ENABLE(hwdb, [AC_HELP_STRING([--disable-hwdb], [disable hardware database support])], + enable_hwdb=$enableval, enable_hwdb=yes) +AM_CONDITIONAL(ENABLE_HWDB, [test x$enable_hwdb = xyes]) + +# ------------------------------------------------------------------------------ have_manpages=no AC_ARG_ENABLE(manpages, AS_HELP_STRING([--disable-manpages], [disable manpages])) AS_IF([test "x$enable_manpages" != xno], [have_manpages=yes]) @@ -1430,6 +1435,7 @@ AC_MSG_RESULT([ dbus: ${have_dbus} nss-myhostname: ${have_myhostname} gudev: ${enable_gudev} + hwdb: ${enable_hwdb} gintrospection: ${enable_introspection} terminal: ${have_terminal} kdbus: ${have_kdbus} |