view modules/rpmatch @ 40160:5c7e0484c1e9

tmpfile: Add support for Android. * m4/tmpfile.m4 (gl_FUNC_TMPFILE): Add a runtime test whether tmpfile() works. * lib/tmpfile.c (tmpfile): Add an alternative implementation for Android. * modules/tmpfile (Depends-on): Add 'stdbool'. * doc/posix-functions/tmpfile.texi: Mention the Android bug. * modules/argv-iter-tests (Depends-on): Add 'tmpfile'.
author Bruno Haible <bruno@clisp.org>
date Sun, 27 Jan 2019 22:03:14 +0100
parents 0a705be282ae
children
line wrap: on
line source

Description:
Locale dependent classification of a response as matching "yes" or "no".

Files:
lib/rpmatch.c
m4/rpmatch.m4

Depends-on:
stdlib
extensions
stdbool         [test $HAVE_RPMATCH = 0]
gettext-h       [test $HAVE_RPMATCH = 0]
regex           [test $HAVE_RPMATCH = 0]
strdup          [test $HAVE_RPMATCH = 0]

configure.ac:
gl_FUNC_RPMATCH
if test $HAVE_RPMATCH = 0; then
  AC_LIBOBJ([rpmatch])
  gl_PREREQ_RPMATCH
fi
gl_STDLIB_MODULE_INDICATOR([rpmatch])

Makefile.am:

Include:
<stdlib.h>

Link:
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise

License:
GPL

Maintainer:
Jim Meyering