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
commit4f76243a8ba44b9e233b6f5ccc3f360af80e3e23 (patch)
tree6ab9bf3d82e8bcfd39b01728b911b266e5aea63a
parentaa955a7f371ec5aa82e0cc9ecb79b83509734527 (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
)])
-
-