summaryrefslogtreecommitdiff
path: root/udev.spec
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-01-15 22:00:58 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:17 -0700
commit0523018487a60ad817556af30632a212ad3351e0 (patch)
treef1e3976b51597a083982722434ad4993b37122cb /udev.spec
parent54988802b795328ceba29480611102902e88f572 (diff)
[PATCH] clean up the logging patch a bit to make the option more like the other options.
Also documented it and added it to the .spec file.
Diffstat (limited to 'udev.spec')
-rw-r--r--udev.spec9
1 files changed, 9 insertions, 0 deletions
diff --git a/udev.spec b/udev.spec
index 07331807ef..575e3cdf60 100644
--- a/udev.spec
+++ b/udev.spec
@@ -5,6 +5,12 @@
# it probably is not where you want it to be.
%define klibc 1
+# if we want to have logging support in or not.
+# 0 - no logging support
+# 1 - logging support
+# Note, it is not recommend if you use klibc to enable logging.
+%define log 0
+
# if we want to build DBUS support in or not.
# 0 - no DBUS support
# 1 - DBUS support
@@ -45,6 +51,9 @@ make CC="gcc $RPM_OPT_FLAGS" \
%if %{klibc}
USE_KLIBC=true \
%endif
+%if %{log}
+ USE_LOG=true \
+%endif
%if %{dbus}
USE_DBUS=true \
%endif