From caac5eb10996b49043169376766dfbcb746638da Mon Sep 17 00:00:00 2001
From: Eric Blake <ebb9@byu.net>
Date: Mon, 26 Mar 2007 18:25:16 +0000
Subject: [PATCH] * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_A): Fix
 regression in logic sense of previous patch.

---
 m4/vasnprintf.m4 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/m4/vasnprintf.m4 b/m4/vasnprintf.m4
index 7cd758943a..d4822117e6 100644
--- a/m4/vasnprintf.m4
+++ b/m4/vasnprintf.m4
@@ -68,9 +68,11 @@ AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_A],
   AC_REQUIRE([gl_PRINTF_DIRECTIVE_A])
   case "$gl_cv_func_printf_directive_a" in
     *yes)
+      ;;
+    *)
       AC_DEFINE([NEED_PRINTF_DIRECTIVE_A], 1,
-        [Define if the vasnprintf implementation needs special code for
-         the 'a' and 'A' directives.])
+	[Define if the vasnprintf implementation needs special code for
+	 the 'a' and 'A' directives.])
       AC_CHECK_FUNCS([nl_langinfo])
       ;;
   esac
-- 
2.39.5