[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: c_support/ac_func_mkdir.m4 typo
From: |
Alexandre Duret-Lutz |
Subject: |
FYI: c_support/ac_func_mkdir.m4 typo |
Date: |
Sun, 28 Dec 2003 14:49:33 +0100 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) |
There was a typo in the description of AC_FUNC_MKDIR, so I've
installed the following change, taking the opportunity to
re-indent things a bit.
Index: ac_func_mkdir.m4
===================================================================
RCS file: /cvsroot/ac-archive/ac-archive/legacy/c_support/ac_func_mkdir.m4,v
retrieving revision 1.1
diff -u -r1.1 ac_func_mkdir.m4
--- ac_func_mkdir.m4 2 Mar 2001 11:39:22 -0000 1.1
+++ ac_func_mkdir.m4 28 Dec 2003 13:36:24 -0000
@@ -4,38 +4,38 @@
dnl arguments.
dnl
dnl This macro can define HAVE_MKDIR, HAVE__MKDIR, and MKDIR_TAKES_ONE_ARG,
-dnl which are expected to be used as follow:
+dnl which are expected to be used as follows:
dnl
dnl #if HAVE_MKDIR
-dnl # if MKDIR_TAKES_ONE_ARG
-dnl /* Mingw32 */
-dnl # define mkdir(a,b) mkdir(a)
-dnl # endif
+dnl # if MKDIR_TAKES_ONE_ARG
+dnl /* MinGW32 */
+dnl # define mkdir(a, b) mkdir(a)
+dnl # endif
dnl #else
-dnl # if HAVE__MKDIR
-dnl /* plain Win32 */
-dnl # define mkdir(a,b) _mkdir(a)
-dnl # else
-dnl # error "Don't know how to create a directory on this system."
-dnl # endif
+dnl # if HAVE__MKDIR
+dnl /* plain Windows 32 */
+dnl # define mkdir(a, b) _mkdir(a)
+dnl # else
+dnl # error "Don't know how to create a directory on this system."
+dnl # endif
dnl #endif
dnl
dnl @version $Id: ac_func_mkdir.m4,v 1.1 2001/03/02 11:39:22 simons Exp $
-dnl @author Alexandre Duret-Lutz <address@hidden>
+dnl @author Alexandre Duret-Lutz <address@hidden>
dnl
AC_DEFUN([AC_FUNC_MKDIR],
[AC_CHECK_FUNCS([mkdir _mkdir])
AC_CACHE_CHECK([whether mkdir takes one argument],
- [ac_cv_mkdir_takes_one_arg],
+ [ac_cv_mkdir_takes_one_arg],
[AC_TRY_COMPILE([
#include <sys/stat.h>
#if HAVE_UNISTD_H
-# include <unistd.h>
+# include <unistd.h>
#endif
-],[mkdir (".");],
-[ac_cv_mkdir_takes_one_arg=yes],[ac_cv_mkdir_takes_one_arg=no])])
+], [mkdir (".");],
+[ac_cv_mkdir_takes_one_arg=yes], [ac_cv_mkdir_takes_one_arg=no])])
if test x"$ac_cv_mkdir_takes_one_arg" = xyes; then
- AC_DEFINE([MKDIR_TAKES_ONE_ARG],1,
+ AC_DEFINE([MKDIR_TAKES_ONE_ARG], 1,
[Define if mkdir takes only one argument.])
fi
])
--
Alexandre Duret-Lutz
- FYI: c_support/ac_func_mkdir.m4 typo,
Alexandre Duret-Lutz <=