From 305f0eef4de67c09598271caf1d19c5436cd40d7 Mon Sep 17 00:00:00 2001 From: Ian Stakenvicius Date: Tue, 22 Sep 2015 13:53:41 -0400 Subject: Forward-ported network rule-generator code from eudev-1.10 --- configure.ac | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ccb1012d5..56d37fa11 100644 --- a/configure.ac +++ b/configure.ac @@ -268,11 +268,26 @@ 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"]) +# ------------------------------------------------------------------------------ +# rule-generator - persistent network and optical device rule generator +# ------------------------------------------------------------------------------ +AC_ARG_ENABLE([rule-generator], + AS_HELP_STRING([--enable-rule-generator], [enable legacy persistent network, cdrom support]), + [], [enable_rule_generator=no]) + +if test "x${enable_rule_generator}" != xno; then + AC_DEFINE([ENABLE_RULE_GENERATOR], [1], [Define if we are enabling rule generator]) +fi + +AM_CONDITIONAL([ENABLE_RULE_GENERATOR], [test "x$enable_rule_generator" = xyes]) + # ------------------------------------------------------------------------------ AC_CONFIG_FILES([Makefile hwdb/Makefile man/Makefile + rule_generator/Makefile + rule_generator/write_net_rules rules/Makefile src/Makefile src/ata_id/Makefile -- cgit v1.2.3-65-gdbad