New module 'uninorm/u32-normxfrm'.
[gnulib.git] / modules / iconv_open
index cc1d8ba..014697e 100644 (file)
@@ -12,6 +12,7 @@ m4/iconv_h.m4
 m4/iconv_open.m4
 
 Depends-on:
+gperf
 include_next
 iconv
 c-ctype
@@ -29,7 +30,8 @@ BUILT_SOURCES += $(ICONV_H)
 iconv.h: iconv.in.h
        rm -f $@-t $@
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
-         sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
+         sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
+             -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
              -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
              -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
              -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
@@ -40,7 +42,6 @@ iconv.h: iconv.in.h
        mv $@-t $@
 MOSTLYCLEANFILES += iconv.h iconv.h-t
 
-GPERF = gperf
 iconv_open-aix.h: iconv_open-aix.gperf
        $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $@-t
        mv $@-t $@
@@ -61,6 +62,9 @@ EXTRA_DIST           += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h ico
 Include:
 <iconv.h>
 
+Link:
+$(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise
+
 License:
 LGPLv2+