summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2015-09-22 13:53:41 -0400
committerIan Stakenvicius <axs@gentoo.org>2015-09-25 12:38:07 -0400
commit305f0eef4de67c09598271caf1d19c5436cd40d7 (patch)
tree6f822c59180e10f4e742536bb32e3fbe763d9aa3 /configure.ac
parent389b9ce2288eecbbefabc0c486b5979f2be3d8ae (diff)
Forward-ported network rule-generator code from eudev-1.10eudev/v3.1.4
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ccb1012d57..56d37fa113 100644
--- a/configure.ac
+++ b/configure.ac
@@ -269,10 +269,25 @@ AC_ARG_ENABLE([hwdb], AS_HELP_STRING([--enable-hwdb],[install hwdb.d files]),[],
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