bug-gnulib
[Top][All Lists]
Advanced

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

[Bug-gnulib] FYI: change UTILS_ prefix to gl_ (except for host-os.m4)


From: Jim Meyering
Subject: [Bug-gnulib] FYI: change UTILS_ prefix to gl_ (except for host-os.m4)
Date: Tue, 20 Apr 2004 11:32:08 +0200

I've just checked in these changes, along with the related
ones in modules/.  These all look like it'd be safe to
rename the cache variables, so I did that, too.

2004-04-20  Jim Meyering  <address@hidden>

        Change UTILS_ to gl_ in AC_DEFINE'd names.
        Change utils_- and jm_-prefixed variables, too.
        * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
        UTILS_FUNC_MKDIR_TRAILING_SLASH.
        * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.

        * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
        Don't emit trailing blanks.
        Also rename jm_-prefixed variables to have gl_ prefix.
        * jm-macros.m4: Reflect the renaming.

Here's a proposed patch for host-os.m4:

Index: m4/host-os.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/host-os.m4,v
retrieving revision 1.5
diff -u -p -r1.5 host-os.m4
--- m4/host-os.m4       30 Oct 2003 18:46:19 -0000      1.5
+++ m4/host-os.m4       20 Apr 2004 09:30:36 -0000
@@ -1,12 +1,12 @@
-#serial 3
+#serial 4
 
 dnl From Paul Eggert.
 
 # Define HOST_OPERATING_SYSTEM to a name for the host operating system.
-AC_DEFUN([UTILS_HOST_OS],
+AC_DEFUN([gl_HOST_OS],
 [
   AC_CACHE_CHECK([host operating system],
-    utils_cv_host_operating_system,
+    gl_cv_host_operating_system,
 
     [[case $host_os in
 
@@ -67,8 +67,8 @@ AC_DEFUN([UTILS_HOST_OS],
        *)
         os=$host_os;;
      esac
-     utils_cv_host_operating_system=$os]])
+     gl_cv_host_operating_system=$os]])
   AC_DEFINE_UNQUOTED(HOST_OPERATING_SYSTEM,
-    "$utils_cv_host_operating_system",
+    "$gl_cv_host_operating_system",
     [The host operating system.])
 ])




reply via email to

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