]> sjero.net Git - wget/blobdiff - lib/stdlib.in.h
Merge getpass with quote, plus my NEWS entry.
[wget] / lib / stdlib.in.h
index 0181dd23762a5f3b7da59995ae9e603e36b635f2..b0fb12fcbc9fbcb9d86e18c24a8a22172c916281 100644 (file)
@@ -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.