Fix compilation error on AIX (regression from 2019-01-06).

* gettext-runtime/intl/Makefile.am (localename-table.h): Fix insertion of
export.h.
This commit is contained in:
Bruno Haible
2020-07-06 19:28:51 +02:00
parent b10e2db63b
commit 1783cebab5
+1 -1
View 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