summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-07-23 06:48:59 +0000
committerRoland McGrath <roland@gnu.org>1999-07-23 06:48:59 +0000
commitc5441a64fd722361dd4d22625f04785e29eebfe2 (patch)
tree00f132e81c9c75e184fc49d3084b32ce460688bc
parent3304e6c57cca7aee92f3d19a4c69f0bb47c2d6cb (diff)
1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
* Drivers.macros (AC_DRIVER): Use `test' instead of `[ ... ]'. Reported by "Momchil 'Velco' Velikov" <velco@fadata.bg>.
-rw-r--r--Drivers.macros8
1 files changed, 3 insertions, 5 deletions
diff --git a/Drivers.macros b/Drivers.macros
index c215a52..ae0a6b3 100644
--- a/Drivers.macros
+++ b/Drivers.macros
@@ -7,7 +7,7 @@ dnl documentation is hereby granted, provided that both the copyright
dnl notice and this permission notice appear in all copies of the
dnl software, derivative works or modified versions, and any portions
dnl thereof, and that both notices appear in supporting documentation.
-dnl
+dnl
dnl THE FREE SOFTWARE FOUNDATION ALLOWS FREE USE OF THIS SOFTWARE IN ITS
dnl "AS IS" CONDITION. THE FREE SOFTWARE FOUNDATION DISCLAIMS ANY
dnl LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE
@@ -37,13 +37,13 @@ driver_class_[$1]_files="[$3]"
dnl AC_DRIVER(name,option,files [,class]) detects option --enable-name. If
dnl it's set, then `option' is defined with AC_DEFINE, and files is
-dnl added to the output variable `device_drivers'. The driver is of class
+dnl added to the output variable `device_drivers'. The driver is of class
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
+if test "x$enableval" != xno; then
AC_DEFINE([$2])
device_drivers="$device_drivers [$3]"
if test "${driver_class_[$4]_selected+set}" != set; then
@@ -53,5 +53,3 @@ if test "${driver_class_[$4]_selected+set}" != set; then
fi
fi
)])
-
-