configure.ac: add --enable-hwdb option. Address issue #111.

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
This commit is contained in:
Anthony G. Basile 2015-05-30 08:50:28 -04:00
parent 53997d40dd
commit ebb37f6a47
2 changed files with 11 additions and 1 deletions

View File

@ -4,7 +4,6 @@ DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
SUBDIRS = \
src \
rules \
hwdb \
docs \
test
@ -12,3 +11,9 @@ if ENABLE_MANPAGES
SUBDIRS += \
man
endif
if ENABLE_HWDB
SUBDIRS += \
hwdb
endif

View File

@ -281,6 +281,11 @@ AM_CONDITIONAL(HAVE_KMOD, [test "$have_kmod" = "yes"])
# ------------------------------------------------------------------------------
AC_ARG_ENABLE([hwdb], AS_HELP_STRING([--enable-hwdb],[install hwdb.d files]),[],[enable_hwdb=yes])
AM_CONDITIONAL(ENABLE_HWDB, [test "x$enable_hwdb" = "xyes"])
# ------------------------------------------------------------------------------
AC_CONFIG_FILES([Makefile
docs/Makefile
docs/gudev/Makefile