mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-09-01 11:16:02 +00:00
Avoid false ioctl_used_without_requesting_gnulib_module_ioctl.
* modules/ioctl (configure.ac): Invoke gl_MODULE_INDICATOR. * lib/sys_ioctl.in.h (ioctl): Don't define to ioctl_used_without_requesting_gnulib_module_ioctl if the gnulib module 'ioctl' is in use under the same configure.ac.
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
2024-07-24 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Avoid false ioctl_used_without_requesting_gnulib_module_ioctl.
|
||||
* modules/ioctl (configure.ac): Invoke gl_MODULE_INDICATOR.
|
||||
* lib/sys_ioctl.in.h (ioctl): Don't define to
|
||||
ioctl_used_without_requesting_gnulib_module_ioctl if the gnulib module
|
||||
'ioctl' is in use under the same configure.ac.
|
||||
|
||||
Avoid false localeconv_used_without_requesting_gnulib_module_localeconv.
|
||||
* modules/localeconv (configure.ac): Invoke gl_MODULE_INDICATOR.
|
||||
* lib/locale.in.h (localeconv): Don't define to
|
||||
|
||||
+4
-2
@@ -71,8 +71,10 @@ _GL_CXXALIAS_SYS (ioctl, int,
|
||||
_GL_CXXALIASWARN (ioctl);
|
||||
# endif
|
||||
#elif @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
|
||||
# undef ioctl
|
||||
# define ioctl ioctl_used_without_requesting_gnulib_module_ioctl
|
||||
# if !GNULIB_IOCTL
|
||||
# undef ioctl
|
||||
# define ioctl ioctl_used_without_requesting_gnulib_module_ioctl
|
||||
# endif
|
||||
#elif defined GNULIB_POSIXCHECK
|
||||
# undef ioctl
|
||||
# if HAVE_RAW_DECL_IOCTL
|
||||
|
||||
@@ -18,6 +18,7 @@ gl_FUNC_IOCTL
|
||||
gl_CONDITIONAL([GL_COND_OBJ_IOCTL],
|
||||
[test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1])
|
||||
gl_SYS_IOCTL_MODULE_INDICATOR([ioctl])
|
||||
gl_MODULE_INDICATOR([ioctl])
|
||||
|
||||
Makefile.am:
|
||||
if GL_COND_OBJ_IOCTL
|
||||
|
||||
Reference in New Issue
Block a user