X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=lib%2Fstdlib.in.h;h=b0fb12fcbc9fbcb9d86e18c24a8a22172c916281;hp=0181dd23762a5f3b7da59995ae9e603e36b635f2;hb=ec84142901fc685d7a08267fc0be8962e468968d;hpb=ae034d236f2c977a9029c0b315eb1ce84a3eaaf6 diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index 0181dd23..b0fb12fc 100644 --- a/lib/stdlib.in.h +++ b/lib/stdlib.in.h @@ -176,6 +176,21 @@ extern int putenv (char *string); #endif +#if @GNULIB_RPMATCH@ +# if !@HAVE_RPMATCH@ +/* Test a user response to a question. + Return 1 if it is affirmative, 0 if it is negative, or -1 if not clear. */ +extern int rpmatch (const char *response); +# endif +#elif defined GNULIB_POSIXCHECK +# undef rpmatch +# define rpmatch(r) \ + (GL_LINK_WARNING ("rpmatch is unportable - " \ + "use gnulib module rpmatch for portability"), \ + rpmatch (r)) +#endif + + #if @GNULIB_SETENV@ # if !@HAVE_SETENV@ /* Set NAME to VALUE in the environment.