Change cache variable name prefix "jm_" to "gl_" everywhere.
authorJim Meyering <meyering@redhat.com>
Thu, 1 Nov 2007 17:34:38 +0000 (18:34 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 8 Nov 2007 09:28:27 +0000 (10:28 +0100)
* m4/d-type.m4, m4/jm-winsz1.m4, m4/jm-winsz2.m4, m4/link-follow.m4:
* m4/putenv.m4, m4/strtoimax.m4, m4/strtoumax.m4, m4/unlink-busy.m4:
* m4/uptime.m4: s/gl_/jm_/

ChangeLog
m4/d-type.m4
m4/jm-winsz1.m4
m4/jm-winsz2.m4
m4/link-follow.m4
m4/putenv.m4
m4/strtoimax.m4
m4/strtoumax.m4
m4/unlink-busy.m4
m4/uptime.m4

index ce2ce52af7f4249024d0ed872e6b68591d9eca2b..6f1bad33e8fc961230094b22036828675f4837b8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-11-08  Jim Meyering  <meyering@redhat.com>
+
+       Change cache variable name prefix "jm_" to "gl_" everywhere.
+       * m4/d-type.m4, m4/jm-winsz1.m4, m4/jm-winsz2.m4, m4/link-follow.m4:
+       * m4/putenv.m4, m4/strtoimax.m4, m4/strtoumax.m4, m4/unlink-busy.m4:
+       * m4/uptime.m4: s/gl_/jm_/
+
 2007-11-07  Bruno Haible  <bruno@clisp.org>
 
        Update to GNU gettext 0.17.
index 7675dd2b0eea651c16d9d6bb6406081abed2c90d..92f9b15844c9cd78acb8ae5c9623bf2c5b129f9c 100644 (file)
@@ -14,7 +14,7 @@ dnl
 
 AC_DEFUN([gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE],
   [AC_CACHE_CHECK([for d_type member in directory struct],
-                 jm_cv_struct_dirent_d_type,
+                 gl_cv_struct_dirent_d_type,
      [AC_TRY_LINK(dnl
        [
 #include <sys/types.h>
@@ -22,11 +22,11 @@ AC_DEFUN([gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE],
        ],
        [struct dirent dp; dp.d_type = 0;],
 
-       jm_cv_struct_dirent_d_type=yes,
-       jm_cv_struct_dirent_d_type=no)
+       gl_cv_struct_dirent_d_type=yes,
+       gl_cv_struct_dirent_d_type=no)
      ]
    )
-   if test $jm_cv_struct_dirent_d_type = yes; then
+   if test $gl_cv_struct_dirent_d_type = yes; then
      AC_DEFINE(HAVE_STRUCT_DIRENT_D_TYPE, 1,
        [Define if there is a member named d_type in the struct describing
         directory headers.])
index 52653b74b8cf21726c72042de1ebb57a470eeb50..bde5cc5abb6b3ff524a657379568fc4774a695cd 100644 (file)
@@ -9,8 +9,8 @@ dnl From Jim Meyering and Paul Eggert.
 AC_DEFUN([gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H],
 [AC_REQUIRE([AC_SYS_POSIX_TERMIOS])
  AC_CACHE_CHECK([whether use of TIOCGWINSZ requires termios.h],
-               jm_cv_sys_tiocgwinsz_needs_termios_h,
-  [jm_cv_sys_tiocgwinsz_needs_termios_h=no
+               gl_cv_sys_tiocgwinsz_needs_termios_h,
+  [gl_cv_sys_tiocgwinsz_needs_termios_h=no
 
    if test $ac_cv_sys_posix_termios = yes; then
      AC_EGREP_CPP([yes],
@@ -19,7 +19,7 @@ AC_DEFUN([gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H],
 #      ifdef TIOCGWINSZ
          yes
 #      endif
-     ], jm_cv_sys_tiocgwinsz_needs_termios_h=yes)
+     ], gl_cv_sys_tiocgwinsz_needs_termios_h=yes)
    fi
   ])
 ])
@@ -27,21 +27,21 @@ AC_DEFUN([gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H],
 AC_DEFUN([gl_WINSIZE_IN_PTEM],
   [AC_REQUIRE([AC_SYS_POSIX_TERMIOS])
    AC_CACHE_CHECK([whether use of struct winsize requires sys/ptem.h],
-     jm_cv_sys_struct_winsize_needs_sys_ptem_h,
-     [jm_cv_sys_struct_winsize_needs_sys_ptem_h=yes
+     gl_cv_sys_struct_winsize_needs_sys_ptem_h,
+     [gl_cv_sys_struct_winsize_needs_sys_ptem_h=yes
       if test $ac_cv_sys_posix_termios = yes; then
        AC_TRY_COMPILE([#include <termios.h>],
          [struct winsize x;
           if (sizeof x > 0) return 0;],
-          [jm_cv_sys_struct_winsize_needs_sys_ptem_h=no])
+          [gl_cv_sys_struct_winsize_needs_sys_ptem_h=no])
       fi
-      if test $jm_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
+      if test $gl_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
        AC_TRY_COMPILE([#include <sys/ptem.h>],
          [struct winsize x;
           if (sizeof x > 0) return 0;],
-         [], [jm_cv_sys_struct_winsize_needs_sys_ptem_h=no])
+         [], [gl_cv_sys_struct_winsize_needs_sys_ptem_h=no])
       fi])
-   if test $jm_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
+   if test $gl_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
      AC_DEFINE([WINSIZE_IN_PTEM], 1,
        [Define if sys/ptem.h is required for struct winsize.])
    fi])
index 66c50409254ea83f94d83700b4fe93e4ee9bbe40..ee710a552c28e75a699f18c79883d8b0e5f49d61 100644 (file)
@@ -8,20 +8,20 @@
 AC_DEFUN([gl_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL],
 [AC_REQUIRE([gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H])
  AC_CACHE_CHECK([whether use of TIOCGWINSZ requires sys/ioctl.h],
-               jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h,
-  [jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h=no
+               gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h,
+  [gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h=no
 
-  if test $jm_cv_sys_tiocgwinsz_needs_termios_h = no; then
+  if test $gl_cv_sys_tiocgwinsz_needs_termios_h = no; then
     AC_EGREP_CPP([yes],
     [#include <sys/types.h>
 #     include <sys/ioctl.h>
 #     ifdef TIOCGWINSZ
         yes
 #     endif
-    ], jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h=yes)
+    ], gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h=yes)
   fi
   ])
-  if test $jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h = yes; then
+  if test $gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h = yes; then
     AC_DEFINE(GWINSZ_IN_SYS_IOCTL, 1,
       [Define if your system defines TIOCGWINSZ in sys/ioctl.h.])
   fi
index 69a7018771b30d825a5fe18a1a454f85f49467c3..ceec0675c590fdac455b8a0aa4b3d86816387394 100644 (file)
@@ -11,7 +11,7 @@ AC_DEFUN([gl_AC_FUNC_LINK_FOLLOWS_SYMLINK],
 [dnl
   AC_CACHE_CHECK(
     [whether link(2) dereferences a symlink specified with a trailing slash],
-                jm_ac_cv_func_link_follows_symlink,
+                gl_ac_cv_func_link_follows_symlink,
   [
     # Create a regular file.
     echo > conftest.file
@@ -52,12 +52,12 @@ AC_DEFUN([gl_AC_FUNC_LINK_FOLLOWS_SYMLINK],
          return SAME_INODE (sb_hard, sb_file) ? 0 : 1;
        }
       ],
-      jm_ac_cv_func_link_follows_symlink=yes,
-      jm_ac_cv_func_link_follows_symlink=no,
-      jm_ac_cv_func_link_follows_symlink=yes dnl We're cross compiling.
+      gl_ac_cv_func_link_follows_symlink=yes,
+      gl_ac_cv_func_link_follows_symlink=no,
+      gl_ac_cv_func_link_follows_symlink=yes dnl We're cross compiling.
     )
   ])
-  if test $jm_ac_cv_func_link_follows_symlink = yes; then
+  if test $gl_ac_cv_func_link_follows_symlink = yes; then
     AC_DEFINE(LINK_FOLLOWS_SYMLINKS, 1,
       [Define if `link(2)' dereferences symbolic links.])
   fi
index 226a9ebcee62264b249008a4d35fe86c652f178d..9c76a006fa1ba7ee54570a1cc29210e31af616d0 100644 (file)
@@ -13,7 +13,7 @@ AC_DEFUN([gl_FUNC_PUTENV],
 [
   AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
   AC_CACHE_CHECK([for putenv compatible with GNU and SVID],
-   [jm_cv_func_svid_putenv],
+   [gl_cv_func_svid_putenv],
    [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],[
     /* Put it in env.  */
     if (putenv ("CONFTEST_putenv=val"))
@@ -29,12 +29,12 @@ AC_DEFUN([gl_FUNC_PUTENV],
 
     return 0;
              ])],
-            jm_cv_func_svid_putenv=yes,
-            jm_cv_func_svid_putenv=no,
+            gl_cv_func_svid_putenv=yes,
+            gl_cv_func_svid_putenv=no,
             dnl When crosscompiling, assume putenv is broken.
-            jm_cv_func_svid_putenv=no)
+            gl_cv_func_svid_putenv=no)
    ])
-  if test $jm_cv_func_svid_putenv = no; then
+  if test $gl_cv_func_svid_putenv = no; then
     REPLACE_PUTENV=1
     AC_LIBOBJ(putenv)
   fi
index 9957637a65c8425ec7081e8eebee297c7180c696..6ed66c96876e5574349587d391e097aefdcd9a77 100644 (file)
@@ -11,15 +11,15 @@ AC_DEFUN([gl_FUNC_STRTOIMAX],
   AC_REQUIRE([AC_PROG_EGREP])
 
   AC_CACHE_CHECK([whether <inttypes.h> defines strtoimax as a macro],
-    jm_cv_func_strtoimax_macro,
+    gl_cv_func_strtoimax_macro,
     [AC_EGREP_CPP([inttypes_h_defines_strtoimax], [#include <inttypes.h>
 #ifdef strtoimax
  inttypes_h_defines_strtoimax
 #endif],
-       jm_cv_func_strtoimax_macro=yes,
-       jm_cv_func_strtoimax_macro=no)])
+       gl_cv_func_strtoimax_macro=yes,
+       gl_cv_func_strtoimax_macro=no)])
 
-  if test "$jm_cv_func_strtoimax_macro" != yes; then
+  if test "$gl_cv_func_strtoimax_macro" != yes; then
     AC_REPLACE_FUNCS(strtoimax)
     if test $ac_cv_func_strtoimax = no; then
       gl_PREREQ_STRTOIMAX
index 1935250ed66f917c3676a1f49453e26cc13a8f9a..aef5b430977d337cb06b70ae64384eada175c2fc 100644 (file)
@@ -11,15 +11,15 @@ AC_DEFUN([gl_FUNC_STRTOUMAX],
   AC_REQUIRE([AC_PROG_EGREP])
 
   AC_CACHE_CHECK([whether <inttypes.h> defines strtoumax as a macro],
-    jm_cv_func_strtoumax_macro,
+    gl_cv_func_strtoumax_macro,
     [AC_EGREP_CPP([inttypes_h_defines_strtoumax], [#include <inttypes.h>
 #ifdef strtoumax
  inttypes_h_defines_strtoumax
 #endif],
-       jm_cv_func_strtoumax_macro=yes,
-       jm_cv_func_strtoumax_macro=no)])
+       gl_cv_func_strtoumax_macro=yes,
+       gl_cv_func_strtoumax_macro=no)])
 
-  if test "$jm_cv_func_strtoumax_macro" != yes; then
+  if test "$gl_cv_func_strtoumax_macro" != yes; then
     AC_REPLACE_FUNCS(strtoumax)
     if test $ac_cv_func_strtoumax = no; then
       gl_PREREQ_STRTOUMAX
index 687f900da1d6bd941a227ce92d7a91623683d7c8..a38eb707cfe2f28eeb45b613b9eafb89bab0512d 100644 (file)
@@ -12,7 +12,7 @@ dnl HPUX and other systems can't unlink shared text that is being executed.
 AC_DEFUN([gl_FUNC_UNLINK_BUSY_TEXT],
 [dnl
   AC_CACHE_CHECK([whether a running program can be unlinked],
-    jm_cv_func_unlink_busy_text,
+    gl_cv_func_unlink_busy_text,
     [
       AC_RUN_IFELSE(
         [AC_LANG_SOURCE(
@@ -22,14 +22,14 @@ AC_DEFUN([gl_FUNC_UNLINK_BUSY_TEXT],
            {
              return !argc || unlink (argv[0]) != 0;
            }]])],
-      jm_cv_func_unlink_busy_text=yes,
-      jm_cv_func_unlink_busy_text=no,
-      jm_cv_func_unlink_busy_text=no
+      gl_cv_func_unlink_busy_text=yes,
+      gl_cv_func_unlink_busy_text=no,
+      gl_cv_func_unlink_busy_text=no
       )
     ]
   )
 
-  if test $jm_cv_func_unlink_busy_text = no; then
+  if test $gl_cv_func_unlink_busy_text = no; then
     INSTALL=$ac_install_sh
   fi
 ])
index 680e30fdb1dc866d47ef6ce87e52c47fe9cccf6e..05c9e5f88835535c78d743484af820c27e7f7d02 100644 (file)
@@ -10,13 +10,13 @@ AC_PREREQ(2.13)
 AC_DEFUN([gl_SYS_PROC_UPTIME],
 [ dnl Require AC_PROG_CC to see if we're cross compiling.
   AC_REQUIRE([AC_PROG_CC])
-  AC_CACHE_CHECK([for /proc/uptime], jm_cv_have_proc_uptime,
-  [jm_cv_have_proc_uptime=no
+  AC_CACHE_CHECK([for /proc/uptime], gl_cv_have_proc_uptime,
+  [gl_cv_have_proc_uptime=no
     test -f /proc/uptime \
       && test "$cross_compiling" = no \
       && cat < /proc/uptime >/dev/null 2>/dev/null \
-      && jm_cv_have_proc_uptime=yes])
-  if test $jm_cv_have_proc_uptime = yes; then
+      && gl_cv_have_proc_uptime=yes])
+  if test $gl_cv_have_proc_uptime = yes; then
     AC_DEFINE(HAVE_PROC_UPTIME, 1,
              [  Define if your system has the /proc/uptime special file.])
   fi