summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-12-31 22:41:49 +0100
committerBruno Haible <bruno@clisp.org>2009-12-31 22:41:49 +0100
commit1e22851b28319cebdfd9cf3e6975d170210b5d65 (patch)
treecbad1ca78ffef2868bd261ddce6617b6dda9944d /m4
parent4f8fcf1d705639f175f1e4b483a86b51cbeee2f0 (diff)
downloadgnulib-1e22851b28319cebdfd9cf3e6975d170210b5d65.tar.gz
Further updates, following today's commits.
Diffstat (limited to 'm4')
-rw-r--r--m4/arpa_inet_h.m45
-rw-r--r--m4/dirent_h.m45
-rw-r--r--m4/locale_h.m45
-rw-r--r--m4/spawn_h.m45
-rw-r--r--m4/sys_ioctl_h.m45
-rw-r--r--m4/wchar.m48
6 files changed, 12 insertions, 21 deletions
diff --git a/m4/arpa_inet_h.m4 b/m4/arpa_inet_h.m4
index 84f3e571d9..cf63b30da3 100644
--- a/m4/arpa_inet_h.m4
+++ b/m4/arpa_inet_h.m4
@@ -19,15 +19,14 @@ AC_DEFUN([gl_HEADER_ARPA_INET],
HAVE_ARPA_INET_H=0
fi
AC_SUBST([HAVE_ARPA_INET_H])
- dnl Execute this unconditionally, because ARPA_INET_H may be set by other
- dnl modules, after this code is executed.
+ dnl <arpa/inet.h> is always overridden, because of GNULIB_POSIXCHECK.
gl_CHECK_NEXT_HEADERS([arpa/inet.h])
])
dnl Unconditionally enables the replacement of <arpa/inet.h>.
AC_DEFUN([gl_REPLACE_ARPA_INET_H],
[
- AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS])
+ dnl This is a no-op, because <arpa/inet.h> is always overridden.
:
])
diff --git a/m4/dirent_h.m4 b/m4/dirent_h.m4
index 54dea8e47f..467e5cdbbe 100644
--- a/m4/dirent_h.m4
+++ b/m4/dirent_h.m4
@@ -12,15 +12,14 @@ AC_DEFUN([gl_DIRENT_H],
dnl once only, before all statements that occur in other macros.
AC_REQUIRE([gl_DIRENT_H_DEFAULTS])
- dnl Execute this unconditionally, because DIRENT_H may be set by other
- dnl modules, after this code is executed.
+ dnl <dirent.h> is always overridden, because of GNULIB_POSIXCHECK.
gl_CHECK_NEXT_HEADERS([dirent.h])
])
dnl Unconditionally enables the replacement of <dirent.h>.
AC_DEFUN([gl_REPLACE_DIRENT_H],
[
- AC_REQUIRE([gl_DIRENT_H_DEFAULTS])
+ dnl This is a no-op, because <dirent.h> is always overridden.
:
])
diff --git a/m4/locale_h.m4 b/m4/locale_h.m4
index 9228118b52..32ceeafdb3 100644
--- a/m4/locale_h.m4
+++ b/m4/locale_h.m4
@@ -48,8 +48,7 @@ locale_t x;], [],
fi
AC_SUBST([HAVE_XLOCALE_H])
- dnl Execute this unconditionally, because LOCALE_H may be set by other
- dnl modules, after this code is executed.
+ dnl <locale.h> is always overridden, because of GNULIB_POSIXCHECK.
gl_CHECK_NEXT_HEADERS([locale.h])
if test -n "$STDDEF_H" \
@@ -62,7 +61,7 @@ locale_t x;], [],
dnl Unconditionally enables the replacement of <locale.h>.
AC_DEFUN([gl_REPLACE_LOCALE_H],
[
- AC_REQUIRE([gl_LOCALE_H_DEFAULTS])
+ dnl This is a no-op, because <locale.h> is always overridden.
:
])
diff --git a/m4/spawn_h.m4 b/m4/spawn_h.m4
index 5b4b214d29..91ae99d88c 100644
--- a/m4/spawn_h.m4
+++ b/m4/spawn_h.m4
@@ -12,8 +12,7 @@ AC_DEFUN([gl_SPAWN_H],
dnl once only, before all statements that occur in other macros.
AC_REQUIRE([gl_SPAWN_H_DEFAULTS])
- dnl Execute this unconditionally, because SPAWN_H may be set by other
- dnl modules, after this code is executed.
+ dnl <spawn.h> is always overridden, because of GNULIB_POSIXCHECK.
gl_CHECK_NEXT_HEADERS([spawn.h])
AC_CHECK_HEADERS_ONCE([spawn.h])
@@ -40,7 +39,7 @@ AC_DEFUN([gl_SPAWN_H],
dnl Unconditionally enables the replacement of <spawn.h>.
AC_DEFUN([gl_REPLACE_SPAWN_H],
[
- AC_REQUIRE([gl_SPAWN_H_DEFAULTS])
+ dnl This is a no-op, because <spawn.h> is always overridden.
:
])
diff --git a/m4/sys_ioctl_h.m4 b/m4/sys_ioctl_h.m4
index 1de3b44290..abb984f095 100644
--- a/m4/sys_ioctl_h.m4
+++ b/m4/sys_ioctl_h.m4
@@ -31,15 +31,14 @@ AC_DEFUN([gl_SYS_IOCTL_H],
HAVE_SYS_IOCTL_H=0
fi
AC_SUBST([HAVE_SYS_IOCTL_H])
- dnl Execute this unconditionally, because SYS_IOCTL_H may be set by other
- dnl modules, after this code is executed.
+ dnl <sys/ioctl.h> is always overridden, because of GNULIB_POSIXCHECK.
gl_CHECK_NEXT_HEADERS([sys/ioctl.h])
])
dnl Unconditionally enables the replacement of <sys/ioctl.h>.
AC_DEFUN([gl_REPLACE_SYS_IOCTL_H],
[
- AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])
+ dnl This is a no-op, because <sys/ioctl.h> is always overridden.
:
])
diff --git a/m4/wchar.m4 b/m4/wchar.m4
index daf532ae7a..ad3bebd769 100644
--- a/m4/wchar.m4
+++ b/m4/wchar.m4
@@ -28,9 +28,6 @@ wchar_t w;]],
fi
AC_SUBST([HAVE_WINT_T])
- dnl If <stddef.h> is replaced, then <wchar.h> must also be replaced.
- AC_REQUIRE([gl_STDDEF_H])
-
dnl Prepare for creating substitute <wchar.h>.
dnl Do it always: WCHAR_H may be empty here but can be set later.
dnl Check for <wchar.h> (missing in Linux uClibc when built without wide
@@ -42,8 +39,7 @@ wchar_t w;]],
HAVE_WCHAR_H=0
fi
AC_SUBST([HAVE_WCHAR_H])
- dnl Execute this unconditionally, because WCHAR_H may be set by other
- dnl modules, after this code is executed.
+ dnl <wchar.h> is always overridden, because of GNULIB_POSIXCHECK.
gl_CHECK_NEXT_HEADERS([wchar.h])
])
@@ -98,7 +94,7 @@ Configuration aborted.])
dnl Unconditionally enables the replacement of <wchar.h>.
AC_DEFUN([gl_REPLACE_WCHAR_H],
[
- AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
+ dnl This is a no-op, because <wchar.h> is always overridden.
:
])