Commit ca5ebe4b5724fb57a34c7002467ce931cbf96b45

Bruno Haible 2025-07-29T22:31:13

nstrftime: Handle non-Gregorian calendars the same way on all platforms. Suggested by Collin Funk. * modules/nstrftime-limited: New file, based on modules/nstrftime. * modules/nstrftime (Depends-on): Add nstrftime-limited. Add localename-unsafe. Remove localename-unsafe-limited. (configure.ac): Invoke gl_MODULE_INDICATOR. (Makefile.am): Don't add nstrftime.c to lib_SOURCES; this would conflict with modules/nstrftime-limited. (Link): Add $(LIBTHREAD). * lib/strftime.c (SUPPORT_NON_GREG_CALENDARS_IN_STRFTIME): Don't force to false if GNULIB_NSTRFTIME is defined. * modules/nstrftime-tests (Makefile.am): Link test-nstrftime, test-nstrftime-?? with $(LIBTHREAD).