summaryrefslogtreecommitdiffstats
path: root/src/knemod/backends/kcmregistry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/knemod/backends/kcmregistry.h')
-rw-r--r--src/knemod/backends/kcmregistry.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/knemod/backends/kcmregistry.h b/src/knemod/backends/kcmregistry.h
index 28ffec4..38a95c6 100644
--- a/src/knemod/backends/kcmregistry.h
+++ b/src/knemod/backends/kcmregistry.h
@@ -20,6 +20,10 @@
#ifndef KCMREGISTRY_H
#define KCMREGISTRY_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tqstring.h>
#include <tdelocale.h>
@@ -42,13 +46,13 @@ struct KCMRegistryEntry
KCMRegistryEntry KCMRegistry[] =
{
- { "Sys",
- i18n( "Uses the sys filesystem available in 2.6 kernels and " \
- "direct system calls to the Linux kernel." ) },
- { "Nettools",
- i18n( "Uses the tools from the net-tools package like ifconfig, " \
- "iwconfig and route to read the necessary information " \
- "from the ouput of these commands.") },
+ { "Sys", i18n( "Uses the sys filesystem available in 2.6 kernels and " \
+ "direct system calls to the Linux kernel." ) },
+#if defined( WITH_NETTOOLS )
+ { "Nettools", i18n( "Uses the tools from the net-tools package like ifconfig, " \
+ "iwconfig and route to read the necessary information " \
+ "from the ouput of these commands.") },
+#endif
{ TQString(), TQString() }
};