* modules/localeconv (configure.ac): Invoke gl_MODULE_INDICATOR.
* lib/locale.in.h (localeconv): Don't define to
localeconv_used_without_requesting_gnulib_module_localeconv if the
gnulib module 'localeconv' is in use under the same configure.ac.
2024-07-24 Bruno Haible <bruno@clisp.org>
+ 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
+ localeconv_used_without_requesting_gnulib_module_localeconv if the
+ gnulib module 'localeconv' is in use under the same configure.ac.
+
Avoid false gethostname_used_without_requesting_gnulib_module_gethostname.
* modules/gethostname (configure.ac): Invoke gl_MODULE_INDICATOR.
* lib/unistd.in.h (gethostname): Don't define to
_GL_CXXALIASWARN (localeconv);
# endif
#elif @REPLACE_STRUCT_LCONV@
-# undef localeconv
-# define localeconv localeconv_used_without_requesting_gnulib_module_localeconv
+# if !GNULIB_LOCALECONV
+# undef localeconv
+# define localeconv localeconv_used_without_requesting_gnulib_module_localeconv
+# endif
#elif defined GNULIB_POSIXCHECK
# undef localeconv
# if HAVE_RAW_DECL_LOCALECONV
gl_PREREQ_LOCALECONV
])
gl_LOCALE_MODULE_INDICATOR([localeconv])
+gl_MODULE_INDICATOR([localeconv])
Makefile.am:
if GL_COND_OBJ_LOCALECONV