* 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.
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
_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
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