]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix compilation error on AIX (regression from 2019-01-06).
authorBruno Haible <bruno@clisp.org>
Mon, 6 Jul 2020 17:28:51 +0000 (19:28 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 6 Jul 2020 17:28:51 +0000 (19:28 +0200)
* gettext-runtime/intl/Makefile.am (localename-table.h): Fix insertion of
export.h.

gettext-runtime/intl/Makefile.am

index a327d360f57d3ae10bba313991e925fe0116f51e..94bc7b79a594adde81415617bfca65bada79c2ab 100644 (file)
@@ -302,7 +302,7 @@ MOSTLYCLEANFILES += libintl.h
 localename-table.h: $(srcdir)/localename-table.in.h $(srcdir)/export.h
        sed -e 's/extern \([^"]\)/extern LIBINTL_DLL_EXPORTED \1/' \
            -e 's/extern,/extern LIBINTL_DLL_EXPORTED,/' \
-           -e "/#if HAVE_USELOCALE/r $(srcdir)/export.h" \
+           -e "/#if HAVE_WORKING_USELOCALE/r $(srcdir)/export.h" \
          < $(srcdir)/localename-table.in.h \
        | sed -e 's,@''HAVE_VISIBILITY''@,@HAVE_VISIBILITY@,g' \
          > localename-table.h