mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
maint: remove useless REPLACE_*_H macros
There are still a few modules, like iconv_h.m4, that still use older paradigms where GNULIB_POSIXCHECK is unsupported and where gl_REPLACE_<HEADER>_H is still essential. But since we are moving away from that style, I see no reason to keep the idiom for the modules that don't need it. * m4/arpa_inet_h.m4 (gl_REPLACE_ARPA_INET_H): Delete. * m4/dirent_h.m4 (gl_REPLACE_DIRENT_H): Likewise. * m4/locale_h.m4 (gl_REPLACE_LOCALE_H): Likewise. * m4/poll_h.m4 (gl_REPLACE_POLL_H): Likewise. * m4/spawn_h.m4 (gl_REPLACE_SPAWN_H): Likewise. * m4/sys_ioctl_h.m4 (gl_REPLACE_SYS_IOCTL_H): Likewise. * m4/wchar_h.m4 (gl_REPLACE_WCHAR_H): Likewise. * m4/btowc.m4: Update callers. * m4/dirfd.m4: Likewise. * m4/duplocale.m4: Likewise. * m4/fchdir.m4: Likewise. * m4/fdopendir.m4: Likewise. * m4/inet_ntop.m4: Likewise. * m4/inet_pton.m4: Likewise. * m4/ioctl.m4: Likewise. * m4/mbrlen.m4: Likewise. * m4/mbrtowc.m4: Likewise. * m4/mbsinit.m4: Likewise. * m4/mbsnrtowcs.m4: Likewise. * m4/mbsrtowcs.m4: Likewise. * m4/poll.m4: Likewise. * m4/setlocale.m4: Likewise. * m4/wcrtomb.m4: Likewise. * m4/wcsnrtombs.m4: Likewise. * m4/wcsrtombs.m4: Likewise. * m4/wctob.m4: Likewise. * m4/wcwidth.m4: Likewise. * modules/posix_spawn: Likewise. * modules/posix_spawn_file_actions_addclose: Likewise. * modules/posix_spawn_file_actions_adddup2: Likewise. * modules/posix_spawn_file_actions_addopen: Likewise. * modules/posix_spawn_file_actions_destroy: Likewise. * modules/posix_spawn_file_actions_init: Likewise. * modules/posix_spawnattr_destroy: Likewise. * modules/posix_spawnattr_getflags: Likewise. * modules/posix_spawnattr_getpgroup: Likewise. * modules/posix_spawnattr_getschedparam: Likewise. * modules/posix_spawnattr_getschedpolicy: Likewise. * modules/posix_spawnattr_getsigdefault: Likewise. * modules/posix_spawnattr_getsigmask: Likewise. * modules/posix_spawnattr_init: Likewise. * modules/posix_spawnattr_setflags: Likewise. * modules/posix_spawnattr_setpgroup: Likewise. * modules/posix_spawnattr_setschedparam: Likewise. * modules/posix_spawnattr_setschedpolicy: Likewise. * modules/posix_spawnattr_setsigdefault: Likewise. * modules/posix_spawnattr_setsigmask: Likewise. * modules/posix_spawnp: Likewise. Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
52
ChangeLog
52
ChangeLog
@@ -1,3 +1,55 @@
|
|||||||
|
2011-05-05 Eric Blake <eblake@redhat.com>
|
||||||
|
|
||||||
|
maint: remove useless REPLACE_*_H macros
|
||||||
|
* m4/arpa_inet_h.m4 (gl_REPLACE_ARPA_INET_H): Delete.
|
||||||
|
* m4/dirent_h.m4 (gl_REPLACE_DIRENT_H): Likewise.
|
||||||
|
* m4/locale_h.m4 (gl_REPLACE_LOCALE_H): Likewise.
|
||||||
|
* m4/poll_h.m4 (gl_REPLACE_POLL_H): Likewise.
|
||||||
|
* m4/spawn_h.m4 (gl_REPLACE_SPAWN_H): Likewise.
|
||||||
|
* m4/sys_ioctl_h.m4 (gl_REPLACE_SYS_IOCTL_H): Likewise.
|
||||||
|
* m4/wchar_h.m4 (gl_REPLACE_WCHAR_H): Likewise.
|
||||||
|
* m4/btowc.m4: Update callers.
|
||||||
|
* m4/dirfd.m4: Likewise.
|
||||||
|
* m4/duplocale.m4: Likewise.
|
||||||
|
* m4/fchdir.m4: Likewise.
|
||||||
|
* m4/fdopendir.m4: Likewise.
|
||||||
|
* m4/inet_ntop.m4: Likewise.
|
||||||
|
* m4/inet_pton.m4: Likewise.
|
||||||
|
* m4/ioctl.m4: Likewise.
|
||||||
|
* m4/mbrlen.m4: Likewise.
|
||||||
|
* m4/mbrtowc.m4: Likewise.
|
||||||
|
* m4/mbsinit.m4: Likewise.
|
||||||
|
* m4/mbsnrtowcs.m4: Likewise.
|
||||||
|
* m4/mbsrtowcs.m4: Likewise.
|
||||||
|
* m4/poll.m4: Likewise.
|
||||||
|
* m4/setlocale.m4: Likewise.
|
||||||
|
* m4/wcrtomb.m4: Likewise.
|
||||||
|
* m4/wcsnrtombs.m4: Likewise.
|
||||||
|
* m4/wcsrtombs.m4: Likewise.
|
||||||
|
* m4/wctob.m4: Likewise.
|
||||||
|
* m4/wcwidth.m4: Likewise.
|
||||||
|
* modules/posix_spawn: Likewise.
|
||||||
|
* modules/posix_spawn_file_actions_addclose: Likewise.
|
||||||
|
* modules/posix_spawn_file_actions_adddup2: Likewise.
|
||||||
|
* modules/posix_spawn_file_actions_addopen: Likewise.
|
||||||
|
* modules/posix_spawn_file_actions_destroy: Likewise.
|
||||||
|
* modules/posix_spawn_file_actions_init: Likewise.
|
||||||
|
* modules/posix_spawnattr_destroy: Likewise.
|
||||||
|
* modules/posix_spawnattr_getflags: Likewise.
|
||||||
|
* modules/posix_spawnattr_getpgroup: Likewise.
|
||||||
|
* modules/posix_spawnattr_getschedparam: Likewise.
|
||||||
|
* modules/posix_spawnattr_getschedpolicy: Likewise.
|
||||||
|
* modules/posix_spawnattr_getsigdefault: Likewise.
|
||||||
|
* modules/posix_spawnattr_getsigmask: Likewise.
|
||||||
|
* modules/posix_spawnattr_init: Likewise.
|
||||||
|
* modules/posix_spawnattr_setflags: Likewise.
|
||||||
|
* modules/posix_spawnattr_setpgroup: Likewise.
|
||||||
|
* modules/posix_spawnattr_setschedparam: Likewise.
|
||||||
|
* modules/posix_spawnattr_setschedpolicy: Likewise.
|
||||||
|
* modules/posix_spawnattr_setsigdefault: Likewise.
|
||||||
|
* modules/posix_spawnattr_setsigmask: Likewise.
|
||||||
|
* modules/posix_spawnp: Likewise.
|
||||||
|
|
||||||
2011-05-04 Reuben Thomas <rrt@sc3d.org>
|
2011-05-04 Reuben Thomas <rrt@sc3d.org>
|
||||||
|
|
||||||
Add option to do-release-commit-and-tag to specify branch.
|
Add option to do-release-commit-and-tag to specify branch.
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# arpa_inet_h.m4 serial 11
|
# arpa_inet_h.m4 serial 12
|
||||||
dnl Copyright (C) 2006, 2008-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2006, 2008-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -38,13 +38,6 @@ AC_DEFUN([gl_HEADER_ARPA_INET],
|
|||||||
]], [inet_ntop inet_pton])
|
]], [inet_ntop inet_pton])
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl Unconditionally enables the replacement of <arpa/inet.h>.
|
|
||||||
AC_DEFUN([gl_REPLACE_ARPA_INET_H],
|
|
||||||
[
|
|
||||||
dnl This is a no-op, because <arpa/inet.h> is always overridden.
|
|
||||||
:
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_DEFUN([gl_ARPA_INET_MODULE_INDICATOR],
|
AC_DEFUN([gl_ARPA_INET_MODULE_INDICATOR],
|
||||||
[
|
[
|
||||||
dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
|
dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# btowc.m4 serial 8
|
# btowc.m4 serial 9
|
||||||
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -109,7 +109,6 @@ int main ()
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
|
if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
|
||||||
gl_REPLACE_WCHAR_H
|
|
||||||
AC_LIBOBJ([btowc])
|
AC_LIBOBJ([btowc])
|
||||||
gl_PREREQ_BTOWC
|
gl_PREREQ_BTOWC
|
||||||
fi
|
fi
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# dirent_h.m4 serial 13
|
# dirent_h.m4 serial 14
|
||||||
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -21,13 +21,6 @@ AC_DEFUN([gl_DIRENT_H],
|
|||||||
]], [alphasort dirfd fdopendir scandir])
|
]], [alphasort dirfd fdopendir scandir])
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl Unconditionally enables the replacement of <dirent.h>.
|
|
||||||
AC_DEFUN([gl_REPLACE_DIRENT_H],
|
|
||||||
[
|
|
||||||
dnl This is a no-op, because <dirent.h> is always overridden.
|
|
||||||
:
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_DEFUN([gl_DIRENT_MODULE_INDICATOR],
|
AC_DEFUN([gl_DIRENT_MODULE_INDICATOR],
|
||||||
[
|
[
|
||||||
dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
|
dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# serial 19 -*- Autoconf -*-
|
# serial 20 -*- Autoconf -*-
|
||||||
|
|
||||||
dnl Find out how to get the file descriptor associated with an open DIR*.
|
dnl Find out how to get the file descriptor associated with an open DIR*.
|
||||||
|
|
||||||
@@ -12,7 +12,6 @@ dnl From Jim Meyering
|
|||||||
AC_DEFUN([gl_FUNC_DIRFD],
|
AC_DEFUN([gl_FUNC_DIRFD],
|
||||||
[
|
[
|
||||||
AC_REQUIRE([gl_DIRENT_H_DEFAULTS])
|
AC_REQUIRE([gl_DIRENT_H_DEFAULTS])
|
||||||
gl_REPLACE_DIRENT_H
|
|
||||||
|
|
||||||
dnl Persuade glibc <dirent.h> to declare dirfd().
|
dnl Persuade glibc <dirent.h> to declare dirfd().
|
||||||
AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
|
AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# duplocale.m4 serial 5
|
# duplocale.m4 serial 6
|
||||||
dnl Copyright (C) 2009-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2009-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -60,7 +60,6 @@ int main ()
|
|||||||
HAVE_DUPLOCALE=0
|
HAVE_DUPLOCALE=0
|
||||||
fi
|
fi
|
||||||
if test $REPLACE_DUPLOCALE = 1; then
|
if test $REPLACE_DUPLOCALE = 1; then
|
||||||
gl_REPLACE_LOCALE_H
|
|
||||||
AC_LIBOBJ([duplocale])
|
AC_LIBOBJ([duplocale])
|
||||||
gl_PREREQ_DUPLOCALE
|
gl_PREREQ_DUPLOCALE
|
||||||
fi
|
fi
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# fchdir.m4 serial 15
|
# fchdir.m4 serial 16
|
||||||
dnl Copyright (C) 2006-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2006-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -33,7 +33,6 @@ AC_DEFUN([gl_FUNC_FCHDIR],
|
|||||||
gl_REPLACE_DUP2
|
gl_REPLACE_DUP2
|
||||||
dnl dup3 is already unconditionally replaced
|
dnl dup3 is already unconditionally replaced
|
||||||
gl_REPLACE_FCNTL
|
gl_REPLACE_FCNTL
|
||||||
gl_REPLACE_DIRENT_H
|
|
||||||
AC_CACHE_CHECK([whether open can visit directories],
|
AC_CACHE_CHECK([whether open can visit directories],
|
||||||
[gl_cv_func_open_directory_works],
|
[gl_cv_func_open_directory_works],
|
||||||
[AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <fcntl.h>
|
[AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <fcntl.h>
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# serial 5
|
# serial 6
|
||||||
# See if we need to provide fdopendir.
|
# See if we need to provide fdopendir.
|
||||||
|
|
||||||
dnl Copyright (C) 2009-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2009-2011 Free Software Foundation, Inc.
|
||||||
@@ -19,7 +19,6 @@ AC_DEFUN([gl_FUNC_FDOPENDIR],
|
|||||||
if test $ac_cv_func_fdopendir = no; then
|
if test $ac_cv_func_fdopendir = no; then
|
||||||
AC_LIBOBJ([openat-proc])
|
AC_LIBOBJ([openat-proc])
|
||||||
AC_LIBOBJ([fdopendir])
|
AC_LIBOBJ([fdopendir])
|
||||||
gl_REPLACE_DIRENT_H
|
|
||||||
HAVE_FDOPENDIR=0
|
HAVE_FDOPENDIR=0
|
||||||
else
|
else
|
||||||
AC_CACHE_CHECK([whether fdopendir works],
|
AC_CACHE_CHECK([whether fdopendir works],
|
||||||
@@ -42,7 +41,6 @@ extern DIR *fdopendir (int);
|
|||||||
[gl_cv_func_fdopendir_works="guessing no"])])
|
[gl_cv_func_fdopendir_works="guessing no"])])
|
||||||
if test "$gl_cv_func_fdopendir_works" != yes; then
|
if test "$gl_cv_func_fdopendir_works" != yes; then
|
||||||
REPLACE_FDOPENDIR=1
|
REPLACE_FDOPENDIR=1
|
||||||
gl_REPLACE_DIRENT_H
|
|
||||||
AC_LIBOBJ([fdopendir])
|
AC_LIBOBJ([fdopendir])
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# inet_ntop.m4 serial 13
|
# inet_ntop.m4 serial 14
|
||||||
dnl Copyright (C) 2005-2006, 2008-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2005-2006, 2008-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -9,8 +9,6 @@ AC_DEFUN([gl_FUNC_INET_NTOP],
|
|||||||
dnl Persuade Solaris <arpa/inet.h> to declare inet_ntop.
|
dnl Persuade Solaris <arpa/inet.h> to declare inet_ntop.
|
||||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||||
|
|
||||||
gl_REPLACE_ARPA_INET_H
|
|
||||||
|
|
||||||
dnl Most platforms that provide inet_ntop define it in libc.
|
dnl Most platforms that provide inet_ntop define it in libc.
|
||||||
dnl Solaris 8..10 provide inet_ntop in libnsl instead.
|
dnl Solaris 8..10 provide inet_ntop in libnsl instead.
|
||||||
gl_save_LIBS=$LIBS
|
gl_save_LIBS=$LIBS
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# inet_pton.m4 serial 11
|
# inet_pton.m4 serial 12
|
||||||
dnl Copyright (C) 2006, 2008-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2006, 2008-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -9,8 +9,6 @@ AC_DEFUN([gl_FUNC_INET_PTON],
|
|||||||
dnl Persuade Solaris <arpa/inet.h> to declare inet_pton.
|
dnl Persuade Solaris <arpa/inet.h> to declare inet_pton.
|
||||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
||||||
|
|
||||||
gl_REPLACE_ARPA_INET_H
|
|
||||||
|
|
||||||
dnl Most platforms that provide inet_pton define it in libc.
|
dnl Most platforms that provide inet_pton define it in libc.
|
||||||
dnl Solaris 8..10 provide inet_pton in libnsl instead.
|
dnl Solaris 8..10 provide inet_pton in libnsl instead.
|
||||||
gl_save_LIBS=$LIBS
|
gl_save_LIBS=$LIBS
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# ioctl.m4 serial 1
|
# ioctl.m4 serial 2
|
||||||
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -13,7 +13,6 @@ AC_DEFUN([gl_FUNC_IOCTL],
|
|||||||
dnl application may use it and pass file descriptors that refer to
|
dnl application may use it and pass file descriptors that refer to
|
||||||
dnl sockets to the ioctl() function. So enable the support for sockets.
|
dnl sockets to the ioctl() function. So enable the support for sockets.
|
||||||
AC_LIBOBJ([ioctl])
|
AC_LIBOBJ([ioctl])
|
||||||
gl_REPLACE_SYS_IOCTL_H
|
|
||||||
else
|
else
|
||||||
AC_CHECK_FUNCS([ioctl])
|
AC_CHECK_FUNCS([ioctl])
|
||||||
dnl On glibc systems, the second parameter is 'unsigned long int request',
|
dnl On glibc systems, the second parameter is 'unsigned long int request',
|
||||||
@@ -32,7 +31,6 @@ AC_DEFUN([gl_FUNC_IOCTL],
|
|||||||
if test $gl_cv_func_ioctl_posix_signature != yes; then
|
if test $gl_cv_func_ioctl_posix_signature != yes; then
|
||||||
REPLACE_IOCTL=1
|
REPLACE_IOCTL=1
|
||||||
AC_LIBOBJ([ioctl])
|
AC_LIBOBJ([ioctl])
|
||||||
gl_REPLACE_SYS_IOCTL_H
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# locale_h.m4 serial 13
|
# locale_h.m4 serial 14
|
||||||
dnl Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -57,12 +57,6 @@ AC_DEFUN([gl_LOCALE_H],
|
|||||||
dnl <locale.h> is always overridden, because of GNULIB_POSIXCHECK.
|
dnl <locale.h> is always overridden, because of GNULIB_POSIXCHECK.
|
||||||
gl_NEXT_HEADERS([locale.h])
|
gl_NEXT_HEADERS([locale.h])
|
||||||
|
|
||||||
if test -n "$STDDEF_H" \
|
|
||||||
|| test $gl_cv_header_locale_h_posix2001 = no \
|
|
||||||
|| test $gl_cv_header_locale_h_needs_xlocale_h = yes; then
|
|
||||||
gl_REPLACE_LOCALE_H
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl Check for declarations of anything we want to poison if the
|
dnl Check for declarations of anything we want to poison if the
|
||||||
dnl corresponding gnulib module is not in use.
|
dnl corresponding gnulib module is not in use.
|
||||||
gl_WARN_ON_USE_PREPARE([[#include <locale.h>
|
gl_WARN_ON_USE_PREPARE([[#include <locale.h>
|
||||||
@@ -74,13 +68,6 @@ AC_DEFUN([gl_LOCALE_H],
|
|||||||
[setlocale duplocale])
|
[setlocale duplocale])
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl Unconditionally enables the replacement of <locale.h>.
|
|
||||||
AC_DEFUN([gl_REPLACE_LOCALE_H],
|
|
||||||
[
|
|
||||||
dnl This is a no-op, because <locale.h> is always overridden.
|
|
||||||
:
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_DEFUN([gl_LOCALE_MODULE_INDICATOR],
|
AC_DEFUN([gl_LOCALE_MODULE_INDICATOR],
|
||||||
[
|
[
|
||||||
dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
|
dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# mbrlen.m4 serial 5
|
# mbrlen.m4 serial 6
|
||||||
dnl Copyright (C) 2008, 2010-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2008, 2010-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -23,7 +23,6 @@ AC_DEFUN([gl_FUNC_MBRLEN],
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test $HAVE_MBRLEN = 0 || test $REPLACE_MBRLEN = 1; then
|
if test $HAVE_MBRLEN = 0 || test $REPLACE_MBRLEN = 1; then
|
||||||
gl_REPLACE_WCHAR_H
|
|
||||||
AC_LIBOBJ([mbrlen])
|
AC_LIBOBJ([mbrlen])
|
||||||
gl_PREREQ_MBRLEN
|
gl_PREREQ_MBRLEN
|
||||||
fi
|
fi
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# mbrtowc.m4 serial 22
|
# mbrtowc.m4 serial 23
|
||||||
dnl Copyright (C) 2001-2002, 2004-2005, 2008-2011 Free Software Foundation,
|
dnl Copyright (C) 2001-2002, 2004-2005, 2008-2011 Free Software Foundation,
|
||||||
dnl Inc.
|
dnl Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
@@ -54,7 +54,6 @@ AC_DEFUN([gl_FUNC_MBRTOWC],
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
|
if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
|
||||||
gl_REPLACE_WCHAR_H
|
|
||||||
AC_LIBOBJ([mbrtowc])
|
AC_LIBOBJ([mbrtowc])
|
||||||
gl_PREREQ_MBRTOWC
|
gl_PREREQ_MBRTOWC
|
||||||
fi
|
fi
|
||||||
@@ -88,9 +87,6 @@ AC_DEFUN([gl_MBSTATE_T_BROKEN],
|
|||||||
else
|
else
|
||||||
REPLACE_MBSTATE_T=1
|
REPLACE_MBSTATE_T=1
|
||||||
fi
|
fi
|
||||||
if test $REPLACE_MBSTATE_T = 1; then
|
|
||||||
gl_REPLACE_WCHAR_H
|
|
||||||
fi
|
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl Test whether mbrtowc puts the state into non-initial state when parsing an
|
dnl Test whether mbrtowc puts the state into non-initial state when parsing an
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# mbsinit.m4 serial 5
|
# mbsinit.m4 serial 6
|
||||||
dnl Copyright (C) 2008, 2010-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2008, 2010-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -28,7 +28,6 @@ AC_DEFUN([gl_FUNC_MBSINIT],
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
|
if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
|
||||||
gl_REPLACE_WCHAR_H
|
|
||||||
AC_LIBOBJ([mbsinit])
|
AC_LIBOBJ([mbsinit])
|
||||||
gl_PREREQ_MBSINIT
|
gl_PREREQ_MBSINIT
|
||||||
fi
|
fi
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# mbsnrtowcs.m4 serial 2
|
# mbsnrtowcs.m4 serial 3
|
||||||
dnl Copyright (C) 2008, 2010-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2008, 2010-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -23,7 +23,6 @@ AC_DEFUN([gl_FUNC_MBSNRTOWCS],
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test $HAVE_MBSNRTOWCS = 0 || test $REPLACE_MBSNRTOWCS = 1; then
|
if test $HAVE_MBSNRTOWCS = 0 || test $REPLACE_MBSNRTOWCS = 1; then
|
||||||
gl_REPLACE_WCHAR_H
|
|
||||||
AC_LIBOBJ([mbsnrtowcs])
|
AC_LIBOBJ([mbsnrtowcs])
|
||||||
AC_LIBOBJ([mbsrtowcs-state])
|
AC_LIBOBJ([mbsrtowcs-state])
|
||||||
gl_PREREQ_MBSNRTOWCS
|
gl_PREREQ_MBSNRTOWCS
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# mbsrtowcs.m4 serial 10
|
# mbsrtowcs.m4 serial 11
|
||||||
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -26,7 +26,6 @@ AC_DEFUN([gl_FUNC_MBSRTOWCS],
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then
|
if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then
|
||||||
gl_REPLACE_WCHAR_H
|
|
||||||
AC_LIBOBJ([mbsrtowcs])
|
AC_LIBOBJ([mbsrtowcs])
|
||||||
AC_LIBOBJ([mbsrtowcs-state])
|
AC_LIBOBJ([mbsrtowcs-state])
|
||||||
gl_PREREQ_MBSRTOWCS
|
gl_PREREQ_MBSRTOWCS
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# poll.m4 serial 12
|
# poll.m4 serial 13
|
||||||
dnl Copyright (c) 2003, 2005-2007, 2009-2011 Free Software Foundation, Inc.
|
dnl Copyright (c) 2003, 2005-2007, 2009-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -63,7 +63,6 @@ This is MacOSX or AIX
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test $HAVE_POLL = 0 || test $REPLACE_POLL = 1; then
|
if test $HAVE_POLL = 0 || test $REPLACE_POLL = 1; then
|
||||||
gl_REPLACE_POLL_H
|
|
||||||
AC_LIBOBJ([poll])
|
AC_LIBOBJ([poll])
|
||||||
gl_PREREQ_POLL
|
gl_PREREQ_POLL
|
||||||
else
|
else
|
||||||
|
10
m4/poll_h.m4
10
m4/poll_h.m4
@@ -1,4 +1,4 @@
|
|||||||
# poll_h.m4 serial 1
|
# poll_h.m4 serial 2
|
||||||
dnl Copyright (C) 2010-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2010-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -17,7 +17,6 @@ AC_DEFUN([gl_POLL_H],
|
|||||||
HAVE_POLL_H=1
|
HAVE_POLL_H=1
|
||||||
else
|
else
|
||||||
HAVE_POLL_H=0
|
HAVE_POLL_H=0
|
||||||
gl_REPLACE_POLL_H
|
|
||||||
fi
|
fi
|
||||||
AC_SUBST([HAVE_POLL_H])
|
AC_SUBST([HAVE_POLL_H])
|
||||||
|
|
||||||
@@ -30,13 +29,6 @@ AC_DEFUN([gl_POLL_H],
|
|||||||
[poll])
|
[poll])
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl Unconditionally enables the replacement of <poll.h>.
|
|
||||||
AC_DEFUN([gl_REPLACE_POLL_H],
|
|
||||||
[
|
|
||||||
dnl This is a no-op, because <poll.h> is always overridden.
|
|
||||||
:
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_DEFUN([gl_POLL_MODULE_INDICATOR],
|
AC_DEFUN([gl_POLL_MODULE_INDICATOR],
|
||||||
[
|
[
|
||||||
dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
|
dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# setlocale.m4 serial 1
|
# setlocale.m4 serial 2
|
||||||
dnl Copyright (C) 2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -14,7 +14,6 @@ AC_DEFUN([gl_FUNC_SETLOCALE],
|
|||||||
mingw*) REPLACE_SETLOCALE=1 ;;
|
mingw*) REPLACE_SETLOCALE=1 ;;
|
||||||
esac
|
esac
|
||||||
if test $REPLACE_SETLOCALE = 1; then
|
if test $REPLACE_SETLOCALE = 1; then
|
||||||
gl_REPLACE_LOCALE_H
|
|
||||||
AC_LIBOBJ([setlocale])
|
AC_LIBOBJ([setlocale])
|
||||||
gl_PREREQ_SETLOCALE
|
gl_PREREQ_SETLOCALE
|
||||||
fi
|
fi
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# spawn_h.m4 serial 12
|
# spawn_h.m4 serial 13
|
||||||
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -28,7 +28,6 @@ AC_DEFUN([gl_SPAWN_H],
|
|||||||
HAVE_SPAWN_H=0
|
HAVE_SPAWN_H=0
|
||||||
HAVE_POSIX_SPAWNATTR_T=0
|
HAVE_POSIX_SPAWNATTR_T=0
|
||||||
HAVE_POSIX_SPAWN_FILE_ACTIONS_T=0
|
HAVE_POSIX_SPAWN_FILE_ACTIONS_T=0
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
fi
|
fi
|
||||||
AC_SUBST([HAVE_SPAWN_H])
|
AC_SUBST([HAVE_SPAWN_H])
|
||||||
|
|
||||||
@@ -65,13 +64,6 @@ AC_DEFUN([gl_HAVE_POSIX_SPAWN],
|
|||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl Unconditionally enables the replacement of <spawn.h>.
|
|
||||||
AC_DEFUN([gl_REPLACE_SPAWN_H],
|
|
||||||
[
|
|
||||||
dnl This is a no-op, because <spawn.h> is always overridden.
|
|
||||||
:
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_DEFUN([gl_SPAWN_MODULE_INDICATOR],
|
AC_DEFUN([gl_SPAWN_MODULE_INDICATOR],
|
||||||
[
|
[
|
||||||
dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
|
dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# sys_ioctl_h.m4 serial 9
|
# sys_ioctl_h.m4 serial 10
|
||||||
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -44,13 +44,6 @@ AC_DEFUN([gl_SYS_IOCTL_H],
|
|||||||
]], [ioctl])
|
]], [ioctl])
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl Unconditionally enables the replacement of <sys/ioctl.h>.
|
|
||||||
AC_DEFUN([gl_REPLACE_SYS_IOCTL_H],
|
|
||||||
[
|
|
||||||
dnl This is a no-op, because <sys/ioctl.h> is always overridden.
|
|
||||||
:
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_DEFUN([gl_SYS_IOCTL_MODULE_INDICATOR],
|
AC_DEFUN([gl_SYS_IOCTL_MODULE_INDICATOR],
|
||||||
[
|
[
|
||||||
dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
|
dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
|
||||||
|
@@ -7,7 +7,7 @@ dnl with or without modifications, as long as this notice is preserved.
|
|||||||
|
|
||||||
dnl Written by Eric Blake.
|
dnl Written by Eric Blake.
|
||||||
|
|
||||||
# wchar_h.m4 serial 38
|
# wchar_h.m4 serial 39
|
||||||
|
|
||||||
AC_DEFUN([gl_WCHAR_H],
|
AC_DEFUN([gl_WCHAR_H],
|
||||||
[
|
[
|
||||||
@@ -119,13 +119,6 @@ Configuration aborted.])
|
|||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl Unconditionally enables the replacement of <wchar.h>.
|
|
||||||
AC_DEFUN([gl_REPLACE_WCHAR_H],
|
|
||||||
[
|
|
||||||
dnl This is a no-op, because <wchar.h> is always overridden.
|
|
||||||
:
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_DEFUN([gl_WCHAR_MODULE_INDICATOR],
|
AC_DEFUN([gl_WCHAR_MODULE_INDICATOR],
|
||||||
[
|
[
|
||||||
dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
|
dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# wcrtomb.m4 serial 8
|
# wcrtomb.m4 serial 9
|
||||||
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -89,7 +89,6 @@ int main ()
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
|
if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
|
||||||
gl_REPLACE_WCHAR_H
|
|
||||||
AC_LIBOBJ([wcrtomb])
|
AC_LIBOBJ([wcrtomb])
|
||||||
gl_PREREQ_WCRTOMB
|
gl_PREREQ_WCRTOMB
|
||||||
fi
|
fi
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# wcsnrtombs.m4 serial 3
|
# wcsnrtombs.m4 serial 4
|
||||||
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -20,7 +20,6 @@ AC_DEFUN([gl_FUNC_WCSNRTOMBS],
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test $HAVE_WCSNRTOMBS = 0 || test $REPLACE_WCSNRTOMBS = 1; then
|
if test $HAVE_WCSNRTOMBS = 0 || test $REPLACE_WCSNRTOMBS = 1; then
|
||||||
gl_REPLACE_WCHAR_H
|
|
||||||
AC_LIBOBJ([wcsnrtombs])
|
AC_LIBOBJ([wcsnrtombs])
|
||||||
AC_LIBOBJ([wcsrtombs-state])
|
AC_LIBOBJ([wcsrtombs-state])
|
||||||
gl_PREREQ_WCSNRTOMBS
|
gl_PREREQ_WCSNRTOMBS
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# wcsrtombs.m4 serial 8
|
# wcsrtombs.m4 serial 9
|
||||||
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -35,7 +35,6 @@ AC_DEFUN([gl_FUNC_WCSRTOMBS],
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test $HAVE_WCSRTOMBS = 0 || test $REPLACE_WCSRTOMBS = 1; then
|
if test $HAVE_WCSRTOMBS = 0 || test $REPLACE_WCSRTOMBS = 1; then
|
||||||
gl_REPLACE_WCHAR_H
|
|
||||||
AC_LIBOBJ([wcsrtombs])
|
AC_LIBOBJ([wcsrtombs])
|
||||||
AC_LIBOBJ([wcsrtombs-state])
|
AC_LIBOBJ([wcsrtombs-state])
|
||||||
gl_PREREQ_WCSRTOMBS
|
gl_PREREQ_WCSRTOMBS
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# wctob.m4 serial 7
|
# wctob.m4 serial 8
|
||||||
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -11,7 +11,6 @@ AC_DEFUN([gl_FUNC_WCTOB],
|
|||||||
AC_CHECK_FUNCS_ONCE([wctob])
|
AC_CHECK_FUNCS_ONCE([wctob])
|
||||||
if test $ac_cv_func_wctob = no; then
|
if test $ac_cv_func_wctob = no; then
|
||||||
HAVE_DECL_WCTOB=0
|
HAVE_DECL_WCTOB=0
|
||||||
gl_REPLACE_WCHAR_H
|
|
||||||
AC_LIBOBJ([wctob])
|
AC_LIBOBJ([wctob])
|
||||||
gl_PREREQ_WCTOB
|
gl_PREREQ_WCTOB
|
||||||
else
|
else
|
||||||
@@ -103,7 +102,6 @@ int main ()
|
|||||||
*) REPLACE_WCTOB=1 ;;
|
*) REPLACE_WCTOB=1 ;;
|
||||||
esac
|
esac
|
||||||
if test $REPLACE_WCTOB = 1; then
|
if test $REPLACE_WCTOB = 1; then
|
||||||
gl_REPLACE_WCHAR_H
|
|
||||||
AC_LIBOBJ([wctob])
|
AC_LIBOBJ([wctob])
|
||||||
gl_PREREQ_WCTOB
|
gl_PREREQ_WCTOB
|
||||||
else
|
else
|
||||||
@@ -121,7 +119,6 @@ int main ()
|
|||||||
])
|
])
|
||||||
if test $ac_cv_have_decl_wctob != yes; then
|
if test $ac_cv_have_decl_wctob != yes; then
|
||||||
HAVE_DECL_WCTOB=0
|
HAVE_DECL_WCTOB=0
|
||||||
gl_REPLACE_WCHAR_H
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# wcwidth.m4 serial 18
|
# wcwidth.m4 serial 19
|
||||||
dnl Copyright (C) 2006-2011 Free Software Foundation, Inc.
|
dnl Copyright (C) 2006-2011 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -93,10 +93,6 @@ changequote([,])dnl
|
|||||||
if test $ac_cv_func_wcwidth != yes || test $REPLACE_WCWIDTH = 1; then
|
if test $ac_cv_func_wcwidth != yes || test $REPLACE_WCWIDTH = 1; then
|
||||||
AC_LIBOBJ([wcwidth])
|
AC_LIBOBJ([wcwidth])
|
||||||
fi
|
fi
|
||||||
if test $ac_cv_func_wcwidth != yes || test $REPLACE_WCWIDTH = 1 \
|
|
||||||
|| test $HAVE_DECL_WCWIDTH = 0; then
|
|
||||||
gl_REPLACE_WCHAR_H
|
|
||||||
fi
|
|
||||||
dnl We don't substitute HAVE_WCWIDTH. We assume that if the system does not
|
dnl We don't substitute HAVE_WCWIDTH. We assume that if the system does not
|
||||||
dnl have the wcwidth function, then it does not declare it.
|
dnl have the wcwidth function, then it does not declare it.
|
||||||
])
|
])
|
||||||
|
@@ -12,7 +12,6 @@ posix_spawn-internal [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN =
|
|||||||
configure.ac:
|
configure.ac:
|
||||||
gl_POSIX_SPAWN
|
gl_POSIX_SPAWN
|
||||||
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawn])
|
AC_LIBOBJ([spawn])
|
||||||
gl_POSIX_SPAWN_INTERNAL
|
gl_POSIX_SPAWN_INTERNAL
|
||||||
fi
|
fi
|
||||||
|
@@ -14,7 +14,6 @@ getdtablesize [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1]
|
|||||||
configure.ac:
|
configure.ac:
|
||||||
gl_POSIX_SPAWN
|
gl_POSIX_SPAWN
|
||||||
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawn_faction_addclose])
|
AC_LIBOBJ([spawn_faction_addclose])
|
||||||
fi
|
fi
|
||||||
gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_addclose])
|
gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_addclose])
|
||||||
|
@@ -14,7 +14,6 @@ getdtablesize [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1]
|
|||||||
configure.ac:
|
configure.ac:
|
||||||
gl_POSIX_SPAWN
|
gl_POSIX_SPAWN
|
||||||
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawn_faction_adddup2])
|
AC_LIBOBJ([spawn_faction_adddup2])
|
||||||
fi
|
fi
|
||||||
gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_adddup2])
|
gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_adddup2])
|
||||||
|
@@ -14,7 +14,6 @@ getdtablesize [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1]
|
|||||||
configure.ac:
|
configure.ac:
|
||||||
gl_POSIX_SPAWN
|
gl_POSIX_SPAWN
|
||||||
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawn_faction_addopen])
|
AC_LIBOBJ([spawn_faction_addopen])
|
||||||
fi
|
fi
|
||||||
gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_addopen])
|
gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_addopen])
|
||||||
|
@@ -12,7 +12,6 @@ spawn
|
|||||||
configure.ac:
|
configure.ac:
|
||||||
gl_POSIX_SPAWN
|
gl_POSIX_SPAWN
|
||||||
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawn_faction_destroy])
|
AC_LIBOBJ([spawn_faction_destroy])
|
||||||
fi
|
fi
|
||||||
gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_destroy])
|
gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_destroy])
|
||||||
|
@@ -13,7 +13,6 @@ spawn
|
|||||||
configure.ac:
|
configure.ac:
|
||||||
gl_POSIX_SPAWN
|
gl_POSIX_SPAWN
|
||||||
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawn_faction_init])
|
AC_LIBOBJ([spawn_faction_init])
|
||||||
fi
|
fi
|
||||||
gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_init])
|
gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_init])
|
||||||
|
@@ -12,7 +12,6 @@ spawn
|
|||||||
configure.ac:
|
configure.ac:
|
||||||
gl_POSIX_SPAWN
|
gl_POSIX_SPAWN
|
||||||
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawnattr_destroy])
|
AC_LIBOBJ([spawnattr_destroy])
|
||||||
fi
|
fi
|
||||||
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_destroy])
|
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_destroy])
|
||||||
|
@@ -12,7 +12,6 @@ spawn
|
|||||||
configure.ac:
|
configure.ac:
|
||||||
gl_POSIX_SPAWN
|
gl_POSIX_SPAWN
|
||||||
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawnattr_getflags])
|
AC_LIBOBJ([spawnattr_getflags])
|
||||||
fi
|
fi
|
||||||
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_getflags])
|
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_getflags])
|
||||||
|
@@ -12,7 +12,6 @@ spawn
|
|||||||
configure.ac:
|
configure.ac:
|
||||||
gl_POSIX_SPAWN
|
gl_POSIX_SPAWN
|
||||||
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawnattr_getpgroup])
|
AC_LIBOBJ([spawnattr_getpgroup])
|
||||||
fi
|
fi
|
||||||
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_getpgroup])
|
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_getpgroup])
|
||||||
|
@@ -14,7 +14,6 @@ gl_POSIX_SPAWN
|
|||||||
if test $HAVE_POSIX_SPAWN = 0 \
|
if test $HAVE_POSIX_SPAWN = 0 \
|
||||||
|| test $REPLACE_POSIX_SPAWN = 1 \
|
|| test $REPLACE_POSIX_SPAWN = 1 \
|
||||||
|| test $gl_cv_func_spawnattr_setschedparam = no; then
|
|| test $gl_cv_func_spawnattr_setschedparam = no; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawnattr_getschedparam])
|
AC_LIBOBJ([spawnattr_getschedparam])
|
||||||
fi
|
fi
|
||||||
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_getschedparam])
|
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_getschedparam])
|
||||||
|
@@ -14,7 +14,6 @@ gl_POSIX_SPAWN
|
|||||||
if test $HAVE_POSIX_SPAWN = 0 \
|
if test $HAVE_POSIX_SPAWN = 0 \
|
||||||
|| test $REPLACE_POSIX_SPAWN = 1 \
|
|| test $REPLACE_POSIX_SPAWN = 1 \
|
||||||
|| test $gl_cv_func_spawnattr_setschedpolicy = no; then
|
|| test $gl_cv_func_spawnattr_setschedpolicy = no; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawnattr_getschedpolicy])
|
AC_LIBOBJ([spawnattr_getschedpolicy])
|
||||||
fi
|
fi
|
||||||
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_getschedpolicy])
|
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_getschedpolicy])
|
||||||
|
@@ -12,7 +12,6 @@ spawn
|
|||||||
configure.ac:
|
configure.ac:
|
||||||
gl_POSIX_SPAWN
|
gl_POSIX_SPAWN
|
||||||
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawnattr_getdefault])
|
AC_LIBOBJ([spawnattr_getdefault])
|
||||||
fi
|
fi
|
||||||
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_getsigdefault])
|
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_getsigdefault])
|
||||||
|
@@ -12,7 +12,6 @@ spawn
|
|||||||
configure.ac:
|
configure.ac:
|
||||||
gl_POSIX_SPAWN
|
gl_POSIX_SPAWN
|
||||||
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawnattr_getsigmask])
|
AC_LIBOBJ([spawnattr_getsigmask])
|
||||||
fi
|
fi
|
||||||
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_getsigmask])
|
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_getsigmask])
|
||||||
|
@@ -12,7 +12,6 @@ spawn
|
|||||||
configure.ac:
|
configure.ac:
|
||||||
gl_POSIX_SPAWN
|
gl_POSIX_SPAWN
|
||||||
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawnattr_init])
|
AC_LIBOBJ([spawnattr_init])
|
||||||
fi
|
fi
|
||||||
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_init])
|
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_init])
|
||||||
|
@@ -12,7 +12,6 @@ spawn
|
|||||||
configure.ac:
|
configure.ac:
|
||||||
gl_POSIX_SPAWN
|
gl_POSIX_SPAWN
|
||||||
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawnattr_setflags])
|
AC_LIBOBJ([spawnattr_setflags])
|
||||||
fi
|
fi
|
||||||
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setflags])
|
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setflags])
|
||||||
|
@@ -11,7 +11,6 @@ spawn
|
|||||||
configure.ac:
|
configure.ac:
|
||||||
gl_POSIX_SPAWN
|
gl_POSIX_SPAWN
|
||||||
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawnattr_setpgroup])
|
AC_LIBOBJ([spawnattr_setpgroup])
|
||||||
fi
|
fi
|
||||||
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setpgroup])
|
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setpgroup])
|
||||||
|
@@ -14,7 +14,6 @@ gl_POSIX_SPAWN
|
|||||||
if test $HAVE_POSIX_SPAWN = 0 \
|
if test $HAVE_POSIX_SPAWN = 0 \
|
||||||
|| test $REPLACE_POSIX_SPAWN = 1 \
|
|| test $REPLACE_POSIX_SPAWN = 1 \
|
||||||
|| test $gl_cv_func_spawnattr_setschedparam = no; then
|
|| test $gl_cv_func_spawnattr_setschedparam = no; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawnattr_setschedparam])
|
AC_LIBOBJ([spawnattr_setschedparam])
|
||||||
fi
|
fi
|
||||||
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setschedparam])
|
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setschedparam])
|
||||||
|
@@ -14,7 +14,6 @@ gl_POSIX_SPAWN
|
|||||||
if test $HAVE_POSIX_SPAWN = 0 \
|
if test $HAVE_POSIX_SPAWN = 0 \
|
||||||
|| test $REPLACE_POSIX_SPAWN = 1 \
|
|| test $REPLACE_POSIX_SPAWN = 1 \
|
||||||
|| test $gl_cv_func_spawnattr_setschedpolicy = no; then
|
|| test $gl_cv_func_spawnattr_setschedpolicy = no; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawnattr_setschedpolicy])
|
AC_LIBOBJ([spawnattr_setschedpolicy])
|
||||||
fi
|
fi
|
||||||
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setschedpolicy])
|
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setschedpolicy])
|
||||||
|
@@ -12,7 +12,6 @@ spawn
|
|||||||
configure.ac:
|
configure.ac:
|
||||||
gl_POSIX_SPAWN
|
gl_POSIX_SPAWN
|
||||||
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawnattr_setdefault])
|
AC_LIBOBJ([spawnattr_setdefault])
|
||||||
fi
|
fi
|
||||||
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setsigdefault])
|
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setsigdefault])
|
||||||
|
@@ -12,7 +12,6 @@ spawn
|
|||||||
configure.ac:
|
configure.ac:
|
||||||
gl_POSIX_SPAWN
|
gl_POSIX_SPAWN
|
||||||
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawnattr_setsigmask])
|
AC_LIBOBJ([spawnattr_setsigmask])
|
||||||
fi
|
fi
|
||||||
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setsigmask])
|
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setsigmask])
|
||||||
|
@@ -12,7 +12,6 @@ posix_spawn-internal [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN =
|
|||||||
configure.ac:
|
configure.ac:
|
||||||
gl_POSIX_SPAWN
|
gl_POSIX_SPAWN
|
||||||
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
|
||||||
gl_REPLACE_SPAWN_H
|
|
||||||
AC_LIBOBJ([spawnp])
|
AC_LIBOBJ([spawnp])
|
||||||
gl_POSIX_SPAWN_INTERNAL
|
gl_POSIX_SPAWN_INTERNAL
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user