bug-gnulib
[Top][All Lists]
Advanced

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

proposed changes to fchdir, iconv_open, locale, netinet_in, sys_select,


From: Paul Eggert
Subject: proposed changes to fchdir, iconv_open, locale, netinet_in, sys_select, sys_socket, sysexits
Date: Wed, 20 Jun 2007 22:17:21 -0700
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Here are the remaining changes to fix the #include_next problem for
Sun Studio 12 on GNU/Linux, for modules I don't maintain.  OK to
install these, Bruno and Simon?

Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnulib/gnulib/ChangeLog,v
retrieving revision 1.1770
diff -p -u -r1.1770 ChangeLog
--- ChangeLog   21 Jun 2007 04:39:09 -0000      1.1770
+++ ChangeLog   21 Jun 2007 05:13:46 -0000
@@ -5,17 +5,24 @@
        (gl_CHECK_NEXT_HEADERS): New macro.
        * m4/fcntl_h.m4 (gl_FCNTL_H): use gl_CHECK_NEXT_HEADERS instead of
        the obsolescent gl_ABSOLUTE_HEADER.
+       * m4/fchdir.m4 (gl_FUNC_FCHDIR): Likewise.
        * m4/float_h.m4 (gl_FLOAT_H): Likewise.
+       * m4/iconv_h.m4 (gl_ICONV_H): Likewise.
        * m4/inttypes.m4 (gl_INTTYPES_H): Likewise.
+       * m4/locale_h.m4 (gl_LOCALE_H): Likewise.
        * m4/math_h.m4 (gl_MATH_H): Likewise.
+       * m4/netinet_in_h.m4 (gl_HEADER_NETINET_IN): Likewise.
        * m4/search_h.m4 (gl_SEARCH_H): Likewise.
        * m4/signal_h.m4 (gl_SIGNAL_H): Likewise.
        * m4/stdint.m4 (gl_STDINT_H): Likewise.
        * m4/stdio_h.m4 (gl_STDIO_H): Likewise.
        * m4/stdlib_h.m4 (gl_STDLIB_H): Likewise.
        * m4/string_h.m4 (gl_HEADER_STRING_H_BODY): Likewise.
+       * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Likewise.
+       * m4/sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Likewise.
        * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Likewise.
        * m4/sys_time_h.m4 (gl_HEADER_SYS_TIME_H_BODY): Likewise.
+       * m4/sysexits.m4 (gl_SYSEXITS): Likewise.
        * m4/time_h.m4 (gl_HEADER_TIME_H_BODY): Likewise.
        * m4/unistd_h.m4 (gl_UNISTD_H): Likewise.
        * m4/wchar.m4 (gl_WCHAR_H): Likewise.
@@ -42,21 +49,35 @@
        * lib/unistd_.h: Likewise.
        * lib/wchar_.h: Likewise.
        * lib/wctype_.h: Likewise.
+       * lib/dirent_.h: Likewise.
+       * lib/iconv_.h: Likewise.
+       * lib/locale_.h: Likewise.
+       * lib/netinet_in_.h: Likewise.
+       * lib/sys_select_.h: Likewise.
+       * lib/sys_socket_.h: Likewise.
+       * lib/sysexits_.h: Likewise.
        * modules/fcntl (Depends-on): Depend on absolute-header, not
        include_next.
        (Makefile): Substitute INCLUDE_NEXT and NEXT_foo_H, not
        HAVE_INCLUDE_NEXT and ABSOLUTE_foo_H.
+       * modules/fchdir: Likewise.
        * modules/float: Likewise.
+       * modules/iconv_open: Likewise.
        * modules/inttypes: Likewise.
+       * modules/locale: Likewise.
        * modules/math: Likewise.
+       * modules/netinet_in: Likewise.
        * modules/search: Likewise.
        * modules/signal: Likewise.
        * modules/stdint: Likewise.
        * modules/stdio: Likewise.
        * modules/stdlib: Likewise.
        * modules/string: Likewise.
+       * modules/sys_select: Likewise.
+       * modules/sys_socket: Likewise.
        * modules/sys_stat: Likewise.
        * modules/sys_time: Likewise.
+       * modules/sysexits: Likewise.
        * modules/time: Likewise.
        * modules/unistd: Likewise.
        * modules/wchar: Likewise.
Index: lib/dirent_.h
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/dirent_.h,v
retrieving revision 1.4
diff -p -u -r1.4 dirent_.h
--- lib/dirent_.h       30 May 2007 02:16:51 -0000      1.4
+++ lib/dirent_.h       21 Jun 2007 05:13:46 -0000
@@ -18,11 +18,7 @@
 #ifndef _GL_DIRENT_H
 
 /* The include_next requires a split double-inclusion guard.  */
-#if @HAVE_INCLUDE_NEXT@
-# include_next <dirent.h>
-#else
-# include @ABSOLUTE_DIRENT_H@
-#endif
address@hidden@ @NEXT_DIRENT_H@
 
 #ifndef _GL_DIRENT_H
 #define _GL_DIRENT_H
Index: lib/iconv_.h
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/iconv_.h,v
retrieving revision 1.3
diff -p -u -r1.3 iconv_.h
--- lib/iconv_.h        30 May 2007 02:16:52 -0000      1.3
+++ lib/iconv_.h        21 Jun 2007 05:13:46 -0000
@@ -19,11 +19,7 @@
 #ifndef _GL_ICONV_H
 
 /* The include_next requires a split double-inclusion guard.  */
-#if @HAVE_INCLUDE_NEXT@
-# include_next <iconv.h>
-#else
-# include @ABSOLUTE_ICONV_H@
-#endif
address@hidden@ @NEXT_ICONV_H@
 
 #ifndef _GL_ICONV_H
 #define _GL_ICONV_H
Index: lib/locale_.h
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/locale_.h,v
retrieving revision 1.3
diff -p -u -r1.3 locale_.h
--- lib/locale_.h       30 May 2007 02:16:52 -0000      1.3
+++ lib/locale_.h       21 Jun 2007 05:13:46 -0000
@@ -18,11 +18,7 @@
 #ifndef _GL_LOCALE_H
 
 /* The include_next requires a split double-inclusion guard.  */
-#if @HAVE_INCLUDE_NEXT@
-# include_next <locale.h>
-#else
-# include @ABSOLUTE_LOCALE_H@
-#endif
address@hidden@ @NEXT_LOCALE_H@
 
 #ifndef _GL_LOCALE_H
 #define _GL_LOCALE_H
Index: lib/netinet_in_.h
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/netinet_in_.h,v
retrieving revision 1.3
diff -p -u -r1.3 netinet_in_.h
--- lib/netinet_in_.h   30 May 2007 02:16:52 -0000      1.3
+++ lib/netinet_in_.h   21 Jun 2007 05:13:46 -0000
@@ -24,11 +24,7 @@
 # include <sys/types.h>
 
 /* The include_next requires a split double-inclusion guard.  */
-# if @HAVE_INCLUDE_NEXT@
-#  include_next <netinet/in.h>
-# else
-#  include @ABSOLUTE_NETINET_IN_H@
-# endif
+# @INCLUDE_NEXT@ @NEXT_NETINET_IN_H@
 
 #endif
 
Index: lib/sys_select_.h
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/sys_select_.h,v
retrieving revision 1.3
diff -p -u -r1.3 sys_select_.h
--- lib/sys_select_.h   30 May 2007 02:16:52 -0000      1.3
+++ lib/sys_select_.h   21 Jun 2007 05:13:46 -0000
@@ -24,11 +24,7 @@
 # include <sys/types.h>
 
 /* The include_next requires a split double-inclusion guard.  */
-# if @HAVE_INCLUDE_NEXT@
-#  include_next <sys/select.h>
-# else
-#  include @ABSOLUTE_SYS_SELECT_H@
-# endif
+# @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@
 
 #endif
 
Index: lib/sys_socket_.h
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/sys_socket_.h,v
retrieving revision 1.3
diff -p -u -r1.3 sys_socket_.h
--- lib/sys_socket_.h   30 May 2007 02:16:52 -0000      1.3
+++ lib/sys_socket_.h   21 Jun 2007 05:13:46 -0000
@@ -30,11 +30,7 @@
 # include <sys/types.h>
 
 /* The include_next requires a split double-inclusion guard.  */
-# if @HAVE_INCLUDE_NEXT@
-#  include_next <sys/socket.h>
-# else
-#  include @ABSOLUTE_SYS_SOCKET_H@
-# endif
+# @INCLUDE_NEXT@ @NEXT_SYS_SOCKET_H@
 
 #endif
 
Index: lib/sysexits_.h
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/sysexits_.h,v
retrieving revision 1.3
diff -p -u -r1.3 sysexits_.h
--- lib/sysexits_.h     30 May 2007 02:16:53 -0000      1.3
+++ lib/sysexits_.h     21 Jun 2007 05:13:46 -0000
@@ -30,11 +30,7 @@
 # endif
 
 /* The include_next requires a split double-inclusion guard.  */
-# if @HAVE_INCLUDE_NEXT@
-#  include_next <sysexits.h>
-# else
-#  include @ABSOLUTE_SYSEXITS_H@
-# endif
+# @INCLUDE_NEXT@ @NEXT_SYSEXITS_H@
 
 /* HP-UX 11 <sysexits.h> ends at EX_NOPERM.  */
 # ifndef EX_CONFIG
Index: m4/fchdir.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/fchdir.m4,v
retrieving revision 1.3
diff -p -u -r1.3 fchdir.m4
--- m4/fchdir.m4        19 Feb 2007 02:24:42 -0000      1.3
+++ m4/fchdir.m4        21 Jun 2007 05:13:46 -0000
@@ -1,4 +1,4 @@
-# fchdir.m4 serial 3
+# fchdir.m4 serial 4
 dnl Copyright (C) 2006-2007 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -14,13 +14,11 @@ AC_DEFUN([gl_FUNC_FCHDIR],
     gl_PREREQ_FCHDIR
     AC_DEFINE([FCHDIR_REPLACEMENT], 1,
       [Define if gnulib's fchdir() replacement is used.])
-    gl_ABSOLUTE_HEADER([dirent.h])
-    ABSOLUTE_DIRENT_H=\"$gl_cv_absolute_dirent_h\"
+    gl_CHECK_NEXT_HEADERS([dirent.h])
     DIRENT_H='dirent.h'
   else
     DIRENT_H=
   fi
-  AC_SUBST([ABSOLUTE_DIRENT_H])
   AC_SUBST([DIRENT_H])
 ])
 
Index: m4/iconv_h.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/iconv_h.m4,v
retrieving revision 1.1
diff -p -u -r1.1 iconv_h.m4
--- m4/iconv_h.m4       31 Mar 2007 21:00:19 -0000      1.1
+++ m4/iconv_h.m4       21 Jun 2007 05:13:46 -0000
@@ -1,4 +1,4 @@
-# iconv_h.m4 serial 1
+# iconv_h.m4 serial 2
 dnl Copyright (C) 2007 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -7,9 +7,7 @@ dnl with or without modifications, as lo
 AC_DEFUN([gl_ICONV_H],
 [
   AC_REQUIRE([gl_ICONV_H_DEFAULTS])
-  gl_ABSOLUTE_HEADER([iconv.h])
-  ABSOLUTE_ICONV_H=\"$gl_cv_absolute_iconv_h\"
-  AC_SUBST([ABSOLUTE_ICONV_H])
+  gl_CHECK_NEXT_HEADERS([iconv.h])
   ICONV_H=
   AC_SUBST([ICONV_H])
 ])
Index: m4/locale_h.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/locale_h.m4,v
retrieving revision 1.1
diff -p -u -r1.1 locale_h.m4
--- m4/locale_h.m4      10 Apr 2007 23:41:17 -0000      1.1
+++ m4/locale_h.m4      21 Jun 2007 05:13:46 -0000
@@ -1,4 +1,4 @@
-# locale_h.m4 serial 1
+# locale_h.m4 serial 2
 dnl Copyright (C) 2007 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -15,9 +15,7 @@ int x = LC_MESSAGES;], [],
   if test $gl_cv_header_working_locale_h = yes; then
     LOCALE_H=
   else
-    gl_ABSOLUTE_HEADER([locale.h])
-    ABSOLUTE_LOCALE_H=\"$gl_cv_absolute_locale_h\"
-    AC_SUBST([ABSOLUTE_LOCALE_H])
+    gl_CHECK_NEXT_HEADERS([locale.h])
     LOCALE_H=locale.h
   fi
   AC_SUBST([LOCALE_H])
Index: m4/netinet_in_h.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/netinet_in_h.m4,v
retrieving revision 1.2
diff -p -u -r1.2 netinet_in_h.m4
--- m4/netinet_in_h.m4  7 Mar 2007 23:11:37 -0000       1.2
+++ m4/netinet_in_h.m4  21 Jun 2007 05:13:46 -0000
@@ -1,4 +1,4 @@
-# netinet_in_h.m4 serial 2
+# netinet_in_h.m4 serial 3
 dnl Copyright (C) 2006-2007 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -18,9 +18,7 @@ AC_DEFUN([gl_HEADER_NETINET_IN],
   else
     NETINET_IN_H='netinet/in.h'
     AC_CHECK_HEADERS([netinet/in.h])
-    gl_ABSOLUTE_HEADER([netinet/in.h])
-    ABSOLUTE_NETINET_IN_H=\"$gl_cv_absolute_netinet_in_h\"
-    AC_SUBST([ABSOLUTE_NETINET_IN_H])
+    gl_CHECK_NEXT_HEADERS([netinet/in.h])
     if test $ac_cv_header_netinet_in_h = yes; then
       HAVE_NETINET_IN_H=1
     else
Index: m4/sys_select_h.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/sys_select_h.m4,v
retrieving revision 1.2
diff -p -u -r1.2 sys_select_h.m4
--- m4/sys_select_h.m4  8 Mar 2007 03:48:30 -0000       1.2
+++ m4/sys_select_h.m4  21 Jun 2007 05:13:47 -0000
@@ -1,4 +1,4 @@
-# sys_select_h.m4 serial 2
+# sys_select_h.m4 serial 3
 dnl Copyright (C) 2006-2007 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -17,10 +17,7 @@ AC_DEFUN([gl_HEADER_SYS_SELECT],
     SYS_SELECT_H=''
   else
     SYS_SELECT_H='sys/select.h'
-    AC_CHECK_HEADERS([sys/select.h])
-    gl_ABSOLUTE_HEADER([sys/select.h])
-    ABSOLUTE_SYS_SELECT_H=\"$gl_cv_absolute_sys_select_h\"
-    AC_SUBST([ABSOLUTE_SYS_SELECT_H])
+    gl_CHECK_NEXT_HEADERS([sys/select.h])
     if test $ac_cv_header_sys_select_h = yes; then
       HAVE_SYS_SELECT_H=1
     else
Index: m4/sys_socket_h.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/sys_socket_h.m4,v
retrieving revision 1.3
diff -p -u -r1.3 sys_socket_h.m4
--- m4/sys_socket_h.m4  7 Mar 2007 23:04:53 -0000       1.3
+++ m4/sys_socket_h.m4  21 Jun 2007 05:13:47 -0000
@@ -1,4 +1,4 @@
-# sys_socket_h.m4 serial 3
+# sys_socket_h.m4 serial 4
 dnl Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -20,10 +20,7 @@ AC_DEFUN([gl_HEADER_SYS_SOCKET],
   else
     SYS_SOCKET_H='sys/socket.h'
 
-    AC_CHECK_HEADERS([sys/socket.h])
-    gl_ABSOLUTE_HEADER([sys/socket.h])
-    ABSOLUTE_SYS_SOCKET_H=\"$gl_cv_absolute_sys_socket_h\"
-    AC_SUBST([ABSOLUTE_SYS_SOCKET_H])
+    gl_CHECK_NEXT_HEADERS([sys/socket.h])
     if test $ac_cv_header_sys_socket_h = yes; then
       HAVE_SYS_SOCKET_H=1
       HAVE_WINSOCK2_H=0
Index: m4/sysexits.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/sysexits.m4,v
retrieving revision 1.4
diff -p -u -r1.4 sysexits.m4
--- m4/sysexits.m4      26 Mar 2007 10:16:08 -0000      1.4
+++ m4/sysexits.m4      21 Jun 2007 05:13:47 -0000
@@ -1,4 +1,4 @@
-# sysexits.m4 serial 3
+# sysexits.m4 serial 4
 dnl Copyright (C) 2003, 2005, 2007 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -9,8 +9,7 @@ AC_DEFUN([gl_SYSEXITS],
   AC_CHECK_HEADERS_ONCE([sysexits.h])
   if test $ac_cv_header_sysexits_h = yes; then
     HAVE_SYSEXITS_H=1
-    gl_ABSOLUTE_HEADER([sysexits.h])
-    ABSOLUTE_SYSEXITS_H=\"$gl_cv_absolute_sysexits_h\"
+    gl_CHECK_NEXT_HEADERS([sysexits.h])
     AC_TRY_COMPILE([#include <sysexits.h>],
       [switch (0)
        {
@@ -40,6 +39,5 @@ AC_DEFUN([gl_SYSEXITS],
     SYSEXITS_H=sysexits.h
   fi
   AC_SUBST([HAVE_SYSEXITS_H])
-  AC_SUBST([ABSOLUTE_SYSEXITS_H])
   AC_SUBST([SYSEXITS_H])
 ])
Index: modules/fchdir
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/fchdir,v
retrieving revision 1.6
diff -p -u -r1.6 fchdir
--- modules/fchdir      17 May 2007 15:56:06 -0000      1.6
+++ modules/fchdir      21 Jun 2007 05:13:47 -0000
@@ -7,7 +7,7 @@ lib/dirent_.h
 m4/fchdir.m4
 
 Depends-on:
-absolute-header
+include_next
 dup2
 fcntl
 unistd
@@ -27,8 +27,8 @@ BUILT_SOURCES += $(DIRENT_H)
 dirent.h: dirent_.h
        rm -f address@hidden $@
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
-         sed -e 's|@''ABSOLUTE_DIRENT_H''@|$(ABSOLUTE_DIRENT_H)|g' \
-             -e 's/@''HAVE_INCLUDE_NEXT''@/$(HAVE_INCLUDE_NEXT)/g' \
+         sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
+             -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
              -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
              < $(srcdir)/dirent_.h; \
        } > address@hidden
Index: modules/iconv_open
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/iconv_open,v
retrieving revision 1.3
diff -p -u -r1.3 iconv_open
--- modules/iconv_open  17 May 2007 15:56:06 -0000      1.3
+++ modules/iconv_open  21 Jun 2007 05:13:47 -0000
@@ -12,7 +12,7 @@ m4/iconv_h.m4
 m4/iconv_open.m4
 
 Depends-on:
-absolute-header
+include_next
 iconv
 c-ctype
 
@@ -28,8 +28,8 @@ BUILT_SOURCES += $(ICONV_H)
 iconv.h: iconv_.h
        rm -f address@hidden $@
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
-         sed -e 's|@''ABSOLUTE_ICONV_H''@|$(ABSOLUTE_ICONV_H)|g' \
-             -e 's/@''HAVE_INCLUDE_NEXT''@/$(HAVE_INCLUDE_NEXT)/g' \
+         sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
+             -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
              -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
              < $(srcdir)/iconv_.h; \
        } > address@hidden
Index: modules/locale
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/locale,v
retrieving revision 1.2
diff -p -u -r1.2 locale
--- modules/locale      17 May 2007 15:56:06 -0000      1.2
+++ modules/locale      21 Jun 2007 05:13:47 -0000
@@ -6,7 +6,7 @@ lib/locale_.h
 m4/locale_h.m4
 
 Depends-on:
-absolute-header
+include_next
 
 configure.ac:
 gl_LOCALE_H
@@ -19,8 +19,8 @@ BUILT_SOURCES += $(LOCALE_H)
 locale.h: locale_.h
        rm -f address@hidden $@
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
-         sed -e 's|@''ABSOLUTE_LOCALE_H''@|$(ABSOLUTE_LOCALE_H)|g' \
-             -e 's/@''HAVE_INCLUDE_NEXT''@/$(HAVE_INCLUDE_NEXT)/g' \
+         sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
+             -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
              < $(srcdir)/locale_.h; \
        } > address@hidden
        mv address@hidden $@
Index: modules/netinet_in
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/netinet_in,v
retrieving revision 1.8
diff -p -u -r1.8 netinet_in
--- modules/netinet_in  17 May 2007 15:56:06 -0000      1.8
+++ modules/netinet_in  21 Jun 2007 05:13:47 -0000
@@ -6,7 +6,7 @@ lib/netinet_in_.h
 m4/netinet_in_h.m4
 
 Depends-on:
-absolute-header
+include_next
 sys_socket
 
 configure.ac:
@@ -22,8 +22,8 @@ netinet/in.h:
        @MKDIR_P@ netinet
        rm -f address@hidden $@
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
-         sed -e 's|@''ABSOLUTE_NETINET_IN_H''@|$(ABSOLUTE_NETINET_IN_H)|g' \
-             -e 's/@''HAVE_INCLUDE_NEXT''@/$(HAVE_INCLUDE_NEXT)/g' \
+         sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
+             -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
              -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
              < $(srcdir)/netinet_in_.h; \
        } > address@hidden
Index: modules/sys_select
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/sys_select,v
retrieving revision 1.9
diff -p -u -r1.9 sys_select
--- modules/sys_select  17 May 2007 15:56:06 -0000      1.9
+++ modules/sys_select  21 Jun 2007 05:13:47 -0000
@@ -6,7 +6,7 @@ lib/sys_select_.h
 m4/sys_select_h.m4
 
 Depends-on:
-absolute-header
+include_next
 sys_socket
 
 configure.ac:
@@ -22,8 +22,8 @@ sys/select.h:
        @MKDIR_P@ sys
        rm -f address@hidden $@
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
-         sed -e 's|@''ABSOLUTE_SYS_SELECT_H''@|$(ABSOLUTE_SYS_SELECT_H)|g' \
-             -e 's/@''HAVE_INCLUDE_NEXT''@/$(HAVE_INCLUDE_NEXT)/g' \
+         sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
+             -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
              -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
              < $(srcdir)/sys_select_.h; \
        } > address@hidden
Index: modules/sys_socket
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/sys_socket,v
retrieving revision 1.14
diff -p -u -r1.14 sys_socket
--- modules/sys_socket  17 May 2007 15:56:06 -0000      1.14
+++ modules/sys_socket  21 Jun 2007 05:13:47 -0000
@@ -7,7 +7,7 @@ m4/sys_socket_h.m4
 m4/sockpfaf.m4
 
 Depends-on:
-absolute-header
+include_next
 
 configure.ac:
 gl_HEADER_SYS_SOCKET
@@ -21,8 +21,8 @@ BUILT_SOURCES += $(SYS_SOCKET_H)
 sys/socket.h: sys_socket_.h
        @MKDIR_P@ sys
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
-         sed -e 's|@''ABSOLUTE_SYS_SOCKET_H''@|$(ABSOLUTE_SYS_SOCKET_H)|g' \
-             -e 's/@''HAVE_INCLUDE_NEXT''@/$(HAVE_INCLUDE_NEXT)/g' \
+         sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
+             -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
              -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
              -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
              -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
Index: modules/sysexits
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/sysexits,v
retrieving revision 1.15
diff -p -u -r1.15 sysexits
--- modules/sysexits    17 May 2007 15:56:07 -0000      1.15
+++ modules/sysexits    21 Jun 2007 05:13:47 -0000
@@ -6,7 +6,7 @@ lib/sysexits_.h
 m4/sysexits.m4
 
 Depends-on:
-absolute-header
+include_next
 
 configure.ac:
 gl_SYSEXITS
@@ -19,8 +19,8 @@ BUILT_SOURCES += $(SYSEXITS_H)
 sysexits.h: sysexits_.h
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''HAVE_SYSEXITS_H''@|$(HAVE_SYSEXITS_H)|g' \
-             -e 's|@''ABSOLUTE_SYSEXITS_H''@|$(ABSOLUTE_SYSEXITS_H)|g' \
-             -e 's/@''HAVE_INCLUDE_NEXT''@/$(HAVE_INCLUDE_NEXT)/g' \
+             -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
+             -e 's|@''NEXT_SYSEXITS_H''@|$(NEXT_SYSEXITS_H)|g' \
              < $(srcdir)/sysexits_.h; \
        } > address@hidden
        mv -f address@hidden $@




reply via email to

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