From 44b3f49a788751f4f8421f4dfce8931cb7083d78 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Wed, 16 Jun 1999 18:22:39 +0000 Subject: 1999-06-16 Thomas Bushnell, BSG * Drivers.macros (AC_DRIVER): Only turn on driver if $enableval is not `no'. Reported by Kalle Olavi Niemitalo . --- Drivers.macros | 2 ++ 1 file changed, 2 insertions(+) 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 )]) -- cgit v1.2.3