cvs-cvs
[Top][All Lists]
Advanced

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

[Cvs-cvs] ccvs/m4 ChangeLog fpending.m4 getopt.m4 gnulib-...


From: Mark D. Baushke
Subject: [Cvs-cvs] ccvs/m4 ChangeLog fpending.m4 getopt.m4 gnulib-...
Date: Wed, 25 Jan 2006 12:53:43 +0000

CVSROOT:        /cvsroot/cvs
Module name:    ccvs
Branch:         
Changes by:     Mark D. Baushke <address@hidden>        06/01/25 12:53:43

Modified files:
        m4             : ChangeLog fpending.m4 getopt.m4 gnulib-comp.m4 
                         openat.m4 socklen.m4 stdbool.m4 stdint.m4 
Added files:
        m4             : sys_socket_h.m4 

Log message:
        * doc/getdate.texi: Update from GNULIB.
        
        * lib/chdir-long.c, lib/getopt.c, lib/gettime.c, lib/glob-libc.h,
        lib/glob_.h, lib/intprops.h, lib/md5.c, lib/md5.h, lib/mkdirat.c,
        lib/openat-priv.h, lib/openat.c, lib/openat.h, lib/quotearg.c,
        lib/regex_internal.h, lib/save-cwd.c, lib/socket_.h, lib/stdbool_.h,
        lib/stdint_.h, lib/strftime.c, lib/vasnprintf.c: Update from GNULIB.
        
        * m4/fpending.m4, m4/getopt.m4, m4/gnulib-comp.m4, m4/openat.m4,
        m4/socklen.m4, m4/stdbool.m4, m4/stdint.m4, m4/sys_socket_h.m4: Update
        from GNULIB.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/ChangeLog.diff?tr1=1.155&tr2=1.156&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/fpending.m4.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/getopt.m4.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/gnulib-comp.m4.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/openat.m4.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/socklen.m4.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/stdbool.m4.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/stdint.m4.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/sys_socket_h.m4?rev=1.1

Patches:
Index: ccvs/m4/ChangeLog
diff -u ccvs/m4/ChangeLog:1.155 ccvs/m4/ChangeLog:1.156
--- ccvs/m4/ChangeLog:1.155     Sun Jan  1 00:01:10 2006
+++ ccvs/m4/ChangeLog   Wed Jan 25 12:53:43 2006
@@ -1,3 +1,8 @@
+2006-01-25  Mark D. Baushke  <address@hidden>
+
+       * fpending.m4, getopt.m4, gnulib-comp.m4, openat.m4, socklen.m4,
+       stdbool.m4, stdint.m4, sys_socket_h.m4: Update from GNULIB.
+
 2005-12-31  Mark D. Baushke  <address@hidden>
 
        * gnulib-comp.m4: Update from GNULIB.
Index: ccvs/m4/fpending.m4
diff -u ccvs/m4/fpending.m4:1.3 ccvs/m4/fpending.m4:1.4
--- ccvs/m4/fpending.m4:1.3     Mon Nov 28 02:36:06 2005
+++ ccvs/m4/fpending.m4 Wed Jan 25 12:53:43 2006
@@ -1,6 +1,6 @@
-#serial 7
+#serial 8
 
-# Copyright (C) 2000, 2001, 2004, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2004, 2005, 2006 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -20,6 +20,7 @@
   AC_CHECK_HEADERS(stdio_ext.h)
   AC_REPLACE_FUNCS([__fpending])
   fp_headers='
+#     include <stdio.h>
 #     if HAVE_STDIO_EXT_H
 #      include <stdio_ext.h>
 #     endif
Index: ccvs/m4/getopt.m4
diff -u ccvs/m4/getopt.m4:1.10 ccvs/m4/getopt.m4:1.11
--- ccvs/m4/getopt.m4:1.10      Sun Sep  4 05:58:36 2005
+++ ccvs/m4/getopt.m4   Wed Jan 25 12:53:43 2006
@@ -1,5 +1,5 @@
-# getopt.m4 serial 11
-dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+# getopt.m4 serial 12
+dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -77,4 +77,7 @@
 AC_DEFUN([gl_GETOPT], [gl_GETOPT_IFELSE([gl_GETOPT_SUBSTITUTE])])
 
 # Prerequisites of lib/getopt*.
-AC_DEFUN([gl_PREREQ_GETOPT], [:])
+AC_DEFUN([gl_PREREQ_GETOPT],
+[
+  AC_CHECK_DECLS_ONCE([getenv])
+])
Index: ccvs/m4/gnulib-comp.m4
diff -u ccvs/m4/gnulib-comp.m4:1.10 ccvs/m4/gnulib-comp.m4:1.11
--- ccvs/m4/gnulib-comp.m4:1.10 Sun Jan  1 00:01:10 2006
+++ ccvs/m4/gnulib-comp.m4      Wed Jan 25 12:53:43 2006
@@ -18,6 +18,7 @@
 # any checks for libraries, header files, types and library functions.
 AC_DEFUN([gl_EARLY],
 [
+  AC_REQUIRE([AC_PROG_RANLIB])
   AC_REQUIRE([AC_GNU_SOURCE])
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
 ])
@@ -26,7 +27,7 @@
 # "Check for header files, types and library functions".
 AC_DEFUN([gl_INIT],
 [
-AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
+  AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
   gl_FUNC_ALLOCA
   gl_ALLOCSA
   gl_FUNC_ATEXIT
@@ -58,6 +59,7 @@
   gl_GETPAGESIZE
   gl_FUNC_GETPASS_GNU
   dnl you must add AM_GNU_GETTEXT([external]) or similar to configure.ac.
+  AM_GNU_GETTEXT_VERSION([0.14.5])
   gl_GETTIME
   AC_FUNC_GETTIMEOFDAY_CLOBBER
   gl_GLOB
@@ -100,6 +102,7 @@
   gl_FUNC_STRSTR
   gl_FUNC_STRTOL
   gl_FUNC_STRTOUL
+  gl_HEADER_SYS_SOCKET
   gl_TIME_R
   gl_TIMESPEC
   gl_FUNC_TZSET_CLOBBER
@@ -191,6 +194,7 @@
   lib/glob-libc.h
   lib/glob.c
   lib/glob_.h
+  lib/intprops.h
   lib/lstat.c
   lib/lstat.h
   lib/malloc.c
@@ -207,11 +211,13 @@
   lib/memrchr.h
   lib/minmax.h
   lib/mkdir.c
+  lib/mkdirat.c
   lib/mkstemp.c
   lib/mktime.c
   lib/nanosleep.c
   lib/open-safer.c
   lib/openat-die.c
+  lib/openat-priv.h
   lib/openat.c
   lib/openat.h
   lib/pagealign_alloc.c
@@ -239,6 +245,7 @@
   lib/setenv.c
   lib/setenv.h
   lib/size_max.h
+  lib/socket_.h
   lib/stat-macros.h
   lib/stdbool_.h
   lib/stdint_.h
@@ -388,6 +395,7 @@
   m4/strstr.m4
   m4/strtol.m4
   m4/strtoul.m4
+  m4/sys_socket_h.m4
   m4/time_r.m4
   m4/timespec.m4
   m4/tm_gmtoff.m4
Index: ccvs/m4/openat.m4
diff -u ccvs/m4/openat.m4:1.2 ccvs/m4/openat.m4:1.3
--- ccvs/m4/openat.m4:1.2       Tue Oct  4 02:33:12 2005
+++ ccvs/m4/openat.m4   Wed Jan 25 12:53:43 2006
@@ -1,7 +1,7 @@
-#serial 6
+#serial 8
 # See if we need to use our replacement for Solaris' openat function.
 
-dnl Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+dnl Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -10,7 +10,13 @@
 
 AC_DEFUN([gl_FUNC_OPENAT],
 [
-  AC_LIBSOURCES([openat.c, openat.h, openat-die.c])
+  AC_LIBSOURCES([openat.c, openat.h, openat-priv.h, openat-die.c])
+  AC_LIBSOURCES([mkdirat.c])
+  AC_LIBSOURCES([intprops.h])
+
+  # No system provides a mkdirat function; compile it unconditionally.
+  AC_LIBOBJ([mkdirat])
+
   AC_LIBOBJ([openat-die])
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
   AC_CHECK_FUNCS_ONCE([fdopendir])
Index: ccvs/m4/socklen.m4
diff -u ccvs/m4/socklen.m4:1.2 ccvs/m4/socklen.m4:1.3
--- ccvs/m4/socklen.m4:1.2      Wed Dec  7 10:50:43 2005
+++ ccvs/m4/socklen.m4  Wed Jan 25 12:53:43 2006
@@ -1,17 +1,22 @@
-# socklen.m4 serial 2
-dnl Copyright (C) 2005 Free Software Foundation, Inc.
+# socklen.m4 serial 3
+dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
 
-dnl From Albert Chin.
+dnl From Albert Chin, Windows fixes from Simon Josefsson.
 
 dnl Check for socklen_t: historically on BSD it is an int, and in
 dnl POSIX 1g it is a type of its own, but some platforms use different
 dnl types for the argument to getsockopt, getpeername, etc.  So we
 dnl have to test to find something that will work.
+
+dnl On mingw32, socklen_t is in ws2tcpip.h ('int'), so we try to find
+dnl it there first.  That file is included by gnulib's socket_.h, which
+dnl all users of this module should include.
 AC_DEFUN([gl_TYPE_SOCKLEN_T],
-  [AC_CHECK_TYPE([socklen_t], ,
+  [AC_CHECK_HEADERS_ONCE([sys/socket.h ws2tcpip.h])
+   AC_CHECK_TYPE([socklen_t], ,
      [AC_MSG_CHECKING([for socklen_t equivalent])
       AC_CACHE_VAL([gl_cv_gl_cv_socklen_t_equiv],
         [# Systems have either "struct sockaddr *" or
@@ -21,7 +26,7 @@
           for t in int size_t "unsigned int" "long int" "unsigned long int"; do
             AC_TRY_COMPILE(
               [#include <sys/types.h>
-               #include <sys/socket.h>
+                #include <sys/socket.h>
 
                int getpeername (int, $arg2 *, $t *);],
                [$t len;
@@ -39,4 +44,9 @@
       AC_DEFINE_UNQUOTED([socklen_t], [$gl_cv_socklen_t_equiv],
         [type to use in place of socklen_t if not defined])],
      [#include <sys/types.h>
-      #include <sys/socket.h>])])
+      #if HAVE_SYS_SOCKET_H
+      # include <sys/socket.h>
+      #endif
+      #if HAVE_WS2TCPIP_H
+      # include <ws2tcpip.h>
+      #endif])])
Index: ccvs/m4/stdbool.m4
diff -u ccvs/m4/stdbool.m4:1.4 ccvs/m4/stdbool.m4:1.5
--- ccvs/m4/stdbool.m4:1.4      Thu Oct 20 21:08:46 2005
+++ ccvs/m4/stdbool.m4  Wed Jan 25 12:53:43 2006
@@ -1,6 +1,6 @@
 # Check for stdbool.h that conforms to C99.
 
-dnl Copyright (C) 2002-2005 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2006 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -74,6 +74,28 @@
          _Bool n[m];
          char o[sizeof n == m * sizeof n[0] ? 1 : -1];
          char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
+         #if defined __xlc__
+          /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
+             reported by James Lemley on 2005-10-05; see
+             
http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
+             This test is not quite right, since xlc is allowed to
+             reject this program, as the initializer for xlcbug is
+             not one of the forms that C requires support for.
+             However, doing the test right would require a run-time
+             test, and that would make cross-compilation harder.
+             Let us hope that IBM fixes the xlc bug, and also adds
+             support for this kind of constant expression.  In the
+             meantime, this test will reject xlc, which is OK, since
+             our stdbool.h substitute should suffice.  */
+          char digs[] = "0123456789";
+          int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
+         #endif
+         /* Catch a bug in an HP-UX C compiler.  See
+            http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
+            
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
+          */
+         _Bool q = true;
+         _Bool *pq = &q;
        ],
        [
          /* Refer to every declared value, to avoid compiler optimizations.  */
Index: ccvs/m4/stdint.m4
diff -u ccvs/m4/stdint.m4:1.3 ccvs/m4/stdint.m4:1.4
--- ccvs/m4/stdint.m4:1.3       Wed Mar 23 00:04:29 2005
+++ ccvs/m4/stdint.m4   Wed Jan 25 12:53:43 2006
@@ -1,4 +1,4 @@
-# stdint.m4 serial 4
+# stdint.m4 serial 5
 dnl Copyright (C) 2001-2002, 2004-2005 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -12,6 +12,8 @@
 AC_REQUIRE([gt_HEADER_INTTYPES_H])
 dnl Check for <sys/inttypes.h>.
 AC_CHECK_HEADERS([sys/inttypes.h])
+dnl Check for <sys/bitypes.h> (used in Linux libc4 >= 4.6.7 and libc5).
+AC_CHECK_HEADERS([sys/bitypes.h])
 
 AC_MSG_CHECKING([for stdint.h])
 AC_CACHE_VAL(gl_cv_header_stdint_h, [




reply via email to

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