bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] socketlib, sockets, sys_socket: Use AC_REQUIRE to pacify autocon


From: Paul Eggert
Subject: [PATCH] socketlib, sockets, sys_socket: Use AC_REQUIRE to pacify autoconf.
Date: Fri, 24 Oct 2014 10:48:35 -0700

Without this change, in bleeding-edge fileutils Autoconf complains
that gl_SOCKETLIB etc. are AC_REQUIREd after being invoked.
* modules/socketlib (configure.ac): AC_REQUIRE gl_SOCKETLIB.
* modules/sockets (configure.ac): AC_REQUIRE gl_SOCKETS.
* modules/sys_socket (configure.ac): AC_REQUIRE gl_HEADER_SYS_SOCKET.
---
 ChangeLog          | 9 +++++++++
 modules/socketlib  | 2 +-
 modules/sockets    | 2 +-
 modules/sys_socket | 2 +-
 4 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index cee54a0..7aac7eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2014-10-24  Paul Eggert  <address@hidden>
+
+       socketlib, sockets, sys_socket: Use AC_REQUIRE to pacify autoconf.
+       Without this change, in bleeding-edge fileutils Autoconf complains
+       that gl_SOCKETLIB etc. are AC_REQUIREd after being invoked.
+       * modules/socketlib (configure.ac): AC_REQUIRE gl_SOCKETLIB.
+       * modules/sockets (configure.ac): AC_REQUIRE gl_SOCKETS.
+       * modules/sys_socket (configure.ac): AC_REQUIRE gl_HEADER_SYS_SOCKET.
+
 2014-10-24  Daiki Ueno  <address@hidden>
 
        iconv: avoid false detection of non-working iconv
diff --git a/modules/socketlib b/modules/socketlib
index 11cf06d..b6cc2e0 100644
--- a/modules/socketlib
+++ b/modules/socketlib
@@ -8,7 +8,7 @@ m4/sys_socket_h.m4
 Depends-on:
 
 configure.ac:
-gl_SOCKETLIB
+AC_REQUIRE([gl_SOCKETLIB])
 
 Makefile.am:
 
diff --git a/modules/sockets b/modules/sockets
index b6dffab..529728c 100644
--- a/modules/sockets
+++ b/modules/sockets
@@ -14,7 +14,7 @@ fd-hook
 msvc-nothrow
 
 configure.ac:
-gl_SOCKETS
+AC_REQUIRE([gl_SOCKETS])
 
 Makefile.am:
 lib_SOURCES += sockets.h sockets.c
diff --git a/modules/sys_socket b/modules/sys_socket
index df78751..3bb0bfc 100644
--- a/modules/sys_socket
+++ b/modules/sys_socket
@@ -20,7 +20,7 @@ stdalign
 sys_uio
 
 configure.ac:
-gl_HEADER_SYS_SOCKET
+AC_REQUIRE([gl_HEADER_SYS_SOCKET])
 AC_PROG_MKDIR_P
 
 Makefile.am:
-- 
1.9.3




reply via email to

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