bug-patch
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-patch] [PATCH 03/15] maint: add some m4 quoting


From: Jim Meyering
Subject: [bug-patch] [PATCH 03/15] maint: add some m4 quoting
Date: Sat, 26 Mar 2011 14:31:58 +0100

From: Jim Meyering <address@hidden>

* m4/setmode.m4 (AC_FUNC_SETMODE_DOS): Use proper M4 quoting.
---
 m4/setmode.m4 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/m4/setmode.m4 b/m4/setmode.m4
index 74ead44..9b6e6b4 100644
--- a/m4/setmode.m4
+++ b/m4/setmode.m4
@@ -18,7 +18,7 @@
 # USA.

 AC_DEFUN([AC_FUNC_SETMODE_DOS],
-  [AC_CHECK_HEADERS(fcntl.h unistd.h)
+  [AC_CHECK_HEADERS([fcntl.h unistd.h])
    AC_CACHE_CHECK([for DOS-style setmode],
      [ac_cv_func_setmode_dos],
      [AC_TRY_LINK(
@@ -33,6 +33,6 @@ AC_DEFUN([AC_FUNC_SETMODE_DOS],
        [ac_cv_func_setmode_dos=yes],
        [ac_cv_func_setmode_dos=no])])
    if test $ac_cv_func_setmode_dos = yes; then
-     AC_DEFINE(HAVE_SETMODE_DOS, 1,
+     AC_DEFINE([HAVE_SETMODE_DOS], [1],
        [Define to 1 if you have the DOS-style `setmode' function.])
    fi])
-- 
1.7.1.354.ge64bd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]