Change UTILS_ to gl_ in AC_DEFINE'd names.
authorJim Meyering <jim@meyering.net>
Tue, 20 Apr 2004 09:06:09 +0000 (09:06 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 20 Apr 2004 09:06:09 +0000 (09:06 +0000)
Change utils_- and jm_-prefixed variables, too.
(gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
UTILS_FUNC_MKDIR_TRAILING_SLASH.

m4/mkdir-slash.m4

index 84c9415f253c8043002705bf429101c2ff3d8fde..7507b5576a36c55fcbd3f3f4474d3e84bc1a2b8a 100644 (file)
@@ -1,12 +1,12 @@
-#serial 2
+#serial 3
 
 # On some systems, mkdir ("foo/", 0700) fails because of the trailing slash.
 # On such systems, arrange to use a wrapper function that removes any
 # trailing slashes.
-AC_DEFUN([UTILS_FUNC_MKDIR_TRAILING_SLASH],
+AC_DEFUN([gl_FUNC_MKDIR_TRAILING_SLASH],
 [dnl
   AC_CACHE_CHECK([whether mkdir fails due to a trailing slash],
-    utils_cv_func_mkdir_trailing_slash_bug,
+    gl_cv_func_mkdir_trailing_slash_bug,
     [
       # Arrange for deletion of the temporary directory this test might create.
       ac_clean_files="$ac_clean_files confdir-slash"
@@ -20,14 +20,14 @@ AC_DEFUN([UTILS_FUNC_MKDIR_TRAILING_SLASH],
          exit (mkdir ("confdir-slash/", 0700));
        }
        ],
-      utils_cv_func_mkdir_trailing_slash_bug=no,
-      utils_cv_func_mkdir_trailing_slash_bug=yes,
-      utils_cv_func_mkdir_trailing_slash_bug=yes
+      gl_cv_func_mkdir_trailing_slash_bug=no,
+      gl_cv_func_mkdir_trailing_slash_bug=yes,
+      gl_cv_func_mkdir_trailing_slash_bug=yes
       )
     ]
   )
 
-  if test $utils_cv_func_mkdir_trailing_slash_bug = yes; then
+  if test $gl_cv_func_mkdir_trailing_slash_bug = yes; then
     AC_LIBOBJ(mkdir)
     AC_DEFINE(mkdir, rpl_mkdir,
       [Define to rpl_mkdir if the replacement function should be used.])