1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-09-01 02:34:55 +00:00
Files
gnulib/modules/duplocale
T
Bruno Haible 694e8acc49 duplocale: Fix compilation error on Haiku (regression 2023-01-22).
* lib/locale.in.h (duplocale): If HAVE_DUPLOCALE = 0, don't declare it,
even if REPLACE_DUPLOCALE = 1.
* modules/duplocale (Depends-on, configure.ac): Don't compile a
replacement if HAVE_DUPLOCALE = 0 and REPLACE_DUPLOCALE = 1.
2023-04-05 02:36:02 +02:00

37 lines
595 B
Plaintext

Description:
duplocale() function: duplicate a locale object.
Files:
lib/duplocale.c
m4/duplocale.m4
Depends-on:
locale
setlocale-null [test $HAVE_DUPLOCALE = 1 && test $REPLACE_DUPLOCALE = 1]
configure.ac:
gl_FUNC_DUPLOCALE
gl_CONDITIONAL([GL_COND_OBJ_DUPLOCALE],
[test $HAVE_DUPLOCALE = 1 && test $REPLACE_DUPLOCALE = 1])
AM_COND_IF([GL_COND_OBJ_DUPLOCALE], [
gl_PREREQ_DUPLOCALE
])
gl_LOCALE_MODULE_INDICATOR([duplocale])
Makefile.am:
if GL_COND_OBJ_DUPLOCALE
lib_SOURCES += duplocale.c
endif
Include:
<locale.h>
Link:
$(DUPLOCALE_LIB)
License:
LGPL
Maintainer:
all