]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
build: Fix error when expat is not available
authorDaiki Ueno <ueno@gnu.org>
Tue, 23 Jun 2015 09:47:20 +0000 (18:47 +0900)
committerDaiki Ueno <ueno@gnu.org>
Tue, 23 Jun 2015 09:47:20 +0000 (18:47 +0900)
* cldr-plurals.c (main): Fix unmatched braces when
!(DYNLOAD_LIBEXPAT || HAVE_LIBEXPAT).

gettext-tools/src/ChangeLog
gettext-tools/src/cldr-plurals.c

index 70215e1cefdbc873d62dd7fcba61f12aa629e9b1..9974a1c5c2b5677b66b8d3f8f3f64e5772771cf8 100644 (file)
@@ -1,3 +1,8 @@
+2015-06-23  Daiki Ueno  <ueno@gnu.org>
+
+       * cldr-plurals.c (main): Fix unmatched braces when
+       !(DYNLOAD_LIBEXPAT || HAVE_LIBEXPAT).
+
 2015-06-23  Daiki Ueno  <ueno@gnu.org>
 
        * cldr-plurals.c: Include "basename.h".
index 3bd3d542fdd0bd441a02e31d9e0cc8606af242ff..38011fc172027ed64b808ee69a9c61da8b9da4ef 100644 (file)
@@ -453,10 +453,9 @@ There is NO WARRANTY, to the extent permitted by law.\n\
           free (extracted_rules);
         }
       else
+#endif
         {
-#else
           error (1, 0, _("extraction is not supported"));
-#endif
         }
     }
   else if (argc == optind)