* m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_A): Fix
authorEric Blake <ebb9@byu.net>
Mon, 26 Mar 2007 18:25:16 +0000 (18:25 +0000)
committerEric Blake <ebb9@byu.net>
Mon, 26 Mar 2007 18:25:16 +0000 (18:25 +0000)
regression in logic sense of previous patch.

m4/vasnprintf.m4

index 7cd7589..d482211 100644 (file)
@@ -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