summaryrefslogtreecommitdiff
path: root/Drivers.macros
diff options
context:
space:
mode:
Diffstat (limited to 'Drivers.macros')
-rw-r--r--Drivers.macros2
1 files changed, 2 insertions, 0 deletions
diff --git a/Drivers.macros b/Drivers.macros
index fe0e216..c215a52 100644
--- a/Drivers.macros
+++ b/Drivers.macros
@@ -43,6 +43,7 @@ dnl `class'; see the comments on AC_DRIVER_CLASS for more information.
AC_DEFUN(AC_DRIVER, [
[#] Checking for device driver option [$1]
AC_ARG_ENABLE([$1],,
+if [ "x$enableval" != xno ]; then
AC_DEFINE([$2])
device_drivers="$device_drivers [$3]"
if test "${driver_class_[$4]_selected+set}" != set; then
@@ -50,6 +51,7 @@ if test "${driver_class_[$4]_selected+set}" != set; then
AC_DEFINE_UNQUOTED($driver_class_[$4]_option)
device_drivers="$device_drivers $driver_class_[$4]_files"
fi
+fi
)])