view modules/rpmatch @ 17724:8526f2f0b117

maint.mk: give projects more flexibilty in set_prog_name arguments * top/maint.mk (sc_program_name): Allow arguments other than argv[0] to be passed to set_program_name(). This is needed by the multicall coreutils program for example.
author Pádraig Brady <P@draigBrady.com>
date Sat, 12 Jul 2014 15:21:12 +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