diff options
| author | Thomas Bushnell <thomas@gnu.org> | 1999-06-16 18:22:39 +0000 |
|---|---|---|
| committer | Thomas Bushnell <thomas@gnu.org> | 1999-06-16 18:22:39 +0000 |
| commit | 44b3f49a788751f4f8421f4dfce8931cb7083d78 (patch) | |
| tree | f969d6d3c20abe4c8c49b53395c4144e4943d4f0 | |
| parent | 62b8bd9f6de37522ed994248e8fd05f6d76604a3 (diff) | |
1999-06-16 Thomas Bushnell, BSG <tb@mit.edu>
* Drivers.macros (AC_DRIVER): Only turn on driver if $enableval is
not `no'. Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>.
| -rw-r--r-- | Drivers.macros | 2 |
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 )]) |
