summaryrefslogtreecommitdiff
path: root/m4/sys_socket_h.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-10-25 22:51:05 +0200
committerBruno Haible <bruno@clisp.org>2008-10-25 22:51:05 +0200
commit64b663c0c479a3af01e3ccacdb3aa3f6a8c4a6a1 (patch)
tree0e8836ca18062b5621274d01e71a1530d7bf3d1d /m4/sys_socket_h.m4
parent719ff2a7c65cd5ffd255c30ea0fe59fe7bff6ed8 (diff)
downloadgnulib-64b663c0c479a3af01e3ccacdb3aa3f6a8c4a6a1.tar.gz
Reduce the dependencies of m4/sys_socket_h.m4.
Diffstat (limited to 'm4/sys_socket_h.m4')
-rw-r--r--m4/sys_socket_h.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/sys_socket_h.m4 b/m4/sys_socket_h.m4
index 9d2d92c5a2..85a0ace8ad 100644
--- a/m4/sys_socket_h.m4
+++ b/m4/sys_socket_h.m4
@@ -71,8 +71,8 @@ AC_DEFUN([gl_HEADER_SYS_SOCKET],
# Sets and substitutes HAVE_WINSOCK2_H.
AC_DEFUN([gl_PREREQ_SYS_H_WINSOCK2],
[
- AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
- AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])
+ m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])])
+ m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])])
AC_CHECK_HEADERS_ONCE([sys/socket.h])
if test $ac_cv_header_sys_socket_h != yes; then
dnl We cannot use AC_CHECK_HEADERS_ONCE here, because that would make