summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-02-20 11:05:18 +0100
committerJim Meyering <meyering@redhat.com>2011-03-26 14:20:28 +0100
commit8d6290df9ff3688961b386c439f5f10b0aec1be1 (patch)
treed145c308659edee46f4dc703056daa806c6b53bf
parentf266434caff7a4657c6bc8f54edd51f3f04de39a (diff)
downloadpatch-8d6290df9ff3688961b386c439f5f10b0aec1be1.tar.gz
maint: add some m4 quoting
* m4/setmode.m4 (AC_FUNC_SETMODE_DOS): Use proper M4 quoting.
-rw-r--r--m4/setmode.m44
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])