emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r111314: Merge from gnulib.


From: Paul Eggert
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r111314: Merge from gnulib.
Date: Sun, 23 Dec 2012 22:24:08 -0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111314
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Sun 2012-12-23 22:24:08 -0800
message:
  Merge from gnulib.
modified:
  ChangeLog
  lib/filemode.c
  lib/sys_stat.in.h
  m4/gnulib-common.m4
=== modified file 'ChangeLog'
--- a/ChangeLog 2012-12-21 19:32:43 +0000
+++ b/ChangeLog 2012-12-24 06:24:08 +0000
@@ -1,3 +1,10 @@
+2012-12-24  Paul Eggert  <address@hidden>
+
+       Merge from gnulib, incorporating:
+       2012-12-21 AC_PROG_MKDIR_P: port workaround to pre-2.62 Autoconf
+       2012-12-20 AC_PROG_MKDIR_P: don't workaround if not buggy
+       2012-12-17 filemode, sys_stat: Handle MPX files a la AIX.
+
 2012-12-21  Akinori MUSHA  <address@hidden>  (tiny change)
 
        * Makefile.in (install-arch-dep): Ignore chmod errors.  (Bug#13233)

=== modified file 'lib/filemode.c'
--- a/lib/filemode.c    2012-05-26 23:14:36 +0000
+++ b/lib/filemode.c    2012-12-24 06:24:08 +0000
@@ -78,7 +78,7 @@
     return 'C';
   if (S_ISDOOR (bits))
     return 'D';
-  if (S_ISMPB (bits) || S_ISMPC (bits))
+  if (S_ISMPB (bits) || S_ISMPC (bits) || S_ISMPX (bits))
     return 'm';
   if (S_ISNWK (bits))
     return 'n';

=== modified file 'lib/sys_stat.in.h'
--- a/lib/sys_stat.in.h 2012-11-30 18:25:59 +0000
+++ b/lib/sys_stat.in.h 2012-12-24 06:24:08 +0000
@@ -150,6 +150,10 @@
 # endif
 #endif
 
+#ifndef S_ISMPX /* AIX */
+# define S_ISMPX(m) 0
+#endif
+
 #ifndef S_ISNAM /* Xenix */
 # ifdef S_IFNAM
 #  define S_ISNAM(m) (((m) & S_IFMT) == S_IFNAM)

=== modified file 'm4/gnulib-common.m4'
--- a/m4/gnulib-common.m4       2012-06-22 17:20:00 +0000
+++ b/m4/gnulib-common.m4       2012-12-24 06:24:08 +0000
@@ -294,6 +294,8 @@
 # for interoperability with automake-1.9.6 from autoconf-2.62.
 # Remove this macro when we can assume autoconf >= 2.62 or
 # autoconf >= 2.60 && automake >= 1.10.
+# AC_AUTOCONF_VERSION was introduced in 2.62, so use that as the witness.
+m4_ifndef([AC_AUTOCONF_VERSION],[
 m4_ifdef([AC_PROG_MKDIR_P], [
   dnl For automake-1.9.6 && autoconf < 2.62: Ensure MKDIR_P is AC_SUBSTed.
   m4_define([AC_PROG_MKDIR_P],
@@ -304,13 +306,15 @@
     [AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
      MKDIR_P='$(mkdir_p)'
      AC_SUBST([MKDIR_P])])])
+])
 
 # AC_C_RESTRICT
 # This definition overrides the AC_C_RESTRICT macro from autoconf 2.60..2.61,
 # so that mixed use of GNU C and GNU C++ and mixed use of Sun C and Sun C++
 # works.
 # This definition can be removed once autoconf >= 2.62 can be assumed.
-m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.62]),[-1],[
+# AC_AUTOCONF_VERSION was introduced in 2.62, so use that as the witness.
+m4_ifndef([AC_AUTOCONF_VERSION],[
 AC_DEFUN([AC_C_RESTRICT],
 [AC_CACHE_CHECK([for C/C++ restrict keyword], [ac_cv_c_restrict],
   [ac_cv_c_restrict=no


reply via email to

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